fedidag
Fedidag is an experimental DAG-based discussion platform/client.
It currently supports showing DiscDAG discussions and Mastodon threads.
DiscDAG discussions are available from the main menu.
Mastodon threads can be viewed using ?note=<ROOT_POST_URL>
, e.g.
https://dag.s-ol.nu/?note=https://merveilles.town/@s_ol/105627940746565529
Running locally (development)
Both the client and proxy server are necessary for either Mastodon or DiscDAG connectivity. The client can be started like this:
$ cd client
$ yarn start # build, watch, and serve the client code
# (the client dev-server will listen at http://localhost:8080)
And the server like this:
$ cd server
$ yarn start
# (the server will listen at http://localhost:3000)
Running (production)
Build the client:
$ cd client
$ yarn build
Build the server:
$ cd server
$ yarn build
Copy the client code and run the server:
$ cd server
$ cp ../client/dist/* static/
$ export NODE_ENV=production
$ export PUBLIC_URL=http://localhost:3000 # change
$ export PORT=3000 # change
$ node main.js
Running using docker
$ docker build -t fedidag .
$ docker run --rm -e PUBLIC_URL=http://localhost:3000 -e NODE_ENV=production -p 3000:3000 fedidag
Commit History
@main
git clone https://git.s-ol.nu/fedidag.git
- client: replying s-ol 1 year, 7 months ago
- server: ActivityStreams reply/link/unlink API s-ol 1 year, 7 months ago
- server: support replying s-ol 1 year, 8 months ago
- move DiscDAG discussion ids into /discdag/disc/:id s-ol 1 year, 8 months ago
- login/logout s-ol 1 year, 8 months ago
- small fixes s-ol 1 year, 8 months ago
- move/update README s-ol 1 year, 8 months ago
- (re)Dockerize! s-ol 1 year, 8 months ago
- Merge server and client repositories s-ol 1 year, 8 months ago
- move everything into server/ s-ol 1 year, 8 months ago
- move everything into client/ s-ol 1 year, 8 months ago
- Menu, DiscDAG loading s-ol 1 year, 8 months ago
- use @container:@id in defualt graph s-ol 1 year, 8 months ago
- better auth, list s-ol 1 year, 8 months ago
- initial commit - read-only DiscDag integration s-ol 1 year, 8 months ago
- add instructions and commands for local CORS proxy s-ol 1 year, 8 months ago
- handle errors while loading more gracefully s-ol 1 year, 8 months ago
- collapse using ellipsis, hide media s-ol 2 years ago
- use canonical URL for graph root s-ol 2 years ago
- basic media attachments s-ol 2 years ago
- fix title display s-ol 2 years ago
- selection bar, permalinks, avatar links s-ol 2 years ago
- remove JS proxy s-ol 2 years ago
- include CORS proxy nginx config s-ol 2 years ago
- Mastodon semi-compatibility s-ol 2 years ago
- factor out Discussion component s-ol 2 years ago
- reimplement collapsing s-ol 2 years ago
- clean up UI code s-ol 2 years ago
- links leave shadow s-ol 2 years ago
- react-ify s-ol 2 years ago