{"id":22401902,"url":"https://github.com/jasonlovesdoggo/abacus","last_synced_at":"2026-06-30T17:31:44.580Z","repository":{"id":227416563,"uuid":"771355882","full_name":"JasonLovesDoggo/abacus","owner":"JasonLovesDoggo","description":":abacus: A highly-scalable and stateless counting API ","archived":false,"fork":false,"pushed_at":"2026-05-17T04:31:33.000Z","size":1480,"stargazers_count":36,"open_issues_count":6,"forks_count":7,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-05-17T05:25:43.124Z","etag":null,"topics":["countapi","countapi-alternative","counter","go"],"latest_commit_sha":null,"homepage":"https://abacus.jsn.cam","language":"Go","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/JasonLovesDoggo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["JasonLovesDoggo"]}},"created_at":"2024-03-13T06:32:43.000Z","updated_at":"2026-05-17T04:31:37.000Z","dependencies_parsed_at":"2024-05-30T02:48:20.893Z","dependency_job_id":"ee75b85b-cc9f-49a7-a1c0-8edbb71571d8","html_url":"https://github.com/JasonLovesDoggo/abacus","commit_stats":null,"previous_names":["jasonlovesdoggo/abacus"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/JasonLovesDoggo/abacus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonLovesDoggo%2Fabacus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonLovesDoggo%2Fabacus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonLovesDoggo%2Fabacus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonLovesDoggo%2Fabacus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JasonLovesDoggo","download_url":"https://codeload.github.com/JasonLovesDoggo/abacus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonLovesDoggo%2Fabacus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34977667,"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-30T02:00:05.919Z","response_time":92,"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":["countapi","countapi-alternative","counter","go"],"created_at":"2024-12-05T09:09:28.006Z","updated_at":"2026-06-30T17:31:44.572Z","avatar_url":"https://github.com/JasonLovesDoggo.png","language":"Go","funding_links":["https://github.com/sponsors/JasonLovesDoggo"],"categories":[],"sub_categories":[],"readme":"# Abacus—A highly scalable and stateless counting API\n\n\u003e Note: Abacus was designed as a direct replacement/upgrade for [CountAPI](https://countapi.xyz/) as it got taken down\n\nIn order to get started, please visit the docs at https://abacus.jsn.cam\n\n\u003c!--\n## Key features\n- Blazing-Fast Performance: Powered by Golang and Valkey (fork of redis), Abacus delivers unparalleled speed and efficiency.\n- JSONP Support: Seamlessly integrate Abacus into your web applications with cross-origin resource sharing (CORS) support.\n--\u003e\n\n\u003cbr/\u003e\n\n---\n\n### Development\n\n1. Install Golang \u0026 Redis\n\n2. Run `go mod install` to install the dependencies\n3. Add a `.env` file to the root of the project (or set the environment variables manually) following the format specified in .env.example\n\n4. Run `air` (if installed) or `go run .` to build and run the API locally.\n\n5. The API will be running on `http://0.0.0.0:8080` by default.\n\n## Todos\n\n- [x] Documentation (https://abacus.jsn.cam)\n- [x] ~~K8 Deployment~~ (fly.io + Redis on OCI)\n- [x] JSONP Support (https://gin-gonic.com/docs/examples/jsonp/)\n- [x] impl /create endpoint which creates a new counter initialized to 0 and returns a secret key that can be used to modify the counter via the following endpoints\n  - [x] /delete endpoint\n  - [x] /set endpoint\n  - [x] /reset (alias to /set 0)\n  - [x] /update endpoint (updates the counter x)\n- [x] SSE Stream for the counters? Low priority.\n- [x] Tests\n- [x] Rate limiting (max 30 requests per 10 second per IP address)\n- [ ] Create [Python](https://github.com/BenJetson/py-countapi), [JS Wrappers](https://github.com/mlomb/countapi-js) \u0026 Go client libraries\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasonlovesdoggo%2Fabacus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjasonlovesdoggo%2Fabacus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasonlovesdoggo%2Fabacus/lists"}