{"id":34721449,"url":"https://github.com/asm2212/cacheflow","last_synced_at":"2026-05-27T14:36:59.176Z","repository":{"id":329696271,"uuid":"1120428999","full_name":"asm2212/cacheflow","owner":"asm2212","description":"A lightweight HTTP caching reverse proxy optimized for high-latency, unreliable networks, built in Go.","archived":false,"fork":false,"pushed_at":"2025-12-21T09:15:28.000Z","size":3026,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-23T01:32:53.968Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asm2212.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,"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}},"created_at":"2025-12-21T07:32:15.000Z","updated_at":"2025-12-21T09:15:32.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/asm2212/cacheflow","commit_stats":null,"previous_names":["asm2212/cacheflow"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/asm2212/cacheflow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asm2212%2Fcacheflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asm2212%2Fcacheflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asm2212%2Fcacheflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asm2212%2Fcacheflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asm2212","download_url":"https://codeload.github.com/asm2212/cacheflow/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asm2212%2Fcacheflow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33570993,"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-05-27T02:00:06.184Z","response_time":53,"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":"2025-12-25T01:48:09.076Z","updated_at":"2026-05-27T14:36:59.164Z","avatar_url":"https://github.com/asm2212.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CacheFlow\n\n**CacheFlow** is a lightweight HTTP caching reverse proxy written in Go, designed for **high-latency, unreliable network environments**.\n\n\u003e **⚠️ Sprint 0 Foundation Status**: This repository contains the foundation structure only. No business logic is implemented yet.\n\n## 🎯 Sprint 0 - Foundation Complete\n\n✅ **Repository Structure**: Complete Go project layout  \n✅ **Tooling**: Makefile, linting, and build system  \n✅ **Documentation**: Architecture and context documentation  \n✅ **Development Ready**: Ready for Sprint 1 feature development  \n\n### 📁 Project Structure\n\n```\ncacheflow/\n├── cmd/\n│   └── serve/\n│       └── main.go\n│\n├── internal/\n│   ├── cache/\n│   │   ├── cache.go\n│   │   └── lru.go\n│   │\n│   ├── proxy/\n│   │   └── proxy.go\n│   │\n│   ├── middleware/\n│   │   └── cache.go\n│   │\n│   ├── config/\n│   │   └── config.go\n│   │\n│   └── server/\n│       └── server.go\n│\n├── docs/\n│   └── ETHIOPIAN_CONTEXT.md\n│\n├── ARCHITECTURE.md\n├── README.md\n├── Makefile\n├── .golangci.yml\n├── go.mod\n└── go.sum\n```\n\n## 🛠️ Development\n\n### Prerequisites\n- Go **1.21+**\n- `golangci-lint` for linting\n\n### Installation\n\n```bash\ngit clone https://github.com/asmareadmasu/cacheflow.git\ncd cacheflow\nmake install-dev\n```\n\n### Commands\n\n```bash\nmake build    # Build the application\nmake test     # Run tests\nmake lint     # Run linters\nmake run      # Run the application\nmake clean    # Clean build artifacts\nmake help     # Show all available commands\n```\n\n### Linting\n\nConfigured linters:\n- `govet` - Go vet\n- `errcheck` - Error checking\n- `staticcheck` - Static analysis\n- `ineffassign` - Ineffective assignment detection\n\n## 📋 Sprint 0 Definition of Done\n\n- ✅ Repository structure matches specification\n- ✅ `make test` and `make lint` pass\n- ✅ README and ARCHITECTURE.md exist\n- ✅ No feature or business logic implemented\n- ✅ Clean, professional Go repository ready for Sprint 1\n\n## 📖 Documentation\n\n- **[ARCHITECTURE.md](ARCHITECTURE.md)**: System design, interfaces, and trade-offs\n- **[docs/ETHIOPIAN_CONTEXT.md](docs/ETHIOPIAN_CONTEXT.md)**: Ethiopian network context and optimization rationale\n\n## 🎯 Success Metrics (Sprint 1 Targets)\n\n- Cache hit latency \u003c 5ms\n- ≥ 95% cache hit rate on repeat requests  \n- 1 upstream call per concurrent cache miss\n- Serve stale data on upstream failure\n\n## 🇪🇹 Ethiopian Context\n\nCacheFlow is optimized for regions with:\n- High latency networks (500ms-2s RTT)\n- Expensive mobile data ($0.50-$2.00/GB)\n- Intermittent connectivity\n- Power instability\n\nSee [docs/ETHIOPIAN_CONTEXT.md](docs/ETHIOPIAN_CONTEXT.md) for detailed engineering analysis.\n\n## 🚀 Next Steps\n\n**Sprint 1** will implement:\n- Cache layer with LRU eviction\n- HTTP proxy with request forwarding\n- Middleware for caching logic\n- Metrics and observability\n\n---\n\n*Built with ❤️ for high-latency, bandwidth-constrained environments*\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasm2212%2Fcacheflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasm2212%2Fcacheflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasm2212%2Fcacheflow/lists"}