{"adoption": {"forks": 355, "observed_at": "2026-08-28T04:06:58.226372+00:00", "stars": 2519}, "canonical_url": "https://ross.abutalabs.com/products/selfie", "card": {"archived": false, "artifact_type": "learning-resource", "description": "An educational software system of a tiny self-compiling C compiler, a tiny self-executing RISC-V emulator, and a tiny self-hosting RISC-V hypervisor.", "domain": ["education", "compilers", "operating-systems", "programming-languages"], "enriched": true, "function": ["compiler", "interpreter", "simulation"], "health_score": 78, "homepage": "http://selfie.cs.uni-salzburg.at", "language": "Jupyter Notebook", "license": "BSD-2-Clause", "license_family": "permissive", "maturity": "active", "member_repos": ["cksystemsteaching/selfie"], "name": "cksystemsteaching/selfie", "platform": ["windows", "cross-platform", "cli"], "pushed_at": "2026-08-08T15:33:01+00:00", "repo": "cksystemsteaching/selfie", "stars": 2519, "tags": ["risc-v", "teaching", "hypervisor", "emulator", "self-compiling-compiler", "systems-programming", "c-star", "education", "virtual-machine", "computer-science", "linux", "macos"], "topics": ["teaching", "computer-science", "compiler", "emulator", "virtual-machine", "symbolic-execution-engine"], "urls": [], "use_cases": ["teach compiler construction to students", "learn how a RISC-V emulator works", "study hypervisor and virtual machine monitor design", "explore self-compiling and self-hosting systems code", "run tiny C programs on RISC-V in a classroom setting", "learn systems programming with a minimal codebase"], "what_it_is": "Selfie is an educational 12KLOC single-file C implementation of a self-compiling C compiler (starc), a self-executing RISC-V emulator (mipster), and a self-hosting RISC-V hypervisor (hypster). It is designed for teaching undergraduate and graduate students the design of compilers, operating systems, and virtual machine monitors.", "when_to_avoid": ["you need a production-grade compiler or RISC-V toolchain", "you require full C language support or high performance", "you need a general-purpose emulator for real-world software"], "when_to_choose": ["teaching or learning compilers, emulators, or hypervisors from a small readable codebase", "you want a minimal educational RISC-V toolchain", "you need a self-contained system for a computer science course"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/selfie", "repo": "cksystemsteaching/selfie", "role": "main", "score": 66}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.226372+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:26:06.786014+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "726c233a196755565f3bc78f0c4243d9d25b9df986fe19191adbf106d8039518", "fetched_at": "2026-08-28T04:06:58.226372+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cksystemsteaching/selfie"}, {"content_hash": "ab4981c77534af0a67fe1c7f99701660cc308daf6930b73f804a878eb91adf4e", "fetched_at": "2026-08-29T10:08:17.204916+00:00", "kind": "homepage", "missing": false, "url": "http://selfie.cs.uni-salzburg.at"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.226372+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:26:06.786014+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "726c233a196755565f3bc78f0c4243d9d25b9df986fe19191adbf106d8039518", "fetched_at": "2026-08-28T04:06:58.226372+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cksystemsteaching/selfie"}, {"content_hash": "ab4981c77534af0a67fe1c7f99701660cc308daf6930b73f804a878eb91adf4e", "fetched_at": "2026-08-29T10:08:17.204916+00:00", "kind": "homepage", "missing": false, "url": "http://selfie.cs.uni-salzburg.at"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:26:06.786014+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "726c233a196755565f3bc78f0c4243d9d25b9df986fe19191adbf106d8039518", "fetched_at": "2026-08-28T04:06:58.226372+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cksystemsteaching/selfie"}, {"content_hash": "ab4981c77534af0a67fe1c7f99701660cc308daf6930b73f804a878eb91adf4e", "fetched_at": "2026-08-29T10:08:17.204916+00:00", "kind": "homepage", "missing": false, "url": "http://selfie.cs.uni-salzburg.at"}], "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:06:58.226372+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.226372+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.226372+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:26:06.786014+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "726c233a196755565f3bc78f0c4243d9d25b9df986fe19191adbf106d8039518", "fetched_at": "2026-08-28T04:06:58.226372+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cksystemsteaching/selfie"}, {"content_hash": "ab4981c77534af0a67fe1c7f99701660cc308daf6930b73f804a878eb91adf4e", "fetched_at": "2026-08-29T10:08:17.204916+00:00", "kind": "homepage", "missing": false, "url": "http://selfie.cs.uni-salzburg.at"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.226372+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.226372+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:26:06.786014+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "726c233a196755565f3bc78f0c4243d9d25b9df986fe19191adbf106d8039518", "fetched_at": "2026-08-28T04:06:58.226372+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cksystemsteaching/selfie"}, {"content_hash": "ab4981c77534af0a67fe1c7f99701660cc308daf6930b73f804a878eb91adf4e", "fetched_at": "2026-08-29T10:08:17.204916+00:00", "kind": "homepage", "missing": false, "url": "http://selfie.cs.uni-salzburg.at"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.226372+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.226372+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.226372+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:26:06.786014+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "726c233a196755565f3bc78f0c4243d9d25b9df986fe19191adbf106d8039518", "fetched_at": "2026-08-28T04:06:58.226372+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cksystemsteaching/selfie"}, {"content_hash": "ab4981c77534af0a67fe1c7f99701660cc308daf6930b73f804a878eb91adf4e", "fetched_at": "2026-08-29T10:08:17.204916+00:00", "kind": "homepage", "missing": false, "url": "http://selfie.cs.uni-salzburg.at"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.226372+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.226372+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:26:06.786014+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "726c233a196755565f3bc78f0c4243d9d25b9df986fe19191adbf106d8039518", "fetched_at": "2026-08-28T04:06:58.226372+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cksystemsteaching/selfie"}, {"content_hash": "ab4981c77534af0a67fe1c7f99701660cc308daf6930b73f804a878eb91adf4e", "fetched_at": "2026-08-29T10:08:17.204916+00:00", "kind": "homepage", "missing": false, "url": "http://selfie.cs.uni-salzburg.at"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:26:06.786014+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "726c233a196755565f3bc78f0c4243d9d25b9df986fe19191adbf106d8039518", "fetched_at": "2026-08-28T04:06:58.226372+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cksystemsteaching/selfie"}, {"content_hash": "ab4981c77534af0a67fe1c7f99701660cc308daf6930b73f804a878eb91adf4e", "fetched_at": "2026-08-29T10:08:17.204916+00:00", "kind": "homepage", "missing": false, "url": "http://selfie.cs.uni-salzburg.at"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:26:06.786014+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "726c233a196755565f3bc78f0c4243d9d25b9df986fe19191adbf106d8039518", "fetched_at": "2026-08-28T04:06:58.226372+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cksystemsteaching/selfie"}, {"content_hash": "ab4981c77534af0a67fe1c7f99701660cc308daf6930b73f804a878eb91adf4e", "fetched_at": "2026-08-29T10:08:17.204916+00:00", "kind": "homepage", "missing": false, "url": "http://selfie.cs.uni-salzburg.at"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:26:06.786014+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "726c233a196755565f3bc78f0c4243d9d25b9df986fe19191adbf106d8039518", "fetched_at": "2026-08-28T04:06:58.226372+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cksystemsteaching/selfie"}, {"content_hash": "ab4981c77534af0a67fe1c7f99701660cc308daf6930b73f804a878eb91adf4e", "fetched_at": "2026-08-29T10:08:17.204916+00:00", "kind": "homepage", "missing": false, "url": "http://selfie.cs.uni-salzburg.at"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 96, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4018, "days_push": 25, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 66, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}