Expand description
§freedit
The safest and lightest forum, powered by rust.
Demo: https://freedit.eu/
GitHub: https://github.com/freedit-org/freedit
§Features
- Easy to deploy: one binary to run, using embedded database sled
- No javascript at all, for safety maximization. (Why javascript is evil)
- e2ee private message
- LaTex and Code highlighting support without JavaScript
- Markdown support
- inn: Subgroup like Subreddits
- solo: Personal space like Twitter
- Online rss reader
§Usage
§From binary
- Download freedit binary from releases
- unzip freedit.zip
- run
./freedit
, open browser toaddr
, http://127.0.0.1:3001/
§From source code
Prerequisition: install Rust
git clone https://github.com/freedit-org/freedit
cd freedit && cargo build -r
./target/release/freedit
§Documentation
-
online doc: https://freedit-org.github.io/freedit/freedit/index.html
-
generate local documentation:
cargo doc --no-deps --open
§Development
git clone https://github.com/freedit-org/freedit
cd freedit && cargo run
§Credits
- icon: https://iconoir.com/
- CSS framework: https://bulma.io/
- Rust crates: Cargo.toml
Modules§
Structs§
Enums§
Constants§
Statics§
- Returns SHA256 of the current running executable. Cookbook: Calculate the SHA-256 digest of a file
Functions§
- Cron job: Scan all the keys in the
Tree
regularly and remove the expired ones. - get one object that has been encoded by bincode
- convert [IVec] to u32
- convert
&[u8]
tou32