{"id":22900559,"url":"https://github.com/rioastamal/kapur","last_synced_at":"2025-05-08T01:24:09.201Z","repository":{"id":145534724,"uuid":"176056867","full_name":"rioastamal/kapur","owner":"rioastamal","description":"Kapur is lightweight Markdown editor with syntax highlighting and instant preview capability","archived":false,"fork":false,"pushed_at":"2019-08-29T02:49:17.000Z","size":130,"stargazers_count":27,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-31T16:11:25.587Z","etag":null,"topics":["editor","html","javascript","markdown","markdown-editor"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rioastamal.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}},"created_at":"2019-03-17T04:39:23.000Z","updated_at":"2024-09-23T06:27:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"e2477104-355a-4724-b572-d70ecf54a823","html_url":"https://github.com/rioastamal/kapur","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rioastamal%2Fkapur","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rioastamal%2Fkapur/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rioastamal%2Fkapur/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rioastamal%2Fkapur/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rioastamal","download_url":"https://codeload.github.com/rioastamal/kapur/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252979779,"owners_count":21835115,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["editor","html","javascript","markdown","markdown-editor"],"created_at":"2024-12-14T01:28:48.944Z","updated_at":"2025-05-08T01:24:09.176Z","avatar_url":"https://github.com/rioastamal.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Kapur Markdown Editor\n\n[Kapur](https://github.com/rioastamal/kapur/) is lightweight Markdown editor with syntax highlighting and instant preview capability. It has two main windows -- left is used for editor and the right one is used for Markdown preview. Kapur is built on top of ShowdownJS for Markdown parser and CodeMirror for syntax highlighting.\n\nKapur Markdown Editor support following features.\n\n- Github Flavored Markdown (GFM)\n- Syntax highlighting\n- Instant preview window\n- Open file from local disk\n- Save markdown to local disk\n- Save html preview to local disk\n- Responsive design for mobile\n\nWith all those features Kapur is only a single HTML file! No dependencies and no software to download.\n\nDemo are available at [https://rioastamal.net/kapur/](https://rioastamal.net/kapur/)\n\n![Demo Kapur Markdown Editor](https://s3.amazonaws.com/rioastamal-assets/kapur/kapur-demo.gif)\n\n## Download\n\nYou can find the distribution version of Kapur at Github [release page](https://github.com/rioastamal/kapur/releases).\n\nAs an alternative you can also download the tarball from repository Download button. If you prefer cloning via Git you can use following command.\n\n```\n$ git clone https://github.com/rioastamal/kapur.git\n```\n\n## Run\n\nJust open file `kapur.html` using web browser and you're ready to go. If you are cloning the project from Github you can also run the editor by opening file `src/kapur.html`.\n\n## Build\n\nThe build process will generate single HTML file of the editor. It could be useful if you want to host or upload the editor to your own server. The build script only uses Bash so it should be easy to run.\n\n```\n$ bash build.sh\n  adding: build/kapur-1.1.html (deflated 71%)\nBuild file build/kapur-1.1.html complete.\n```\n\nYou can try to open file `build/kapur.html` using web browser.\n\n## FAQ\n\n### What Browser does Kapur support?\n\nKapur should works in all major modern browsers such as Safari, Chrome, Firefox and others. It has been tested with the following browsers.\n\n1. Safari 11.1.2 on MacOS High Sierra\n2. Firefox 65.0.1 on MacOS High Sierra\n3. Chrome 73 on MacOS High Sierra\n\nIf you have problem running Kapur on your browser, please report.\n\n### Can I use Kapur without internet?\n\nYes, absolutely. This is the main reason I develop Kapur. Just open `kapur.html` using your favorite browser and start writing in Markdown.\n\n### Does Kapur support multi-tab editing?\n\nYes as long as your browser support multi-tab browsing. Just open `kapur.html` in new browser tab.\n\n### Does Kapur support fullscreen?\n\nYes as long as your browser support Fullscreen mode. AFAIK all browsers in the market support this feature.\n\n### Can I save the Preview as HTML?\n\nYes. Open the menu and choose \"Save Preview As...\".\n\n### Can I save the Preview as PDF?\n\nIt depends on your browser or OS support. If your browser or OS able to print as PDF then you're lucky. Here's how to do it\n\n1. Save the preview by cliking \"Save Preview As...\" \n2. Open the saved file using your browser\n3. Choose File \u003e Print \n4. You can choose to Print as PDF\n\n## Author\n\nThis application is written by Rio Astamal \\\u003crio@rioastamal.net\u003e\n\n## License\n\nThis application is open source licensed under [MIT license](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frioastamal%2Fkapur","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frioastamal%2Fkapur","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frioastamal%2Fkapur/lists"}