2019-02-14 17:36:53 +00:00
|
|
|
# Rust Reddit Fediverse (to be renamed later)
|
|
|
|
|
|
|
|
We have a twitter alternative (mastodon), a facebook alternative (friendica), so let's build a reddit alternative in the fediverse.
|
|
|
|
|
2019-02-28 06:02:55 +00:00
|
|
|
[Matrix Chat: #rust-reddit-fediverse:matrix.org](https://riot.im/app/#/room/#rust-reddit-fediverse:matrix.org)
|
2019-02-15 01:42:04 +00:00
|
|
|
|
2019-02-28 06:02:55 +00:00
|
|
|
[ActivityPub API.md](API.md)
|
2019-02-15 18:27:37 +00:00
|
|
|
|
2019-02-14 17:36:53 +00:00
|
|
|
|
2019-02-28 06:02:55 +00:00
|
|
|
## Goals
|
2019-02-14 17:36:53 +00:00
|
|
|
- Come up with a name / codename.
|
|
|
|
- Must have communities.
|
|
|
|
- Must have threaded comments.
|
2019-02-15 18:27:37 +00:00
|
|
|
- Must be federated: liking and following communities across instances.
|
2019-03-04 16:39:07 +00:00
|
|
|
- Be live-updating: have a right pane for new comments, and a main pain for the full threaded view.
|
|
|
|
- Use websockets for post / gets to your own instance.
|
2019-02-15 18:27:37 +00:00
|
|
|
|
|
|
|
## Questions
|
2019-02-14 17:36:53 +00:00
|
|
|
- How does voting work? Should we go back to the old way of showing up and downvote counts? Or just a score?
|
2019-02-15 18:27:37 +00:00
|
|
|
- Decide on tech to be used
|
|
|
|
- Backend: Actix, Diesel.
|
|
|
|
- Frontend: inferno, typescript and bootstrap for now.
|
2019-02-14 17:36:53 +00:00
|
|
|
- Should it allow bots?
|
2019-02-15 18:27:37 +00:00
|
|
|
- Should the comments / votes be static, or feel like a chat, like [flowchat?](https://flow-chat.com).
|
2019-02-25 20:46:07 +00:00
|
|
|
|
|
|
|
## Resources / Potential Libraries
|
|
|
|
- Use the [activitypub crate.](https://docs.rs/activitypub/0.1.4/activitypub/)
|
|
|
|
- https://docs.rs/activitypub/0.1.4/activitypub/
|
|
|
|
- [Activitypub vocab.](https://www.w3.org/TR/activitystreams-vocabulary/)
|
2019-03-04 16:39:07 +00:00
|
|
|
- [Activitypub main](https://www.w3.org/TR/activitypub/)
|
2019-02-28 06:02:55 +00:00
|
|
|
- [Diesel to Postgres data types](https://kotiri.com/2018/01/31/postgresql-diesel-rust-types.html)
|
|
|
|
- [helpful diesel examples](http://siciarz.net/24-days-rust-diesel/)
|
2019-03-04 16:39:07 +00:00
|
|
|
- [Mastodan public key server example](https://blog.joinmastodon.org/2018/06/how-to-implement-a-basic-activitypub-server/)
|