selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Polis logo

Self-host Polis

v2.44.0

AI-backed group polling for large-scale opinion mapping

ReleaseOpen SourceAGPL-3.0
Updated11 hours ago
LanguagePython
Setup difficultyAdvanced
Stars
1 228
Ports
80 (nginx reverse proxy (HTTP_PORT)), 443 (nginx reverse proxy (HTTPS_PORT)), 5000 (API server, internal / behind proxy), 8080 (static file server for the web clients), 4321 (client-participation-alpha web client)
Requires
PostgreSQL
Install with Docker Compose

What is Polis?

Polis alternatives

Should you self-host Polis?

Polis scores 55/100 on selfhost.directory (how scoring works) and ranks #1 of 2 in Surveys. It has 1 228 GitHub stars, +7 in the last 30 days.

It shipped 12 stable releases in the past year. The latest, v2.44.0, came out on 16 November 2026. New versions land roughly every 1 days.

Setup is advanced: plan for several services and some ongoing maintenance. It is AGPL-3.0-licensed and written mostly in Python.

Its closest alternative on selfhost.directory is Digistorm (54/100). Polis scores higher overall. See Polis vs Digistorm side by side.

Features

  • Admin Interface
  • AI-generated topic names
  • AI narrative reports
  • Automated opinion clustering
  • Automatic comment translationOptional; needs Google Cloud Translation credentials
  • Comment Moderation
  • Comment routing and prioritization
  • Consensus statement detection
  • Data Export
  • Embeddable conversations
  • Operations dashboardOff by default
  • Real-time opinion visualization
  • Real-time shareable report
  • Spam FilteringOptional; requires an Akismet API key
  • Statement-based group polling

Polis README

How to install Polis

Install Polis with Docker Compose

a recent docker (and Docker Desktop if you are on Mac or Windows)
cp example.env .env
docker compose --profile postgres --profile local-services up --build

Or, after generating JWT keys and local SSL certificates:

make generate-jwt-keys
cp example.env .env
make start

mkcert local certificates and JWT keys are one-time setup steps before starting; `make PROD start` runs the stack without the dev overlay for production.

How to configure Polis

  • ADMIN_UIDSGENERAL SETTINGS ######
  • GIT_HASHOptionally set this manually or use `git rev-parse HEAD`. It can be useful for debugging.
  • MATH_ENVdevOptions: prod, preprod, dev, python. The label the readers (server, delphi) serve. Production serves `python`; `prod` holds the retired Clojure engine's rows. The dev overlay's math-python writes this label unless MATH_PYTHON_ENV is set.
  • SERVER_ENV_FILE.envOptionally give the server container a distinct env_file. Useful for CI tests.
  • SERVER_LOG_LEVELUsed by winston via server/utils/logger. Defaults to "warn".

Polis releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

How much is automatic? How much is required of people?

Once a prompt and some seed comments are set, a conversation can run fully automatically.

Are comments sent out randomly?

No — comments are routed semi-randomly, prioritising more divisive statements because they help form opinion groups.

Does Polis work in multiple languages?

Yes — the participation interface has been translated into several languages.

Does Polis scale? To what degree?

Yes; the largest conversation run so far had over 33,000 participants producing nearly 2,000,000 votes on about 1,000 comments.

Is the interface complicated for participants?

No — participants can only submit a comment or vote on comments submitted by others.

Does Polis visualize the debate as it's ongoing? Is this just for the conversation owner or for all participants?

Yes; the report updates in real time and is available to the conversation owner through the admin interface, using long-link privacy so it can be shared.

Does Polis use natural language processing (NLP)?

No — the machine-learning algorithms run only on the opinion matrix built from votes, not on the comment text.

Can I deploy my own instance of Polis? How easy is it to do that?

People have done it, but the project says it is still not easy and needs senior engineers comfortable with cloud systems.

Is Polis open source?

Yes — the repository holds the platform, and the data-science analysis notebooks are open source too.

Can I embed Polis on my site?

Yes, embedding it on your own site is the preferred way to build trust with participants.

What is Polis not?

Not a tool for picking the best idea or comparing ideas head to head, not for demographic questions, and not meant for groups smaller than roughly 50 to 100 people.

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…