Go to file
Alex Gleason 04018015c5
stats: fix race conditions (on Postgres)
2024-05-24 20:11:22 -05:00
.hooks Add lint-staged 2024-05-07 13:45:42 -05:00
.vscode deno.json: exclude public directory to prevent LSP from crashing 2024-01-07 14:40:30 -06:00
data Remove useless policy dir 2024-05-15 20:35:35 -05:00
docs docs/events: clean up User event kind 2024-05-14 14:12:43 -05:00
fixtures Fix imeta stripping so it doesn't remove a bunch of newlines 2024-05-21 14:05:48 -05:00
installation Port 8000 -> 4036 in all the places 2024-05-16 08:08:36 -05:00
public Serve a frontend through Ditto 2023-09-11 00:19:56 -05:00
scripts Nuke the old stats module, support emoji reactions on posts 2024-05-24 17:40:51 -05:00
src stats: fix race conditions (on Postgres) 2024-05-24 20:11:22 -05:00
static Add a default favicon.ico 2024-05-15 16:30:03 -05:00
.dockerignore Add a basic Dockerfile 2024-05-15 18:38:51 -05:00
.gitignore Remove accidentally checked in file 2024-05-14 13:09:16 -05:00
.gitlab-ci.yml Downgrade Deno to v1.43.3 due to TypeScript issues 2024-05-17 16:59:45 -05:00
.lintstagedrc Add lint-staged 2024-05-07 13:45:42 -05:00
.tool-versions Downgrade Deno to v1.43.3 due to TypeScript issues 2024-05-17 16:59:45 -05:00
Dockerfile Remove useless policy dir 2024-05-15 20:35:35 -05:00
LICENSE Add AGPL license 2023-04-02 14:11:07 -05:00
README.md docs: mark moderation and notifications as done 2024-05-15 13:06:07 -03:00
deno.json Upgrade nostrify to v0.22.4, zod to v3.23.8 2024-05-24 12:45:26 -05:00
ditto-planet.png Revert "Add Ditto banner to readme" 2023-07-12 19:44:41 -05:00

README.md

Ditto

Ditto is a Nostr server for building resilient communities online. With Ditto, you can create your own social network that is decentralized, customizable, and free from ads and tracking.

For more info see: https://docs.soapbox.pub/ditto/

⚠️ This software is a work in progress.

Features

  • Built-in Nostr relay
  • Log in with any Mastodon app
  • Like and comment on posts
  • Share posts
  • Reposts
  • Notifications
  • Profiles
  • Search
  • Moderation
  • Zaps
  • Customizable
  • Open source
  • Self-hosted
  • Decentralized
  • No ads
  • No tracking
  • No censorship

Development

  1. Install Deno.
  2. Clone this repo.
  3. Download Soapbox or another web-based Mastodon client of your choice.
  4. Put the frontend files inside the public directory.
  5. Create an .env file.
  6. Define DITTO_NSEC=<value> in your .env file. You can generate an nsec by running deno task nsec.
  7. Run deno task dev.

License

© Alex Gleason & other Ditto contributors

Ditto is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Ditto is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with Ditto. If not, see https://www.gnu.org/licenses/.