{"id":26600807,"url":"https://github.com/btbytes/nim-cookbook","last_synced_at":"2025-04-09T16:24:00.469Z","repository":{"id":49822666,"uuid":"107493095","full_name":"btbytes/nim-cookbook","owner":"btbytes","description":"Nim Programming Cookbook","archived":false,"fork":false,"pushed_at":"2017-12-16T13:24:02.000Z","size":54,"stargazers_count":52,"open_issues_count":2,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T21:40:48.122Z","etag":null,"topics":["cookbook","howto","nim","nim-lang"],"latest_commit_sha":null,"homepage":"http://nim-cookbook.btbytes.com/","language":"Nim","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/btbytes.png","metadata":{"files":{"readme":"README.adoc","changelog":"changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-19T03:20:39.000Z","updated_at":"2025-03-26T17:25:34.000Z","dependencies_parsed_at":"2022-09-18T23:10:57.281Z","dependency_job_id":null,"html_url":"https://github.com/btbytes/nim-cookbook","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btbytes%2Fnim-cookbook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btbytes%2Fnim-cookbook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btbytes%2Fnim-cookbook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btbytes%2Fnim-cookbook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/btbytes","download_url":"https://codeload.github.com/btbytes/nim-cookbook/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248066002,"owners_count":21042014,"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":["cookbook","howto","nim","nim-lang"],"created_at":"2025-03-23T18:35:31.234Z","updated_at":"2025-04-09T16:24:00.448Z","avatar_url":"https://github.com/btbytes.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Nim Programming Cookbook\n\nThe cookbook can be seen here: http://nim-cookbook.btbytes.com/\n\nThis cookbook is aimed at Nim programmers who have familiarity with the language and want to write programs in it. We, the authors and contributors of this cookbook would like this to be a useful resource for questions like -- \"How to do X with Nim?\".\n\nWriting new recipes, enhancing, proofreading, fixing bugs in the code are all a community effort. Please send your recipes, improvements and suggestions. Pull Requests are open.\n\n**Note to Recipe Writers**\n\n* The Markdown files are processed into HTML by http://pandoc.org/[Pandoc].\n* The Nim code exists under the [code](code) directory.\n* Code files follow a \"topicNN.nim\" pattern. Eg: `files01.nim`.\n* There is a `Makefile` in the code directory that compiles all source files. Run `make` after you complete a recipe to make sure your program compiles. The Makefile has a build step to run all the programs and capture their output to `$prog.output` files.\n* Code is embedded into markdown files using this syntax:\n\n[source, markdown]\n-------------------------------------------------------------------------------\n```{.input include=code/ds01.nim startLine=1 endLine=7}\n```\n-------------------------------------------------------------------------------\n* where:\n** `.input` is a CSS class directive. (use `.output` for showing proram output.)\n** `include` directive references the Nim source file to embed\n** `startLine` and `endLine` limit the lines of code embedded into the final HTML document on processing. Omitting these would include the entire file into the final document.\n* _If you are looking to contribute to the project, see the https://github.com/btbytes/nim-cookbook/projects/1[Things to do] kanban board!_\n\n\n*License*\n\nThis code and text are dedicated to the public domain. You can copy,\nmodify, distribute and perform the work, even for commercial purposes,\nall without asking permission.\n\nYou may copy and paste any code here verbatim into your codebase, wiki,\nblog, book or dance production as you see fit. The Markdown and Nim\nsource is available on https://github.com/btbytes/nim-cookbook/[Github].\nPull requests are always accepted for changes and additional content.\nThis is a living document.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbtbytes%2Fnim-cookbook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbtbytes%2Fnim-cookbook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbtbytes%2Fnim-cookbook/lists"}