{"id":26538656,"url":"https://github.com/getvictor/noweb_example","last_synced_at":"2025-03-21T23:19:27.120Z","repository":{"id":282056163,"uuid":"944559562","full_name":"getvictor/noweb_example","owner":"getvictor","description":"Literate programming example using noweb","archived":false,"fork":false,"pushed_at":"2025-03-12T14:44:18.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T15:36:07.022Z","etag":null,"topics":["golang","literate-programming","readable-code"],"latest_commit_sha":null,"homepage":"https://victoronsoftware.com/posts/literate-programming-lessons/","language":null,"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/getvictor.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":"2025-03-07T15:05:23.000Z","updated_at":"2025-03-12T14:44:21.000Z","dependencies_parsed_at":"2025-03-12T15:47:23.588Z","dependency_job_id":null,"html_url":"https://github.com/getvictor/noweb_example","commit_stats":null,"previous_names":["getvictor/noweb_example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getvictor%2Fnoweb_example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getvictor%2Fnoweb_example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getvictor%2Fnoweb_example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getvictor%2Fnoweb_example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getvictor","download_url":"https://codeload.github.com/getvictor/noweb_example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244880867,"owners_count":20525549,"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":["golang","literate-programming","readable-code"],"created_at":"2025-03-21T23:19:26.677Z","updated_at":"2025-03-21T23:19:27.109Z","avatar_url":"https://github.com/getvictor.png","language":null,"readme":"# Literate programming example using noweb\n\nFull article: [6 lessons from literate programming](https://victoronsoftware.com/posts/literate-programming-lessons/)\n\nInstall noweb with brew (macOS):\n\n```bash\nbrew install noweb\n```\n\nTo generate the files:\n\n```bash\nnotangle -Rgo.mod hello.nw \u003e go.mod\nmkdir -p mypackage\nnotangle -R'mypackage/mypackage.go' hello.nw \u003e mypackage/mypackage.go\nnotangle -Rmain.go hello.nw \u003e main.go\nnoweave -html hello.nw \u003e hello.html\n```\n\nTo run the program:\n\n```bash\ngo run main.go\n```\n\nTo view docs as HTML (on macOS):\n\n```bash\nopen hello.html\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetvictor%2Fnoweb_example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetvictor%2Fnoweb_example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetvictor%2Fnoweb_example/lists"}