{"id":20122459,"url":"https://github.com/ttiimmothy/sqlite-rust","last_synced_at":"2026-05-10T08:51:21.681Z","repository":{"id":211282154,"uuid":"728714031","full_name":"ttiimmothy/sqlite-rust","owner":"ttiimmothy","description":"My Sqlite starts with Rust","archived":false,"fork":false,"pushed_at":"2024-02-11T21:09:06.000Z","size":67,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-13T07:30:57.367Z","etag":null,"topics":["rust","sqlite"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ttiimmothy.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-12-07T14:32:38.000Z","updated_at":"2023-12-07T14:40:09.000Z","dependencies_parsed_at":"2023-12-10T04:21:41.996Z","dependency_job_id":"b7c6924a-5f3f-4024-a44d-7a34dc6427dc","html_url":"https://github.com/ttiimmothy/sqlite-rust","commit_stats":null,"previous_names":["ttiimmothy/sqlite-rust"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttiimmothy%2Fsqlite-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttiimmothy%2Fsqlite-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttiimmothy%2Fsqlite-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttiimmothy%2Fsqlite-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ttiimmothy","download_url":"https://codeload.github.com/ttiimmothy/sqlite-rust/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241565886,"owners_count":19983210,"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":["rust","sqlite"],"created_at":"2024-11-13T19:37:52.602Z","updated_at":"2026-05-10T08:51:16.658Z","avatar_url":"https://github.com/ttiimmothy.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![progress-banner](https://backend.codecrafters.io/progress/sqlite/9146b431-6e2b-46ac-b19f-d5fd89349696)](https://app.codecrafters.io/users/codecrafters-bot?r=2qF)\n\n# Sqlite Rust\n[![ci](https://github.com/ttiimmothy/sqlite-rust/actions/workflows/ci.yml/badge.svg)](https://github.com/ttiimmothy/sqlite-rust/actions/workflows/ci.yml)\n\nThis is a starting point for Rust solutions to the\n[\"Build Your Own SQLite\" Challenge](https://codecrafters.io/challenges/sqlite).\n\nIn this challenge, you'll build a barebones SQLite implementation that supports\nbasic SQL queries like `SELECT`. Along the way we'll learn about\n[SQLite's file format](https://www.sqlite.org/fileformat.html), how indexed data\nis\n[stored in B-trees](https://jvns.ca/blog/2014/10/02/how-does-sqlite-work-part-2-btrees/)\nand more.\n\n**Note**: If you're viewing this repo on GitHub, head over to\n[codecrafters.io](https://codecrafters.io) to try the challenge.\n\n# Passing the first stage\n\nThe entry point for your SQLite implementation is in `src/main.rs`. Study and\nuncomment the relevant code, and push your changes to pass the first stage:\n\n```sh\ngit add .\ngit commit -m \"pass 1st stage\" # any msg\ngit push origin master\n```\n\nTime to move on to the next stage!\n\n# Stage 2 \u0026 beyond\n\nNote: This section is for stages 2 and beyond.\n\n1. Ensure you have `cargo (1.54)` installed locally\n2. Run `./your_sqlite3.sh` to run your program, which is implemented in\n   `src/main.rs`. This command compiles your Rust project, so it might be slow\n   the first time you run it. Subsequent runs will be fast.\n3. Commit your changes and run `git push origin master` to submit your solution\n   to CodeCrafters. Test output will be streamed to your terminal.\n\n# Sample Databases\n\nTo make it easy to test queries locally, we've added a sample database in the\nroot of this repository: `sample.db`.\n\nThis contains two tables: `apples` \u0026 `oranges`. You can use this to test your\nimplementation for the first 6 stages.\n\nYou can explore this database by running queries against it like this:\n\n```sh\n$ sqlite3 sample.db \"select id, name from apples\"\n1|Granny Smith\n2|Fuji\n3|Honeycrisp\n4|Golden Delicious\n```\n\nThere are two other databases that you can use:\n\n1. `superheroes.db`:\n   - This is a small version of the test database used in the table-scan stage.\n   - It contains one table: `superheroes`.\n   - It is ~1MB in size.\n2. `companies.db`:\n   - This is a small version of the test database used in the index-scan stage.\n   - It contains one table: `companies`, and one index: `idx_companies_country`\n   - It is ~7MB in size.\n\nThese aren't included in the repository because they're large in size. You can\ndownload them by running this script:\n\n```sh\n./download_sample_databases.sh\n```\n\nIf the script doesn't work for some reason, you can download the databases\ndirectly from\n[codecrafters-io/sample-sqlite-databases](https://github.com/codecrafters-io/sample-sqlite-databases).\n\n## License\n\nSqlite Rust is licensed under [GNU General Public License v3.0](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttiimmothy%2Fsqlite-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fttiimmothy%2Fsqlite-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttiimmothy%2Fsqlite-rust/lists"}