Go to file
Alex Gleason f7c39912c2 Merge branch 'refactor-active-import-map' into 'main'
refactor: resolve import specifier via the active import map

See merge request soapbox-pub/ditto!130
2024-04-03 22:47:49 +00:00
.vscode deno.json: exclude public directory to prevent LSP from crashing 2024-01-07 14:40:30 -06:00
data Improve TrendsDB, add loopback script, almost ready to do something? 2023-07-25 15:30:58 -05:00
docs Remove username from user events 2024-03-27 18:11:07 -05:00
fixtures/events Add Event<30361> fixture 2023-12-30 10:29:05 -06:00
installation Serve static files from nginx 2023-10-11 21:33:13 -05:00
public Serve a frontend through Ditto 2023-09-11 00:19:56 -05:00
scripts refactor/docs: include nsec script in README and generate nsec directly 2024-03-30 18:09:37 -03:00
src refactor: resolve import specifier via the active import map 2024-04-03 19:39:06 -03:00
static/images Use default avatar and banner from repo, instead of linking out to image 2023-09-11 15:36:09 -05:00
.gitignore gitignore .cpuprofile files 2023-12-27 17:36:17 -06:00
.gitlab-ci.yml Bump Deno to v1.41.3 2024-03-17 15:41:10 -05:00
.tool-versions Bump Deno to v1.41.3 2024-03-17 15:41:10 -05:00
LICENSE Add AGPL license 2023-04-02 14:11:07 -05:00
README.md refactor/docs: include nsec script in README and generate nsec directly 2024-03-30 18:09:37 -03:00
deno.json refactor: nsec script 2024-03-30 17:25:41 -03:00
ditto-planet.png Revert "Add Ditto banner to readme" 2023-07-12 19:44:41 -05:00

README.md

Ditto

Ditto is a tiny but powerful social media server for the decentralized web. With Ditto you will be able to interact across protocols and networks, and build your own social media experience.

⚠️ This software is a work in progress.

Supported protocols

  • Nostr
  • ActivityPub

Features

  • Follow users across networks
  • Post to multiple networks at once
  • Log in with any Mastodon app
  • Like and comment on posts
  • Share posts
  • Reposts
  • Notifications
  • Profiles
  • Search
  • Moderation
  • Customizable
  • Open source
  • Self-hosted
  • Decentralized
  • No ads
  • No tracking
  • No censorship

Federation

Ditto is primarily a Nostr client, using a Nostr relay as its database. ActivityPub objects are translated into Nostr events in realtime and cached by the Ditto server. When you submit a post, it sends it to your Nostr relay and then fans it out to the ActivityPub network.

The main way to use Ditto is with a Mastodon app. Or you can connect directly to the Nostr relay with a Nostr client.

Installation

TODO

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/.