{"id":15171870,"url":"https://github.com/leonwind/nix-shell-generator","last_synced_at":"2026-02-18T23:00:57.731Z","repository":{"id":57708953,"uuid":"505230623","full_name":"leonwind/nix-shell-generator","owner":"leonwind","description":"Small CLI tool to quickly import and store shell.nix templates.","archived":false,"fork":false,"pushed_at":"2022-06-26T22:22:15.000Z","size":38,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-30T11:46:53.787Z","etag":null,"topics":["nix","nix-shell","nixos"],"latest_commit_sha":null,"homepage":"","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/leonwind.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-19T22:16:01.000Z","updated_at":"2022-11-28T16:09:21.000Z","dependencies_parsed_at":"2022-09-26T21:20:45.401Z","dependency_job_id":null,"html_url":"https://github.com/leonwind/nix-shell-generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/leonwind/nix-shell-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonwind%2Fnix-shell-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonwind%2Fnix-shell-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonwind%2Fnix-shell-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonwind%2Fnix-shell-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leonwind","download_url":"https://codeload.github.com/leonwind/nix-shell-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonwind%2Fnix-shell-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29597853,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T22:25:43.180Z","status":"ssl_error","status_checked_at":"2026-02-18T22:25:42.766Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["nix","nix-shell","nixos"],"created_at":"2024-09-27T09:20:59.649Z","updated_at":"2026-02-18T23:00:57.706Z","avatar_url":"https://github.com/leonwind.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nix-Shell-Generator\n\n## Usages\n\n### Store an existing `shell.nix`\nGo into your project directory with an existing `shell.nix` file and run\n```shell\nnix-shell-generator --add nix-shell-descriptive-name\n```\n\nE.g. for a `shell.nix` file for a `C++` project using `GCC, cmake, boost, valgrind, gdb` you can run\n```shell\nnix-shell-generator --add gcc-boost-debugger\n```\n\nYou can also add an `--path path/to/shell.nix` argument if your `shell.nix` is not in your current working directory.\n\n### Add existing `shell.nix` into your project\nRun `nix-shell-generator --get` to open a fuzzy finder to search and select your `shell.nix` template.\nThe template gets renamed and copied to `./shell.nix`.\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/leonwind/nix-shell-generator/media/nsg-get-example.png\" alt=\"--get example\"/\u003e\n\u003c/p\u003e\n\n## Installation \nInstall by running\n\n```shell\ngo install github.com/leonwind/nix-shell-generator/cmd/nix-shell-generator@06d5c91\n```\n\nYour `shell.nix` templates will be stored in `~/.config/nix-shell-generator/`.\n\nFor more practical usage, set up a shell alias: `alias nsg = \"nix-shell-generator\"`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleonwind%2Fnix-shell-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleonwind%2Fnix-shell-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleonwind%2Fnix-shell-generator/lists"}