{"adoption": {"forks": 538, "observed_at": "2026-08-28T04:05:26.391324+00:00", "stars": 1717}, "canonical_url": "https://ross.abutalabs.com/products/lsh", "card": {"archived": false, "artifact_type": "learning-resource", "description": "Simple shell implementation.  Tutorial here ->", "domain": ["operating-systems", "tutorials", "education"], "enriched": true, "function": ["interpreter", "parser", "developer-tools"], "health_score": 20, "homepage": "http://brennan.io/2015/01/16/write-a-shell-in-c/", "language": "C", "license": "Unlicense", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["brenns10/lsh"], "name": "brenns10/lsh", "platform": ["c", "cli"], "pushed_at": "2022-08-02T06:53:23+00:00", "repo": "brenns10/lsh", "stars": 1717, "tags": ["shell", "unix", "fork-exec", "tutorial-code", "public-domain", "command-line", "linux", "macos"], "topics": ["tutorial", "c", "shell"], "urls": [], "use_cases": ["learn how a unix shell works internally", "understand fork exec and wait in c", "study a minimal shell implementation", "starting point for writing my own shell", "teach operating systems concepts with a small codebase"], "what_it_is": "LSH is a minimal Unix shell written in C, created as the companion code for a well-known tutorial on how shells work. It demonstrates the core read-parse-fork-exec-wait loop and is intentionally feature-limited for educational purposes.", "when_to_avoid": ["you need a daily-driver shell with piping, redirection, or quoting", "you want a production-ready or feature-complete shell", "you expect active feature development or community contributions"], "when_to_choose": ["you want to learn shell internals from readable, small C code", "you need a simple base to extend with your own shell features", "you are teaching or studying process creation in unix"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/lsh", "repo": "brenns10/lsh", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:26.391324+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:34:12.597535+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "245eb82926a6c5171720293f965028e792d696c8000bc71fa1bd8d1027a2749d", "fetched_at": "2026-08-28T04:05:26.391324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/brenns10/lsh"}, {"content_hash": "9fa46bfc6498a6d8b4c393ea934a6e1a60ef947a0bc0d53c1351727c724dca5d", "fetched_at": "2026-08-29T11:10:10.832527+00:00", "kind": "homepage", "missing": false, "url": "http://brennan.io/2015/01/16/write-a-shell-in-c/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:26.391324+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:34:12.597535+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "245eb82926a6c5171720293f965028e792d696c8000bc71fa1bd8d1027a2749d", "fetched_at": "2026-08-28T04:05:26.391324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/brenns10/lsh"}, {"content_hash": "9fa46bfc6498a6d8b4c393ea934a6e1a60ef947a0bc0d53c1351727c724dca5d", "fetched_at": "2026-08-29T11:10:10.832527+00:00", "kind": "homepage", "missing": false, "url": "http://brennan.io/2015/01/16/write-a-shell-in-c/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:34:12.597535+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "245eb82926a6c5171720293f965028e792d696c8000bc71fa1bd8d1027a2749d", "fetched_at": "2026-08-28T04:05:26.391324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/brenns10/lsh"}, {"content_hash": "9fa46bfc6498a6d8b4c393ea934a6e1a60ef947a0bc0d53c1351727c724dca5d", "fetched_at": "2026-08-29T11:10:10.832527+00:00", "kind": "homepage", "missing": false, "url": "http://brennan.io/2015/01/16/write-a-shell-in-c/"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:26.391324+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:26.391324+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:26.391324+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:34:12.597535+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "245eb82926a6c5171720293f965028e792d696c8000bc71fa1bd8d1027a2749d", "fetched_at": "2026-08-28T04:05:26.391324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/brenns10/lsh"}, {"content_hash": "9fa46bfc6498a6d8b4c393ea934a6e1a60ef947a0bc0d53c1351727c724dca5d", "fetched_at": "2026-08-29T11:10:10.832527+00:00", "kind": "homepage", "missing": false, "url": "http://brennan.io/2015/01/16/write-a-shell-in-c/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:26.391324+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:26.391324+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:34:12.597535+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "245eb82926a6c5171720293f965028e792d696c8000bc71fa1bd8d1027a2749d", "fetched_at": "2026-08-28T04:05:26.391324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/brenns10/lsh"}, {"content_hash": "9fa46bfc6498a6d8b4c393ea934a6e1a60ef947a0bc0d53c1351727c724dca5d", "fetched_at": "2026-08-29T11:10:10.832527+00:00", "kind": "homepage", "missing": false, "url": "http://brennan.io/2015/01/16/write-a-shell-in-c/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:26.391324+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:26.391324+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:26.391324+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:34:12.597535+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "245eb82926a6c5171720293f965028e792d696c8000bc71fa1bd8d1027a2749d", "fetched_at": "2026-08-28T04:05:26.391324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/brenns10/lsh"}, {"content_hash": "9fa46bfc6498a6d8b4c393ea934a6e1a60ef947a0bc0d53c1351727c724dca5d", "fetched_at": "2026-08-29T11:10:10.832527+00:00", "kind": "homepage", "missing": false, "url": "http://brennan.io/2015/01/16/write-a-shell-in-c/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:26.391324+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:26.391324+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:34:12.597535+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "245eb82926a6c5171720293f965028e792d696c8000bc71fa1bd8d1027a2749d", "fetched_at": "2026-08-28T04:05:26.391324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/brenns10/lsh"}, {"content_hash": "9fa46bfc6498a6d8b4c393ea934a6e1a60ef947a0bc0d53c1351727c724dca5d", "fetched_at": "2026-08-29T11:10:10.832527+00:00", "kind": "homepage", "missing": false, "url": "http://brennan.io/2015/01/16/write-a-shell-in-c/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:34:12.597535+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "245eb82926a6c5171720293f965028e792d696c8000bc71fa1bd8d1027a2749d", "fetched_at": "2026-08-28T04:05:26.391324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/brenns10/lsh"}, {"content_hash": "9fa46bfc6498a6d8b4c393ea934a6e1a60ef947a0bc0d53c1351727c724dca5d", "fetched_at": "2026-08-29T11:10:10.832527+00:00", "kind": "homepage", "missing": false, "url": "http://brennan.io/2015/01/16/write-a-shell-in-c/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:34:12.597535+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "245eb82926a6c5171720293f965028e792d696c8000bc71fa1bd8d1027a2749d", "fetched_at": "2026-08-28T04:05:26.391324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/brenns10/lsh"}, {"content_hash": "9fa46bfc6498a6d8b4c393ea934a6e1a60ef947a0bc0d53c1351727c724dca5d", "fetched_at": "2026-08-29T11:10:10.832527+00:00", "kind": "homepage", "missing": false, "url": "http://brennan.io/2015/01/16/write-a-shell-in-c/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:34:12.597535+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "245eb82926a6c5171720293f965028e792d696c8000bc71fa1bd8d1027a2749d", "fetched_at": "2026-08-28T04:05:26.391324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/brenns10/lsh"}, {"content_hash": "9fa46bfc6498a6d8b4c393ea934a6e1a60ef947a0bc0d53c1351727c724dca5d", "fetched_at": "2026-08-29T11:10:10.832527+00:00", "kind": "homepage", "missing": false, "url": "http://brennan.io/2015/01/16/write-a-shell-in-c/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4254, "days_push": 1492, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}