You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 31, 2025. It is now read-only.
reintegrate diffDOM.js as sauron replacement because of <pre> issue with rphtml and html5ever
pankat in rust rewrite
create index.html (most recent page)
timeline support
command line toggle for
basic command line interface concept
site brand
static blog generator command line option: --build-only
article logic
integrate websocket life-updates using sauron dom/vdom updates
a global flat switch to output input/libnix/libnix_roadmap.mdwn to either output/libnix/libnix_roadmap.html or output/libnix_roadmap.html
rewrite ArticleWithTags so id is not optional (same as Article) and use NewArticle/NewArticleWithTags for creating new entries
GC check after traverse_and_collect_articles to remove old articles from db
cache table
write cache into db
render optimization: implement checks (hash on the html string after plugin run has finished) so we can use the previous render and don't have to redo it on each article change
refactor handlers::serve_assets / handlers::serve_wasm / handlers::serve_posts / ... into one function
create output folder if no existing (or at least fail, that it is not there)
fs-change updates are sent via ws but the file it actually not written (probably should also update timeline & misc)
remove dst_file_name.html on mdwn delete in articles/mod.rs:149: EventKind::Remove(_)
add /blog subdirectory support
articles with 'foo bar.mdwn' are referenced wrongly (URL encoding bad?) in the 'article source' link. seems to be the router which gets a correct path but then can't decode it and goes into serve_output instead of serve_input
check fs delete, fs new as well by adding new.mdwn and deleting it
removing [[!draft]] does not:
add the article to the timeline (needs manual reload)
create the dst_file_name
nav claims next article where there is none in 'lastlog.de' example for libnix.html article
removing [[!series libnix]] won't update the nav to have no series
it builds on top of https://github.com/spebern/operational-transform-rs which means FS writes from normal editors don't work anymore (maybe i can write a FS-watcher which creates a bunch of transformations so that it wraps an override of a file into a 'huge' update of the document state)
development continues here:
nixcloud/pankat-rs#2
motivation
i consider a rust rewrite because:
technical specification
The source code:
https://github.com/nixcloud/pankat-replit
requirements
this is mainly a rewrite of
i want to use these components for
for now this rust rewrite mainly focuses on the lastlog.de/blog module
ux
pankat main mission is a static page generator but with highly interactive elements:
backend
pandocfrom shell<pre>issue withrphtmlandhtml5evercreate index.html (most recent page)
timeline support
command line toggle for
--build-onlyarticle logic
affected neighbours in next/prev article, next/prev series and most_recent_articletags$input(ATM they are$input/dir/file.mdwn)seriesquerieshttps://github.com/notify-rs/notify/tree/main/examples prototype integration
rendering
README.md documentation
bugs
[[!draft]]does not:[[!series libnix]]won't update the nav to have no seriesnew stuff
content hashing
frontend
textarea editor
rustpad
https://rustpad.io (uses https://github.com/microsoft/monaco-editor/)
it builds on top of https://github.com/spebern/operational-transform-rs which means FS writes from normal editors don't work anymore (maybe i can write a FS-watcher which creates a bunch of transformations so that it wraps an override of a file into a 'huge' update of the document state)
see also:
https://github.com/siku2/rust-monaco
leptos rewrite
related issues
future
[[!imag ...]][[!link foo/bar/example.mdwn]]plugin which checks existence and draft status