Skip to content

Decentralized social networking where your domain is your identity. Publish signed posts, follow authors across the web, own your entire social graph—cryptographically signed, fully portable, no lock-in.

License

Notifications You must be signed in to change notification settings

vdibart/polis-cli

Polis CLI

License: AGPL-3.0 Platform: Linux | macOS

A decentralized social network for the open web.

Your posts live on your domain. Your followers are yours. Your content persist even if the network disappears. No oversight, no lock-in, no algorithm.


The idea

Social networks captured something valuable—the connections between people—then held it hostage. Polis gives that back.

With Polis, your content publishes to your server. You decide which comments to amplify or hide, but the comment is hosted on the commenter's server. No algorithms, no oversight, no spam - just self-moderating conversation.

Built on standards you already trust: HTTPS for delivery, Ed25519 for signatures. Your content is markdown files. Your identity is a keypair. Move hosts anytime—everything comes with you.


See it

$ polis init
[✓] Generated Ed25519 keypair
[✓] Created .well-known/polis
[✓] Ready to publish

$ polis post essay.md
[i] Content hash: sha256:a3b5c7d9...
[i] Signing with Ed25519 key...
[✓] Published: posts/2026/01/essay.md

$ polis follow https://alice.dev
[✓] Following alice.dev
[i] 12 posts, 3 with comments

Works with GitHub Pages, Vercel, Netlify, or any static host.


Quick start

Prerequisites

# macOS
brew install openssh jq curl pandoc git

# Ubuntu/Debian
sudo apt-get install openssh-client jq curl pandoc git

Install

git clone https://github.com/vdibart/polis-cli.git
export PATH="$PATH:$(pwd)/polis-cli/bin"

Initialize and publish

mkdir my-site && cd my-site
polis init
export POLIS_BASE_URL="https://yourdomain.com"

echo "# Hello World" > hello.md
polis post hello.md

Deploy

polis render                    # Generate HTML
git init && git add . && git commit -m "First post"
git push                        # To GitHub Pages, Netlify, etc.

Going deeper

Interactive modepolis-tui provides a menu-driven dashboard with keyboard navigation, git integration, and your $EDITOR for writing posts.

Scripting — All commands support --json for machine-readable output. Pipe content directly, automate blessing workflows, integrate with other tools.

Tutorial — New to Polis? Run polis-tutorial for an interactive walkthrough with simulated commands.

AI integration — Polis includes a Claude Code skill for natural language workflows: "publish my draft", "check my blessing requests", "comment on Alice's post".


Documentation


Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

Support

Questions or issues? Open a GitHub issue

License

AGPL-3.0 — See LICENSE


Polis: Your content, your network, your rules.

About

Decentralized social networking where your domain is your identity. Publish signed posts, follow authors across the web, own your entire social graph—cryptographically signed, fully portable, no lock-in.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published