{"id":13569908,"url":"https://github.com/niklasfasching/go-org","last_synced_at":"2026-01-12T15:27:14.623Z","repository":{"id":34005089,"uuid":"160048677","full_name":"niklasfasching/go-org","owner":"niklasfasching","description":"Org mode parser with html \u0026 pretty printed org rendering. also shitty static site generator.","archived":false,"fork":false,"pushed_at":"2024-09-02T11:51:08.000Z","size":1781,"stargazers_count":354,"open_issues_count":9,"forks_count":49,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-17T12:40:00.773Z","etag":null,"topics":["emacs","go","org-mode","static-site"],"latest_commit_sha":null,"homepage":"https://niklasfasching.github.io/go-org/","language":"Go","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/niklasfasching.png","metadata":{"files":{"readme":"README.org","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":"2018-12-02T13:12:06.000Z","updated_at":"2024-10-29T14:58:29.000Z","dependencies_parsed_at":"2024-01-14T03:47:47.983Z","dependency_job_id":"6c4dd313-d0ba-4a26-882b-b3328271dde6","html_url":"https://github.com/niklasfasching/go-org","commit_stats":null,"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklasfasching%2Fgo-org","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklasfasching%2Fgo-org/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklasfasching%2Fgo-org/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklasfasching%2Fgo-org/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niklasfasching","download_url":"https://codeload.github.com/niklasfasching/go-org/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247134426,"owners_count":20889396,"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":["emacs","go","org-mode","static-site"],"created_at":"2024-08-01T14:00:45.757Z","updated_at":"2026-01-12T15:27:14.610Z","avatar_url":"https://github.com/niklasfasching.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"* go-org\nAn Org mode parser and static site generator in go.\nTake a look at github pages\n- for [[https://niklasfasching.github.io/go-org/][org to html conversion]] examples\n- for a [[https://niklasfasching.github.io/go-org/blorg][static site]] generated by blorg\n- to [[https://niklasfasching.github.io/go-org/convert.html][try it out live]] in your browser\n\n[[https://raw.githubusercontent.com/niklasfasching/go-org/master/etc/example.png]]\n\nPlease note\n- the goal for the html export is to produce sensible html output, not to exactly reproduce the output of =org-html-export=.\n- the goal for the parser is to support a reasonable subset of Org mode. Org mode is *huge* and I like to follow the 80/20 rule.\n* usage\n** command line\n#+begin_src bash\n$ go-org\nUsage: go-org COMMAND [ARGS]...\nCommands:\n- render [FILE] FORMAT\n  FORMAT: org, html, html-chroma\n  Instead of specifying a file, org mode content can also be passed on stdin\n- blorg\n  - blorg init\n  - blorg build\n  - blorg serve\n#+end_src\n** as a library\nsee [[https://github.com/niklasfasching/go-org/blob/master/main.go][main.go]] and hugo [[https://github.com/gohugoio/hugo/blob/master/markup/org/convert.go][org/convert.go]]\n* development\n1. =make setup=\n2. change things\n3. =make preview= (regenerates fixtures \u0026 shows output in a browser)\n\nin general, have a look at the Makefile - it's short enough.\n* resources\n- test files\n  - [[https://raw.githubusercontent.com/kaushalmodi/ox-hugo/master/test/site/content-org/all-posts.org][ox-hugo all-posts.org]]\n  - https://ox-hugo.scripter.co/doc/examples/\n- https://orgmode.org/manual/\n- https://orgmode.org/worg/dev/org-syntax.html\n- https://code.orgmode.org/bzg/org-mode/src/master/lisp/org.el\n  - https://code.orgmode.org/bzg/org-mode/src/master/lisp/org-element.el\n  - mostly those \u0026 ox-html.el, but yeah, all of [[https://code.orgmode.org/bzg/org-mode/src/master/lisp/]]\n- existing Org mode implementations: [[https://github.com/emacsmirror/org][org]], [[https://github.com/bdewey/org-ruby/blob/master/spec/html_examples][org-ruby]], [[https://github.com/chaseadamsio/goorgeous/][goorgeous]], [[https://github.com/jgm/pandoc/][pandoc]]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniklasfasching%2Fgo-org","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniklasfasching%2Fgo-org","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniklasfasching%2Fgo-org/lists"}