https://github.com/spacetesla/zennote
Zennote turns messy AI markdown into beautiful shareable notes.
https://github.com/spacetesla/zennote
Last synced: 11 months ago
JSON representation
Zennote turns messy AI markdown into beautiful shareable notes.
- Host: GitHub
- URL: https://github.com/spacetesla/zennote
- Owner: SpaceTesla
- License: mit
- Created: 2025-04-07T12:09:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-11T05:25:40.000Z (about 1 year ago)
- Last Synced: 2025-05-07T11:40:01.527Z (about 1 year ago)
- Language: TypeScript
- Homepage: https://zennote.shivanshkaran.tech/
- Size: 137 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# π§ Zennote - Paste. Beautify. Share.
*Zennote turns messy AI markdown into beautiful, shareable notes β instantly.*
---
## π What is Zennote?
Zennote is a markdown beautifier built for the modern age of AI and instant sharing.
It takes unstructured markdown (often copied from AI tools), beautifies it with a clean design, and gives you a shareable URL β all in seconds.
Perfect for:
- Sharing AI responses or dev notes
- Creating clean, shareable docs from markdown
- Personal knowledge management
---
## π οΈ Tech Stack
| Layer | Tech |
|------------|---------------------------------|
| Frontend | [Next.js 15](https://nextjs.org/) + Tailwind CSS |
| Backend | [Cloudflare Workers](https://workers.cloudflare.com/) (TypeScript) |
| Storage | [Cloudflare R2](https://developers.cloudflare.com/r2/) for markdown blobs |
| DB | [Cloudflare D1 / R1](https://developers.cloudflare.com/d1/) for metadata |
| Deployment | Cloudflare Pages & Workers via Wrangler |
---
## π§ Project Structure
```
zennote/
βββ apps/
β βββ backend/ # Cloudflare Worker logic
β β βββ src/ # Worker source code (index.ts)
β β βββ migrations/ # DB migrations (D1/R1)
β βββ frontend/ # Next.js app
β βββ src/ # App Router setup, components, libs, config
βββ .gitignore
βββ LICENSE
βββ README.md
```
---
## π Deployment & Hosting
Zennote uses **Cloudflareβs full stack** for hosting:
- **Frontend** is deployed using [Cloudflare Pages](https://pages.cloudflare.com/)
- **Backend API** is a Cloudflare Worker deployed via `wrangler`
- **R2** stores the actual markdown files (blobs)
- **D1 (R1)** stores metadata like slugs, titles, and timestamps
You can find `wrangler.toml` in `apps/backend/`.
---
## π§ͺ Local Development
```bash
# Clone the repo
git clone https://github.com/your-username/zennote.git
cd zennote
# Frontend setup
cd apps/frontend
npm install
npm run dev
# Backend setup (requires wrangler)
cd ../backend
npm install
wrangler dev
```
> Make sure to set up `.env` for frontend & bind R2/D1 vars in `wrangler.toml`.
---
## π§βπ» Contributing
Contributions are welcome! Hereβs how to get started:
1. π΄ Fork this repo
2. π― Clone your fork
3. π‘ Create a feature branch: `git checkout -b my-feature`
4. π§ͺ Make changes & test them
5. π¬ Open a PR with a clear title and description
### Guidelines
- Follow existing project structure
- Format code using Prettier (`.prettierrc`)
- Keep commits clean and meaningful
- Donβt commit secrets or `.env` files
---
## π¬ Feedback & Ideas
Open an issue or start a discussion! Whether it's a bug, feature idea, or random thought β we'd love to hear it.
---
## π License
MIT License.
Feel free to use, remix, or extend Zennote. Just donβt be evil π
---
Made with β + π by [Shivansh Karan](https://shivanshkaran.tech)