{"id":15779720,"url":"https://github.com/rgl/use-rqlite-go","last_synced_at":"2026-04-15T15:43:53.023Z","repository":{"id":244628482,"uuid":"815793145","full_name":"rgl/use-rqlite-go","owner":"rgl","description":"My rqlite Go example","archived":false,"fork":false,"pushed_at":"2024-06-22T15:04:36.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-31T11:06:19.345Z","etag":null,"topics":["go","golang","rqlite","sqlite"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/rgl.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-06-16T07:05:55.000Z","updated_at":"2024-06-22T15:04:39.000Z","dependencies_parsed_at":"2024-06-16T08:36:25.431Z","dependency_job_id":"fc925cc3-d651-4070-9ea2-64bc0b24f470","html_url":"https://github.com/rgl/use-rqlite-go","commit_stats":null,"previous_names":["rgl/use-rqlite-go"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fuse-rqlite-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fuse-rqlite-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fuse-rqlite-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fuse-rqlite-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rgl","download_url":"https://codeload.github.com/rgl/use-rqlite-go/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246492241,"owners_count":20786333,"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":["go","golang","rqlite","sqlite"],"created_at":"2024-10-04T18:21:14.088Z","updated_at":"2026-04-15T15:43:53.015Z","avatar_url":"https://github.com/rgl.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\n\n[![Build](https://github.com/rgl/use-rqlite-go/actions/workflows/main.yml/badge.svg)](https://github.com/rgl/use-rqlite-go/actions/workflows/main.yml)\n\nMy [rqlite](https://github.com/rqlite/rqlite) Go example.\n\n# Usage\n\nThis can be tested [in docker compose](#usage-docker-compose) or [in a kind kubernetes cluster](#usage-kubernetes).\n\nList this repository dependencies (and which have newer versions):\n\n```bash\nGITHUB_COM_TOKEN='YOUR_GITHUB_PERSONAL_TOKEN' ./renovate.sh\n```\n\n## Usage (docker compose)\n\nInstall docker and docker compose.\n\nCreate the environment:\n\n```bash\ndocker compose up --build --detach\ndocker compose ps\ndocker compose logs\n```\n\nStart the rqlite client:\n\n```bash\ndocker compose exec rqlite rqlite\n```\n\nExecute some commands:\n\n```sql\nPRAGMA compile_options -- show enabled extensions (e.g. fts, geopoly), et al.\n.status\n.nodes\n.schema\nselect sqlite_version()\ninsert into quote(id, author, text, url) values(100, \"Hamlet\", \"To be, or not to be, that is the question.\", null)\nselect text || ' -- ' || author as quote from quote\n.exit\n```\n\nGet a quote from the service:\n\n```bash\nwget -qO- http://localhost:4000\n```\n\nDestroy the environment:\n\n```bash\ndocker compose down --volumes --remove-orphans --timeout=0\n```\n\n## Usage (Kubernetes)\n\nInstall docker, kind, kubectl, and helm.\n\nCreate the local test infrastructure:\n\n```bash\n./.github/workflows/kind/create.sh\n```\n\nAccess the test infrastructure kind Kubernetes cluster:\n\n```bash\nexport KUBECONFIG=\"$PWD/kubeconfig.yml\"\nkubectl get nodes -o wide\n```\n\nBuild and use the use-rqlite-go example:\n\n```bash\n./build.sh \u0026\u0026 ./deploy.sh \u0026\u0026 ./test.sh \u0026\u0026 xdg-open index.html\n```\n\nStart the rqlite client:\n\n```bash\nkubectl exec --quiet --stdin --tty statefulset/rqlite -- rqlite\n```\n\nExecute some commands:\n\n```sql\nPRAGMA compile_options -- show enabled extensions (e.g. fts, geopoly), et al.\n.status\n.nodes\n.schema\nselect sqlite_version()\ninsert into quote(id, author, text, url) values(100, \"Hamlet\", \"To be, or not to be, that is the question.\", null)\nselect text || ' -- ' || author as quote from quote\n.exit\n```\n\nDestroy the local test infrastructure:\n\n```bash\n./.github/workflows/kind/destroy.sh\n```\n\n# References\n\n* [rqlite homepage](https://rqlite.io)\n* [rqlite source-code repositories](https://github.com/rqlite)\n* [rqlite Go client (gorqlite)](https://github.com/rqlite/gorqlite)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgl%2Fuse-rqlite-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frgl%2Fuse-rqlite-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgl%2Fuse-rqlite-go/lists"}