{"id":20382144,"url":"https://github.com/nilsherzig/live-markdown-preview","last_synced_at":"2025-10-05T23:08:09.251Z","repository":{"id":188482592,"uuid":"678827578","full_name":"nilsherzig/live-markdown-preview","owner":"nilsherzig","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-27T13:42:46.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-04T22:42:02.759Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/nilsherzig.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}},"created_at":"2023-08-15T13:27:39.000Z","updated_at":"2023-08-23T19:22:43.000Z","dependencies_parsed_at":"2025-01-15T07:15:11.193Z","dependency_job_id":"2b2cb508-1e2f-4d2c-8764-fe7b9add1705","html_url":"https://github.com/nilsherzig/live-markdown-preview","commit_stats":null,"previous_names":["nilsherzig/helix-markdown-preview","nilsherzig/live-markdown-preview"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nilsherzig/live-markdown-preview","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilsherzig%2Flive-markdown-preview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilsherzig%2Flive-markdown-preview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilsherzig%2Flive-markdown-preview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilsherzig%2Flive-markdown-preview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nilsherzig","download_url":"https://codeload.github.com/nilsherzig/live-markdown-preview/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilsherzig%2Flive-markdown-preview/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278532352,"owners_count":26002346,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"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":[],"created_at":"2024-11-15T02:16:41.946Z","updated_at":"2025-10-05T23:08:09.197Z","avatar_url":"https://github.com/nilsherzig.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"## WIP! Check commit logs \n\n## Usage\n\n```bash\ngo run . ~/the/folder/you/want/to/monitor\n\n# or build it \n\ngo build . \n./helix-markdown-preview ~/the/folder/you/want/to/monitor\n```\n\n## Working: \n\n- rendering ms after file change\n- support multiple files in same folder\n- background file change monitoring \n- rendering using the gin web server library and web sockets\n- mermaid diagrams \n- code highlight\n- GitHub markdown support \n- GitHub markdown theme\n- templates and scripts are now embedded into the binary during the build process\n- recursive folder monitoring\n- remember theme via browser local storage\n\n## Things I would like to change / implement\n\n- health check from web socket (ping - pong) - close website on disconnect\n  - preview binary disconnects web socket on normal exit `SIGTERM`\n  - helix doesn't seem to send `SIGTERM` to child processes on exit \n- getting math / latex to render\n- everything included, no network connection needed (I don't know how copyright works)\n- Custom kanban renderer / parser\n  - run parser as marked extension in client side JS \n  - using a code block (?)\n  - Somehow add kanban auto formatting to helix (pipe to external script?)\n- Automatically start when helix opens a markdown file\n- scroll to current position\n  - I don't know how to get the current line number from helix, maybe scroll to last edit? \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnilsherzig%2Flive-markdown-preview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnilsherzig%2Flive-markdown-preview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnilsherzig%2Flive-markdown-preview/lists"}