{"id":17018120,"url":"https://github.com/krsoninikhil/sqlite-clone","last_synced_at":"2026-04-28T21:34:29.752Z","repository":{"id":137685393,"uuid":"182969850","full_name":"krsoninikhil/sqlite-clone","owner":"krsoninikhil","description":"A clone of Sqlite database, follows this tutorial: https://cstack.github.io/db_tutorial/","archived":false,"fork":false,"pushed_at":"2019-05-27T20:47:43.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-15T21:32:05.581Z","etag":null,"topics":["c","database","diy","sqlite","tutorial"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krsoninikhil.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":"2019-04-23T08:29:22.000Z","updated_at":"2024-01-16T05:03:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"2439d5e1-bc86-4e2e-9840-a49722de1a68","html_url":"https://github.com/krsoninikhil/sqlite-clone","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/krsoninikhil/sqlite-clone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krsoninikhil%2Fsqlite-clone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krsoninikhil%2Fsqlite-clone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krsoninikhil%2Fsqlite-clone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krsoninikhil%2Fsqlite-clone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krsoninikhil","download_url":"https://codeload.github.com/krsoninikhil/sqlite-clone/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krsoninikhil%2Fsqlite-clone/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32400866,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["c","database","diy","sqlite","tutorial"],"created_at":"2024-10-14T06:44:34.316Z","updated_at":"2026-04-28T21:34:29.734Z","avatar_url":"https://github.com/krsoninikhil.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sqlite-clone\nA clone of Sqlite database, follows this tutorial:\nhttps://cstack.github.io/db_tutorial/\n\nEach part of tutorial is covered in a separate commit. This database\nhas following functionalities:\n- One predefined table.\n- Persistent storage to a file.\n- Data i.e. table rows stored as B-Tree.\n- Support `SELECT` and `INSERT` statement, not in standard SQL format\n  though. Example syntax can be seen in `main_spec.rb` file.\n- Support meta-commands like `.exit` to save and exit, `.btree` to\n  print underlying B-Tree.\n\n# Build And Test\n- Build binary and execute using:\n  ```bash\n  $ gcc main.c\n  $ ./a.out test.db\n  ```\n- Test are written using `rspec` Ruby gem, which can be installed as:\n  ```bash\n  $ sudo gem install rspec\n  ```\n- Run test by:\n  ```bash\n  $ rspec main_spec.rb\n  ```\n\n# LICENSE\nMIT License. License of original tutorial can be found\n[here](https://github.com/cstack/db_tutorial/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrsoninikhil%2Fsqlite-clone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrsoninikhil%2Fsqlite-clone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrsoninikhil%2Fsqlite-clone/lists"}