]> Untitled Git - lemmy.git/blob - docs/src/about/goals.md
Merge branch 'main' into move_views_to_diesel
[lemmy.git] / docs / src / about / goals.md
1 # Goals
2
3 - Come up with a name / codename.
4 - Must have communities.
5 - Must have threaded comments.
6 - Must be federated: liking and following communities across instances.
7 - Be live-updating: have a right pane for new comments, and a main pain for the full threaded view.
8   - Use websockets for post / gets to your own instance.
9
10 # Questions
11
12 - How does voting work? Should we go back to the old way of showing up and downvote counts? Or just a score?
13 - Decide on tech to be used
14   - Backend: Actix, Diesel.
15   - Frontend: inferno, typescript and bootstrap for now.
16 - Should it allow bots?
17 - Should the comments / votes be static, or feel like a chat, like [flowchat?](https://flow-chat.com).
18   - Two pane model - Right pane is live comments, left pane is live tree view.
19   - On mobile, allow you to switch between them. Default?
20
21 # Resources / Potential Libraries
22
23 - [Diesel to Postgres data types](https://kotiri.com/2018/01/31/postgresql-diesel-rust-types.html)
24 - [helpful diesel examples](http://siciarz.net/24-days-rust-diesel/)
25 - [Recursive query for adjacency list for nested comments](https://stackoverflow.com/questions/192220/what-is-the-most-efficient-elegant-way-to-parse-a-flat-table-into-a-tree/192462#192462)
26 - https://github.com/sparksuite/simplemde-markdown-editor
27 - [Markdown-it](https://github.com/markdown-it/markdown-it)
28 - [Sticky Sidebar](https://stackoverflow.com/questions/38382043/how-to-use-css-position-sticky-to-keep-a-sidebar-visible-with-bootstrap-4/49111934)
29 - [RXJS websocket](https://stackoverflow.com/questions/44060315/reconnecting-a-websocket-in-angular-and-rxjs/44067972#44067972)
30 - [Rust JWT](https://github.com/Keats/jsonwebtoken)
31 - [Hierarchical tree building javascript](https://stackoverflow.com/a/40732240/1655478)
32 - [Hot sorting discussion](https://meta.stackexchange.com/questions/11602/what-formula-should-be-used-to-determine-hot-questions) [2](https://medium.com/hacking-and-gonzo/how-reddit-ranking-algorithms-work-ef111e33d0d9)
33 - [Classification types.](https://www.reddit.com/r/ModeratorDuck/wiki/subreddit_classification)
34 - [RES expando - Possibly make this into a switching react component.](https://github.com/honestbleeps/Reddit-Enhancement-Suite/tree/d21f55c21e734f47d8ed03fe0ebce5b16653b0bd/lib/modules/hosts)
35 - [Temp Icon](https://www.flaticon.com/free-icon/mouse_194242)
36 - [Rust docker build](https://shaneutt.com/blog/rust-fast-small-docker-image-builds/)
37 - [Zurb mentions](https://github.com/zurb/tribute)
38 - [TippyJS](https://github.com/atomiks/tippyjs)
39 - [SQL function indexes](https://sorentwo.com/2013/12/30/let-postgres-do-the-work.html)