{"id":14971433,"url":"https://github.com/anoushk1234/sqlana-store","last_synced_at":"2026-02-17T06:04:27.098Z","repository":{"id":62406755,"uuid":"554806926","full_name":"anoushk1234/sqlana-store","owner":"anoushk1234","description":"A NoSQL database built on Gensys-go's Shadow Drive.","archived":false,"fork":false,"pushed_at":"2022-11-29T16:21:03.000Z","size":243,"stargazers_count":23,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-24T08:35:06.539Z","etag":null,"topics":["database","nosql","shadow-drive","solana"],"latest_commit_sha":null,"homepage":"https://sqlana.store","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/anoushk1234.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}},"created_at":"2022-10-20T12:34:13.000Z","updated_at":"2025-05-08T03:11:29.000Z","dependencies_parsed_at":"2023-01-22T06:45:37.613Z","dependency_job_id":null,"html_url":"https://github.com/anoushk1234/sqlana-store","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/anoushk1234/sqlana-store","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anoushk1234%2Fsqlana-store","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anoushk1234%2Fsqlana-store/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anoushk1234%2Fsqlana-store/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anoushk1234%2Fsqlana-store/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anoushk1234","download_url":"https://codeload.github.com/anoushk1234/sqlana-store/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anoushk1234%2Fsqlana-store/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267647952,"owners_count":24121388,"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-07-29T02:00:12.549Z","response_time":2574,"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":["database","nosql","shadow-drive","solana"],"created_at":"2024-09-24T13:45:11.934Z","updated_at":"2026-02-17T06:04:25.685Z","avatar_url":"https://github.com/anoushk1234.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sqlana Store 🐘\n\n## Introduction\n\nFor ages storing data in accounts was a pain. You had to create a new account type for each new data type you wanted to store, you had to pay for each account and it was expensive(something like 9000 bytes = 0.02 sol/0.6 USD). That's where Store. Store leverages the genesys go's network which is cheap and fast(1GB = 0.8 USD) to create NoSQL Db structure of database, collections and documents. Using this sdk you can easily use shadow drive as a db for your dapp.\n\n\n# Demo\n[![Demo video](https://res.cloudinary.com/dev-connect/image/upload/v1667536779/img/ezgif.com-gif-makersqlanastore_ln1dpy.gif)](https://www.loom.com/share/33839b24cb49428eb98c253bcb3a83e9)\n\n# TODO\n\n- [x] insert document into collection\n- [x] insert collection\n- [x] get collection\n- [x] update collection\n- [x] create database\n- [x] list database\n- [x] create document\n- [ ] get collection with filter\n- [ ] get document with filter\n- [ ] update document\n- [ ] delete collection\n- [ ] delete document\n\n# Usage\n\nfull docs coming soon\n\nInitialize the SDK\n\n```ts\nconst client = new SqlanaStore({\n  payer,\n  network: network, // can be cluster or custom rpc url\n});\n```\n\nCreate new Database\n\n```ts\nawait client.getDrive(); // initialise shadow drive\n\nconst db = await client.createDatabase({\n  name: \"solana_quotes\",\n  size: 1,\n  unit: \"MB\",\n}); // creates database\n```\n\nOnce you create a database initialise the client with the database storage account key so it can be accessed\n\n```ts\nawait client.initClient(\"7ihYQdkxeWcJEGJwb1wc7mYhJho2bdGE6D7x6RE3Nq4Q\");\n```\n\nCreate new collection\n\n```ts\nawait client.initClient(\"7ihYQdkxeWcJEGJwb1wc7mYhJho2bdGE6D7x6RE3Nq4Q\"); // initialise client with database key and shadow drive\nconst collection = await client.createCollection(\n  \"7ihYQdkxeWcJEGJwb1wc7mYhJho2bdGE6D7x6RE3Nq4Q\", // db key, will remove requirement in future\n  \"quotes\"\n);\n```\n\nGet collection\n\n```ts\nawait client.initClient(\"7ihYQdkxeWcJEGJwb1wc7mYhJho2bdGE6D7x6RE3Nq4Q\"); // this is a common step you d it only once just adding in here so it doesnt get missed\n\nconst { collection } = await client.getCollection(\"quotes\");\n```\n\nCreate document\n\n```ts\nconst doc = await client.createDocument(\"quotes\", {\n  address,\n  quote,\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanoushk1234%2Fsqlana-store","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanoushk1234%2Fsqlana-store","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanoushk1234%2Fsqlana-store/lists"}