Static site generator based on Rhai #1032
mcharytoniuk
started this conversation in
Show and tell
Replies: 2 comments 4 replies
-
Is there a reason for both |
Beta Was this translation helpful? Give feedback.
3 replies
-
Also, one observation is that it is not at all simple to differentiate Rhai scripts vs embedded HTML content... Usually that's done inside the editor, but perhaps you can consider special markings or separators that can clearly separate blocks of embedded content? Just a thought.
Wild ideas, that's all. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am building a static site generator with syntax based on Rhai.
I plan to add some additional features to it for content analysis (things like linting-like suggestions, marking content as a single source of truth, and link reshaping).
I chose Rhai because I needed full control over the abstract syntax tree to achieve RAG and NLP stuff easier later. I ended up with a custom syntax, rewriting JSX into Rust and replacing JavaScript with Rhai.
I called it Poet. I just finished a pre-alpha version and wanted to share it here.
Here's the link to the project: https://github.com/intentee/poet
And here's the project's documentation page (which is created in Poet): https://github.com/intentee/poet.intentee.com
I hope you'll find it useful. If anyone has feedback to share, has any questions, or would like to contribute, let me know :)
I also wanted to thank @schungx for giving me lots of help and support when I was working on the syntax.
PS. Below is an example of a layout from the project. You'll find more syntax examples in the project's documentation repo.
Beta Was this translation helpful? Give feedback.
All reactions