rust parser working on local build. fix docker build

This commit is contained in:
ZockerKatze
2025-06-24 10:23:34 +02:00
parent 7e2ada529d
commit 5ad73485ce
10 changed files with 425 additions and 24 deletions

View File

@@ -29,6 +29,8 @@ author: Rattatwinko
- [Support the Project ❤️](#support-the-project)
- [Acknowledgments 🙏](#acknowledgments)
- [Folder Emojis 🇦🇹](#folder-emoji-technical-note)
- [API 🏗️](#api)
- [ToT, and Todo](#train-of-thought-for-this-project-and-todo)
---
@@ -387,6 +389,35 @@ Thanks for choosing MarkdownBlog! If you find it useful, please:
---
## API
MarkdownBlog provides a built-in RESTful API to serve post data, handle live updates, and support integrations. The API is used internally by the frontend to fetch posts, stream updates (for live reloads), and manage features like emoji and pin assignments. You can also interact with these endpoints to build custom tools or integrations.
Key API endpoints include:
- `/api/posts`: Fetch all blog posts as JSON.
- `/api/posts/[slug]`: Fetch a single post by its slug.
- `/api/posts/stream`: Server-Sent Events (SSE) endpoint for real-time updates when posts change.
- `/api/posts/webhook`: Webhook endpoint to notify the app of external changes (e.g., from CI/CD or scripts).
All API routes are implemented using Next.js API routes and are available out of the box. For more details, check the code in the `src/app/api/posts/` directory.
--
## Train of Thought for this Project and Todo
Ok, so when I originally did this (about a week ago speaking from 24.6.25), I really had no thought of this being a huge thing. But reallistically speaking, this Repository is 2MiB large. And its bloated. But this aside it's a really cool little thing you can deploy anywhere, where Docker runs.
If you have seen this is not very mindfull of browser resources tho.
|<span style="color:pink;">IS DONE</span>|Task|
|-------|----|
|<span style="color:red;">partly</span> / <span style="color:orange;">working on it</span>|_Rewrite_ the Markdown Parser in **Rust** ; This works for local Builds but in Docker does not work due to permission error|
---
<!--Markdown Image :heart:-->
<img src="https://blog.cyon.ch/wp-content/uploads/2016/05/i-love-markdown.png" alt="I looooooove Markdown" style="display:block;margin:0 auto;">