{"id":16381006,"url":"https://github.com/jasl/play-with-kwil","last_synced_at":"2026-06-28T07:31:38.198Z","repository":{"id":233715004,"uuid":"787683823","full_name":"jasl/play-with-kwil","owner":"jasl","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-21T13:34:36.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-30T17:31:02.531Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/jasl.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-17T01:36:55.000Z","updated_at":"2024-05-21T13:34:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"5c88d4e5-de6d-4cdb-9db8-fec3ac347136","html_url":"https://github.com/jasl/play-with-kwil","commit_stats":null,"previous_names":["jasl/play-with-kwil"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jasl/play-with-kwil","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasl%2Fplay-with-kwil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasl%2Fplay-with-kwil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasl%2Fplay-with-kwil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasl%2Fplay-with-kwil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jasl","download_url":"https://codeload.github.com/jasl/play-with-kwil/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasl%2Fplay-with-kwil/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34881384,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-28T02:00:05.809Z","response_time":54,"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":[],"created_at":"2024-10-11T03:53:07.212Z","updated_at":"2026-06-28T07:31:38.181Z","avatar_url":"https://github.com/jasl.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Kwil playground\n====\n\n## Requirements\n\n- Deno\n- Docker\n- Kwil\n\n## Single node\n\nStart PostgreSQL container\n\n```\ndocker run -d -p 5440:5432 -e \"POSTGRES_HOST_AUTH_METHOD=trust\" -e PGDATA=/var/lib/postgresql/data/pgdata -v ./kwil-testnet/node0/pg_mount:/var/lib/postgresql/data --name kwil-pg-node0 -d kwildb/postgres:latest\n```\n\nGenerate Kwil genesis\n\n```\nkwil-admin setup testnet --chain-id \"kwil-chain-tmp\" -v 1 --hostnames \"localhost\" --output-dir ./kwil-testnet\n```\n\nStart Kwil node\n\n```\nkwild --root-dir ./kwil-testnet/node0 --app.pg-db-port 5440\n```\n\n## Multiple nodes\n\n\nStart PostgreSQL containers\n\n```\ndocker run -d -p 5440:5432 -e \"POSTGRES_HOST_AUTH_METHOD=trust\" -e PGDATA=/var/lib/postgresql/data/pgdata -v ./kwil-testnet/node0/pg_mount:/var/lib/postgresql/data --name kwil-pg-node0 -d kwildb/postgres:latest\n```\n\n```\ndocker run -d -p 5441:5432 -e \"POSTGRES_HOST_AUTH_METHOD=trust\" -e PGDATA=/var/lib/postgresql/data/pgdata -v ./kwil-testnet/node1/pg_mount:/var/lib/postgresql/data --name kwil-pg-node1 -d kwildb/postgres:latest\n```\n\n```\ndocker run -d -p 5442:5432 -e \"POSTGRES_HOST_AUTH_METHOD=trust\" -e PGDATA=/var/lib/postgresql/data/pgdata -v ./kwil-testnet/node2/pg_mount:/var/lib/postgresql/data --name kwil-pg-node2 -d kwildb/postgres:latest\n```\n\nGenerate Kwil genesis\n\n```\nkwil-admin setup testnet --chain-id \"kwil-chain-tmp\" -v 3 --hostnames \"localhost,localhost,localhost\" --output-dir ./kwil-testnet\n```\n\nStart Kwil nodes\n\n```\nkwild --root-dir ./kwil-testnet/node0 --app.pg-db-port 5440\n```\n\n```\nkwild --root-dir ./kwil-testnet/node1 --app.pg-db-port 5441\n```\n\n```\nkwild --root-dir ./kwil-testnet/node2 --app.pg-db-port 5442\n```\n\n## Deploy DB\n\n```\nexport KWIL_PRIV_KEY=\"c71d41fa79464fa467aee3f56436b366baa2e738d07808b6cbf1219f43152a61\"\nkwil-cli database deploy --path=./setup.kf --kwil-provider=\"http://localhost:8080\" --chain-id \"kwil-chain-tmp\" --private-key $KWIL_PRIV_KEY --sync\n```\n\n## Run POC\n\n```\ndeno run --allow-all poc.ts\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasl%2Fplay-with-kwil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjasl%2Fplay-with-kwil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasl%2Fplay-with-kwil/lists"}