{"id":50980180,"url":"https://github.com/ayhamdev/markdownpdf","last_synced_at":"2026-06-19T13:02:53.138Z","repository":{"id":352867659,"uuid":"1216789537","full_name":"ayhamDev/MarkdownPDF","owner":"ayhamDev","description":"A powerful React-based Markdown to PDF generator featuring Monaco editor, customizable themes, embedded charts, KaTeX math, and a Google Gemini AI copilot.","archived":false,"fork":false,"pushed_at":"2026-05-14T11:39:09.000Z","size":1173,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-14T13:38:54.425Z","etag":null,"topics":["local-first","markdown","markdown-editor","markdown-to-pdf","pdf-export","pdf-generation","pdf-generator","privacy-first","productivity","recharts","tailwindcss"],"latest_commit_sha":null,"homepage":"https://markdownpdf.pages.dev/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ayhamDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-21T08:31:32.000Z","updated_at":"2026-05-14T11:39:13.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ayhamDev/MarkdownPDF","commit_stats":null,"previous_names":["ayhamdev/markdownpdf"],"tags_count":0,"template":false,"template_full_name":"google-gemini/aistudio-repository-template","purl":"pkg:github/ayhamDev/MarkdownPDF","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayhamDev%2FMarkdownPDF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayhamDev%2FMarkdownPDF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayhamDev%2FMarkdownPDF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayhamDev%2FMarkdownPDF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ayhamDev","download_url":"https://codeload.github.com/ayhamDev/MarkdownPDF/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayhamDev%2FMarkdownPDF/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34532260,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["local-first","markdown","markdown-editor","markdown-to-pdf","pdf-export","pdf-generation","pdf-generator","privacy-first","productivity","recharts","tailwindcss"],"created_at":"2026-06-19T13:02:52.308Z","updated_at":"2026-06-19T13:02:53.127Z","avatar_url":"https://github.com/ayhamDev.png","language":"TypeScript","funding_links":["https://ko-fi.com/ayhamdev"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\n# MarkdownPDF\n\n**A blazingly fast, privacy-first, browser-native Markdown to PDF converter.**\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![React](https://img.shields.io/badge/React-19-blue.svg)](https://react.dev/)\n[![Tailwind CSS](https://img.shields.io/badge/Tailwind-3.4-38B2AC.svg)](https://tailwindcss.com/)\n[![Open Source](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://opensource.org/)\n\n[**Launch App**](https://markdownpdf.pages.dev/editor) • [**Report Bug**](https://github.com/ayhamDev/MarkdownPDF/issues) • [**Buy me a coffee**](https://ko-fi.com/ayhamdev)\n\n\u003c/div\u003e\n\n---\n\n## ✨ Overview\n\n**MarkdownPDF** is a powerful document creation tool designed to bridge the gap between simple Markdown writing and professional PDF publishing. Unlike other converters that rely on server-side rendering or blurry canvas snapshots, MarkdownPDF uses **native browser orchestration** to generate flawless, selectable-text vector PDFs.\n\n### 🚀 [Try the Live Editor here](https://markdownpdf.pages.dev/editor)\n\n---\n\n## 🔥 Key Features\n\n-   **Pro-Level Editor:** Integrated **Monaco Editor** (the engine behind VS Code) with full syntax highlighting, auto-completion, and multi-page support.\n-   **True Vector Export:** Utilizes CSS `@page` rules to generate high-fidelity PDFs directly through the browser engine. Text remains selectable and resolution is infinite.\n-   **AI Copilot (Gemini):** A built-in AI assistant to help you rewrite, summarize, or generate content. **Privacy First:** Bring your own API key to keep data at-cost and private.\n-   **Aesthetic Themes:** Choose from professionally designed themes like *Sleek*, *Dracula*, *Terminal*, *Midnight*, and more.\n-   **Typography Tuning:** Granular control over font sizes, line heights, and paddings for every element (H1, H2, H3, P).\n-   **Math \u0026 Tables:** Full support for **KaTeX** math equations and GitHub Flavored Markdown (GFM) tables.\n-   **100% Privacy:** No server uploads. Your data is stored in your browser's `localStorage` and processed entirely on your machine.\n\n---\n\n## 🛠️ Tech Stack\n\n-   **Frontend:** [React 19](https://react.dev/), [TypeScript](https://www.typescriptlang.org/)\n-   **Styling:** [Tailwind CSS](https://tailwindcss.com/) (Typography Plugin)\n-   **Editor:** [@monaco-editor/react](https://github.com/suren-atoyan/monaco-react)\n-   **Markdown Engine:** [react-markdown](https://github.com/remarkjs/react-markdown) with Remark/Rehype plugins\n-   **AI Integration:** [Google Generative AI (Gemini)](https://ai.google.dev/)\n-   **Animations:** [Motion](https://motion.dev/)\n\n---\n\n## 💻 Local Development\n\n### Prerequisites\n-   [Node.js](https://nodejs.org/) (Latest LTS recommended)\n-   npm or yarn\n\n### Setup\n\n1.  **Clone the repository:**\n    ```bash\n    git clone https://github.com/ayhamDev/MarkdownPDF.git\n    cd MarkdownPDF\n    ```\n\n2.  **Install dependencies:**\n    ```bash\n    npm install\n    ```\n\n3.  **Environment Variables:**\n    Create a `.env.local` file in the root directory:\n    ```text\n    GEMINI_API_KEY=\"your_api_key_here\"\n    ```\n\n4.  **Run the development server:**\n    ```bash\n    npm run dev\n    ```\n\n5.  **Open the app:**\n    Navigate to `http://localhost:3000` in your browser.\n\n---\n\n## 🤖 Using the AI Features\n\nTo keep this tool free and private, the AI features require your own **Google Gemini API Key**.\n\n1.  Get a free key from the [Google AI Studio](https://aistudio.google.com/).\n2.  In the MarkdownPDF app, click the **Settings** icon.\n3.  Paste your key into the **API Key** field.\n4.  Open the **AI Chat** drawer and start drafting!\n\n---\n\n## 🔒 Privacy Policy\n\nMarkdownPDF is a **serverless** application. \n-   **No Content Tracking:** Your documents are never uploaded to our servers.\n-   **Local Storage:** Documents are saved to your browser's local storage.\n-   **Direct AI Link:** When using the AI feature, data is sent directly to Google Gemini APIs. We do not intercept or log your prompts.\n\n---\n\n## 🤝 Contributing\n\nContributions make the open-source community an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\n1.  Fork the Project\n2.  Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3.  Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4.  Push to the Branch (`git push origin feature/AmazingFeature`)\n5.  Open a Pull Request\n\n---\n\n## 📄 License\n\nDistributed under the **MIT License**. See `LICENSE` for more information.\n\n---\n\n## ☕ Support\n\nIf MarkdownPDF helped you save time or create something beautiful, consider supporting the developer:\n\n\u003ca href=\"https://ko-fi.com/ayhamdev\" target=\"_blank\"\u003e\u003cimg src=\"https://storage.ko-fi.com/cdn/kofi2.png?v=3\" alt=\"Buy Me A Coffee\" style=\"height: 45px !important;width: 180px !important;\"\u003e\u003c/a\u003e\n\n---\n\n**Built with ❤️ by [AyhamDev](https://github.com/ayhamDev)**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayhamdev%2Fmarkdownpdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayhamdev%2Fmarkdownpdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayhamdev%2Fmarkdownpdf/lists"}