MarkFlow is a simple and efficient Markdown file management system built using Go and Gin. It provides grammar checking, file uploads, and the ability to retrieve Markdown files as HTML.
- ✅ Grammar checking for Markdown files
- 📂 Upload Markdown files
- 🔍 Retrieve Markdown files as HTML
- 📜 List all uploaded files
- 🛠 Go 1.24.1 or higher
- 🌐 cURL (for API requests)
sudo pacman -S gosudo pacman -S curlgit clone https://github.com/Abhishek2010dev/MarkFlow.git
cd MarkFlowgo mod tidygo run main.goPOST /check-grammer
- Request:
- 📎 Form-data:
file(Markdown file)
- 📎 Form-data:
- Response: JSON object with grammar suggestions
cURL Example:
curl -X POST http://localhost:8080/check-grammer \
-F "file=@test.md" \
-H "Content-Type: multipart/form-data" | jqPOST /notes
- Request:
- 📎 Form-data:
file(Markdown file)
- 📎 Form-data:
- Response: ✅ Confirmation of file upload
cURL Example:
curl -X POST http://localhost:8080/notes \
-F "file=@test.md" \
-H "Content-Type: multipart/form-data"GET /notes/{filename}
- Response: 🖥 HTML version of the Markdown file
cURL Example:
curl http://localhost:8080/notes/test.mdGET /notes
- Response: 📄 JSON object listing uploaded files
cURL Example:
curl http://localhost:8080/notesMarkFlow uses the following dependencies:
github.com/gin-gonic/gin- ⚡ HTTP web frameworkgithub.com/yuin/goldmark- 📝 Markdown parsergithub.com/goccy/go-json- 🚀 High-performance JSON library
For more inspiration on building a Markdown note-taking app, check out this guide.
This project is licensed under the MIT License.