{"id":50781666,"url":"https://github.com/chatenhancer/lepapier","last_synced_at":"2026-06-14T11:00:37.466Z","repository":{"id":364175881,"uuid":"1266645085","full_name":"chatenhancer/lepapier","owner":"chatenhancer","description":"lepapier.app is the clean markdown editor with no distractions","archived":false,"fork":false,"pushed_at":"2026-06-12T03:49:47.000Z","size":783,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-12T04:09:52.922Z","etag":null,"topics":["astro","editor","markdown","offline","ssg","static","static-site","static-site-generator"],"latest_commit_sha":null,"homepage":"https://lepapier.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chatenhancer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-06-11T20:23:10.000Z","updated_at":"2026-06-12T03:49:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/chatenhancer/lepapier","commit_stats":null,"previous_names":["chatenhancer/lepapier"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/chatenhancer/lepapier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatenhancer%2Flepapier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatenhancer%2Flepapier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatenhancer%2Flepapier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatenhancer%2Flepapier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chatenhancer","download_url":"https://codeload.github.com/chatenhancer/lepapier/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatenhancer%2Flepapier/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34318525,"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-14T02:00:07.365Z","response_time":62,"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":["astro","editor","markdown","offline","ssg","static","static-site","static-site-generator"],"created_at":"2026-06-12T04:00:26.971Z","updated_at":"2026-06-14T11:00:37.437Z","avatar_url":"https://github.com/chatenhancer.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"left\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"public/assets/icons/lepapier-dark.svg\"\u003e\n    \u003cimg src=\"public/assets/icons/lepapier.svg\" alt=\"Lepapier logo\" width=\"72\"\u003e\n  \u003c/picture\u003e\n\u003c/p\u003e\n\n# Lepapier.app\n\n\u003cp\u003e\n  \u003cimg alt=\"release\" src=\"https://img.shields.io/github/v/release/chatenhancer/lepapier?label=release\u0026color=3f3f46\"\u003e\n  \u003ca href=\"https://github.com/chatenhancer/lepapier/actions/workflows/ci.yml\"\u003e\u003cimg alt=\"CI\" src=\"https://img.shields.io/github/actions/workflow/status/chatenhancer/lepapier/ci.yml?label=ci\"\u003e\u003c/a\u003e\n  \u003cimg alt=\"pwa\" src=\"https://img.shields.io/badge/pwa-ready-f97316\"\u003e\n  \u003ca href=\"LICENSE\"\u003e\u003cimg alt=\"license\" src=\"https://img.shields.io/badge/license-GPL--3.0%2B-2da44e\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nLepapier (from French: le papier, \"the paper\") is a local-first Markdown writing app for drafting, editing, previewing, and exporting documents from the browser.\n\nIt is designed to serve as a quiet writing surface with the least distractions possible, while still handling the practical parts of publishing: frontmatter, images, Markdown previews, drafts, importing and exporting, syncing with local files, and portability.\n\nIt builds into a single `index.html` file that can be placed and opened anywhere.\n\n[Website](https://lepapier.app) · [Start writing](https://lepapier.app/editor/) · [Releases](https://github.com/chatenhancer/lepapier/releases)\n\n## What’s it good for?\n\nIt was mainly developed to cleanly create, edit, and export Markdown archives for static *Astro* sites and blogs, but it can be used to edit any form of Markdown content.\n\n**Please note that the app is unfinished**. For now it only has the features I need to publish content on blogs like https://chatenhancer.com, which are _Astro_ sites. \n\nFeature set and robustness will improve in the future as I go along.\n\n## Features (unfinished)\n\n- Local-first editing with drafts saved in the browser.\n- Multi-document workspace with document selection, bulk download, and bulk delete.\n- Open a Markdown file or a folder of Markdown files.\n- Open and sync a Markdown file or folder using the File System Access API where supported.\n- Import referenced image assets from opened folders.\n- Add cover images and document images, then export them with Markdown.\n- Download one document as `.md` when no assets are needed, or export documents and assets as a `.zip`.\n- Live Markdown preview with editable preview text and image controls.\n- Frontmatter fields for title, date, slug, description, tags, and cover image.\n- Optional manual Chrome built-in AI metadata refresh buttons for title, description, and tags.\n- Smart punctuation and image filename randomization options.\n- PWA-ready standalone app built with Vite and vanilla DOM APIs.\n\n## Privacy\n\n- Drafts and settings stay in browser storage.\n- Files opened through the File System Access API stay local to your browser session and granted handles.\n- Metadata suggestions use Chrome's built-in AI when available. After Chrome installs the model, metadata suggestions run locally.\n\n## Screenshots\n\u003cimg width=\"3680\" height=\"2136\" alt=\"image\" src=\"https://github.com/user-attachments/assets/2c4efbb9-90f3-461b-a5fb-387d97e21a73\" /\u003e\n\u003cimg width=\"3680\" height=\"2136\" alt=\"image\" src=\"https://github.com/user-attachments/assets/b8204d5b-1a9e-4171-87e5-0ddf6d48040e\" /\u003e\n\n\n## Development\n\nInstall dependencies:\n\n```sh\nnpm install\n```\n\nStart the local dev server:\n\n```sh\nnpm run dev\n```\n\nRun TypeScript checks:\n\n```sh\nnpm run check\n```\n\nRun tests:\n\n```sh\nnpm test\n```\n\nBuild for production:\n\n```sh\nnpm run build\n```\n\nPreview the production build:\n\n```sh\nnpm run preview\n```\n\nRun the landing/docs site and editor together:\n\n```sh\nnpm run docs:dev\n```\n\nBuild the GitHub Pages artifact:\n\n```sh\nnpm run pages:build\n```\n\n## Release\n\n1. Update `version` in `package.json`.\n2. Run `npm run verify`.\n3. Commit the version bump and create a tag such as `v0.1.2`.\n4. Push the commit and tag.\n\nThe release workflow validates exact `vX.Y.Z` tags against `package.json`, creates the release zip, attaches it to a GitHub Release, and deploys the tagged app to `https://lepapier.app/editor/`.\n\n## Architecture\n\n- `Vite` serves and bundles the standalone app.\n\n- The editor is a vanilla DOM app with direct access to browser-native APIs: IndexedDB, File System Access, clipboard images, PWA support, and Chrome built-in AI.\n\n- Draft text is saved in `localStorage`; selected image files and editable file/folder handles are saved in IndexedDB.\n\n- Exports are generated client-side as Markdown files or zip archives depending on selected documents and referenced assets.\n\n## License\n\nGPL-3.0-or-later. See [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchatenhancer%2Flepapier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchatenhancer%2Flepapier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchatenhancer%2Flepapier/lists"}