{"id":21633914,"url":"https://github.com/tweedegolf/drive-rs","last_synced_at":"2025-04-11T15:29:00.737Z","repository":{"id":241898983,"uuid":"804752849","full_name":"tweedegolf/drive-rs","owner":"tweedegolf","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-13T11:52:09.000Z","size":352,"stargazers_count":16,"open_issues_count":17,"forks_count":2,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-25T11:39:07.651Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://tweedegolf.github.io/drive-rs/","language":"Rust","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/tweedegolf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-05-23T07:46:20.000Z","updated_at":"2025-03-06T14:30:04.000Z","dependencies_parsed_at":"2024-11-18T10:36:48.174Z","dependency_job_id":"7451ec3c-db7c-4614-8ce6-8afd34788f69","html_url":"https://github.com/tweedegolf/drive-rs","commit_stats":null,"previous_names":["tdittr/drivers","tweedegolf/drive-rs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tweedegolf%2Fdrive-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tweedegolf%2Fdrive-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tweedegolf%2Fdrive-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tweedegolf%2Fdrive-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tweedegolf","download_url":"https://codeload.github.com/tweedegolf/drive-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248430746,"owners_count":21102074,"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":[],"created_at":"2024-11-25T03:14:29.844Z","updated_at":"2025-04-11T15:29:00.716Z","avatar_url":"https://github.com/tweedegolf.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# drive-rs\n\nA search and discovery tool for Rust drivers for embedded components.\n\n# Adding a driver to the list\n\n1. Add a new file in [`driver-db`](driver-db), named `\u003ccrate-name\u003e.toml`\n2. Either copy over one of the [other drivers](driver-db/ina219.toml) contents, or use\n   a [taplo](https://taplo.tamasfe.dev/) based editor extension\n   like [even better toml](https://marketplace.visualstudio.com/items?itemName=tamasfe.even-better-toml) to\n   fill in fields\n3. (optional) run `taplo fmt` and `taplo lint` to check the file is valid\n4. (if applicable) remove the matching line from the legacy list in [`aer.csv`](aer.csv)\n5. [Open a PR](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request)\n   to this repo with the added driver\n\nOnce we have figured out which data is useful to list, we plan to read this data from published crates. But for now\nkeeping all the data in one place makes it easier to change fields.\n\n# Contributing to the project\n\nThis project is still a work in progress and any help is appreciated. If you have an idea for how to improve it feel\nfree to open issues and PRs.\n\nSome tasks that need help right now:\n\n1. Add more information to listed drivers (see previous point), a list of missing drivers can be found in [\n   `aer.csv`](aer.csv)\n2. Improving the layout and design of the listing\n3. Make it more intuitive to find good chips to use for newcomers\n\n# Running the project\n\nFetch the db-dump from [crates.io](https://crates.io):\n\n```bash\nwget https://static.crates.io/db-dump.tar.gz\n```\n\nRun the backend to extract the data:\n\n```bash\ncargo run --release --bin read-driver-db\n```\n\nCopy the output to the frontend:\n\n```bash\ncp full-crate-db.json frontend/src/\n```\n\nInstall frontend dependencies:\n\n```bash\nnpm install --prefix frontend\n```\n\nRun the frontend:\n\n```bash\nnpm run dev --prefix frontend\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftweedegolf%2Fdrive-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftweedegolf%2Fdrive-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftweedegolf%2Fdrive-rs/lists"}