{"id":32483646,"url":"https://github.com/zmaril/crashcart","last_synced_at":"2025-10-27T03:36:30.547Z","repository":{"id":251019439,"uuid":"836155037","full_name":"zmaril/crashcart","owner":"zmaril","description":"get the crashcart in here stat, this server is about to flatline ","archived":false,"fork":false,"pushed_at":"2024-07-31T10:53:14.000Z","size":161,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-01T10:40:49.888Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://crashcart.dev","language":"TypeScript","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/zmaril.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":"2024-07-31T09:05:44.000Z","updated_at":"2024-07-31T10:53:18.000Z","dependencies_parsed_at":"2024-07-31T10:53:14.946Z","dependency_job_id":null,"html_url":"https://github.com/zmaril/crashcart","commit_stats":null,"previous_names":["zmaril/crashcart"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zmaril/crashcart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmaril%2Fcrashcart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmaril%2Fcrashcart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmaril%2Fcrashcart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmaril%2Fcrashcart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zmaril","download_url":"https://codeload.github.com/zmaril/crashcart/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmaril%2Fcrashcart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281211350,"owners_count":26462074,"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","status":"online","status_checked_at":"2025-10-27T02:00:05.855Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-10-27T03:36:21.936Z","updated_at":"2025-10-27T03:36:30.542Z","avatar_url":"https://github.com/zmaril.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚨🚨🚨 Crashcart 🚨🚨🚨\n\n![A crash cart from wikipedia](https://upload.wikimedia.org/wikipedia/commons/6/6a/Crash_Cart.jpg)\n\nCrashcart is an in progress suite of tools used to diagnose and treat various problems that a server might encounter during its lifetime, particularly in times of crisis. Crashcart combines an interactive notebooks built on top of rerun.io with a SQL to BPF compiler in order to let system administrators of all stripes quickly and confidently deal with a wide variety of issues that might affect a system. \n\nWork in progress. \n\n# Quickstart \n\nTo install crashcart, run the following commands:\n```bash\ngit clone https://github.com/zmaril/crashcart\ncd crashcart\ncargo install rerun-cli\ncargo install --path .\ncrashcart\n```\n\nFor now to update crashcart, run the following commands: \n```bash\ncd crashcart\ngit pull\ncargo install --path .\n```\n\n# Motivation \n\nI never really got AWK, and so bpftrace never really clicked with me. Likewise, using bpf directly is hard and it never became the tool I reach for first. About ten years ago, I thought about compiling SQL to BPF, but it seemed really difficult to do. I still haven't done it yet, but the tools have advanced enough now that I think it feels possible in the next few weeks with some work. \n\n# Architecture \n\n\n### UI \n\nConstraints: good graphing and visualization, easy to use, easy to install, easy to share, access to the underlying system so it can use containers and ssh with KnownHosts.\n\nConsidered \n\nTrying: \n\n\n### SQL-to-BPF\n\n\n### Interchange \n\n\nSQL-to-BPF \n\nRust \nrerun.io\nopenssh and knownhosts \n\n\n\n\nUses rust\nClang\nCompiles bpf programs in clang in container on your computer, then ssh's them over. \n\nHand written lexer and parser for SQL, because I like doing that, plus writing a custom one based off sqlparser-rs seems hard. \n\n\n# Zack's todo list  \n* Set up rerun \n* Figure out how to get clang to run the right way on mac. \n* Use colima and docker in order to build stuff \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzmaril%2Fcrashcart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzmaril%2Fcrashcart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzmaril%2Fcrashcart/lists"}