insight
is a web server allowing you to edit markdown articles and host the rendered result publicly.
Articles can be anonymous or "protected" (meaning an email address is associated to the article).
CSS media queries are used to automatically select the UI theme (light/dark), but there is also a theme switch on each page.
text
$ cargo install insight
text
$ mkdir posts mail
If you cloned the repo, they're already here.
text
$ insight -l 0.0.0.0:9090
This will accept requests from all IP addresses
HTML tags are currently stripped from posts at render-time to prevent cross-site scripting vulnerabilities.
We rely on the pulldown_cmark
crate to detect these tags.
If you manage to get any JS code to execute in the post viewer via markdown, please file an issue because it shouldn't happen.