{"id":26061689,"url":"https://github.com/chromy/crunch","last_synced_at":"2025-04-11T09:57:24.642Z","repository":{"id":57168147,"uuid":"185044104","full_name":"chromy/crunch","owner":"chromy","description":"sqlite3 compiled to WASM for the browser and server","archived":false,"fork":false,"pushed_at":"2021-08-11T13:23:26.000Z","size":56,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T19:51:21.367Z","etag":null,"topics":["sql","sqlite","sqlite3","wasm","webassembly"],"latest_commit_sha":null,"homepage":"http://crunch.tsundoku.io","language":"Python","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/chromy.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}},"created_at":"2019-05-05T14:46:45.000Z","updated_at":"2023-10-04T18:56:34.000Z","dependencies_parsed_at":"2022-08-24T15:10:43.556Z","dependency_job_id":null,"html_url":"https://github.com/chromy/crunch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chromy%2Fcrunch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chromy%2Fcrunch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chromy%2Fcrunch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chromy%2Fcrunch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chromy","download_url":"https://codeload.github.com/chromy/crunch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247773721,"owners_count":20993639,"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":["sql","sqlite","sqlite3","wasm","webassembly"],"created_at":"2025-03-08T15:13:07.390Z","updated_at":"2025-04-11T09:57:24.626Z","avatar_url":"https://github.com/chromy.png","language":"Python","readme":"# Crunch\nsqlite3 compiled to WASM with Javascript bindings.\nFor the browser and the server.\n\n```\n$ node -e \"require('repl').start({ignoreUndefined: true})\" --experimental-repl-await\n\u003e const {createEngine} = require('@tsundoku/crunch');\n\u003e const engine = await createEngine();\n\u003e const db = await engine.open();\n\u003e db.exec('CREATE TABLE peaks (name TEXT, m INTEGER)');\n\u003e db.exec('INSERT INTO peaks (name, m) VALUES (\"Olympus Mons\", 21171)');\n\u003e [...db.query('SELECT * FROM peaks')];\n[ { name: 'Olympus Mons', m: 21171 } ]\n```\n\n## Setup\n```\n$ git clone https://github.com/chromy/crunch.git \n$ cd crunch\n$ tools/deps\n$ tools/gen out \n$ tools/deps/ninja -C out\n```\n\n## Build\n```\n$ tools/deps/ninja -C out\n```\n\n## Test\n```\n$ tools/test\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchromy%2Fcrunch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchromy%2Fcrunch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchromy%2Fcrunch/lists"}