{"id":16520807,"url":"https://github.com/jhrcook/coffee-counter-api","last_synced_at":"2026-04-27T22:31:47.454Z","repository":{"id":53683502,"uuid":"345991847","full_name":"jhrcook/coffee-counter-api","owner":"jhrcook","description":"A simple web API for recording my coffee consumption.","archived":false,"fork":false,"pushed_at":"2021-08-13T10:42:04.000Z","size":130,"stargazers_count":2,"open_issues_count":5,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T19:18:04.072Z","etag":null,"topics":["coffee","deta","deta-micros","fastapi","python","python3","web-api"],"latest_commit_sha":null,"homepage":"https://coffee-counter.deta.dev/docs","language":"Python","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/jhrcook.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}},"created_at":"2021-03-09T12:02:50.000Z","updated_at":"2021-12-07T10:09:55.000Z","dependencies_parsed_at":"2022-09-09T14:24:10.706Z","dependency_job_id":null,"html_url":"https://github.com/jhrcook/coffee-counter-api","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/jhrcook/coffee-counter-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhrcook%2Fcoffee-counter-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhrcook%2Fcoffee-counter-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhrcook%2Fcoffee-counter-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhrcook%2Fcoffee-counter-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhrcook","download_url":"https://codeload.github.com/jhrcook/coffee-counter-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhrcook%2Fcoffee-counter-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32358509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["coffee","deta","deta-micros","fastapi","python","python3","web-api"],"created_at":"2024-10-11T16:53:10.035Z","updated_at":"2026-04-27T22:31:47.424Z","avatar_url":"https://github.com/jhrcook.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Coffee Counter web API\n\nA simple web API for recording my coffee consumption.\n\n[![python](https://img.shields.io/badge/Python-3.7-3776AB.svg?style=flat\u0026logo=python\u0026logoColor=FFFF9A)](https://www.python.org)\n[![FastAPI](https://img.shields.io/badge/FastAPI-0.63.0-009688.svg?style=flat\u0026logo=FastAPI\u0026logoColor=white)](https://fastapi.tiangolo.com) \u003cbr\u003e\n[![pytest](https://github.com/jhrcook/coffee-counter-api/actions/workflows/CI.yml/badge.svg)](https://github.com/jhrcook/coffee-counter-api/actions/workflows/CI.yml)\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\u0026logoColor=white)](https://github.com/pre-commit/pre-commit)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)\n\n**API root: [//a7a9ck.deta.dev](//a7a9ck.deta.dev)** \u003cbr\u003e\n**Interactive API documentation: [//a7a9ck.deta.dev/docs](//a7a9ck.deta.dev/docs)**\n\n## Uses\n\n### SwiftBar Plugin\n\nI have created a [SwiftBar plugin](https://github.com/jhrcook/SwiftBar-Plugins/blob/master/coffee-tracker.1h.py) that queries the API for the active bags and presents them in a drop-down menu.\nWhen one of the labels is tapped, the plugin then registers a use of the bag with the API.\n\n\u003cimg src=\"https://github.com/jhrcook/SwiftBar-Plugins/blob/master/.assets/coffee-tracker-screenshot.png\" width=\"250px\"\u003e\n\n### Streamlit web app\n\nI have built a [Streamlit](http://streamlit.io/) web application for visualizing and analyzing the data collected through this API: [app](https://share.streamlit.io/jhrcook/coffee-counter-streamlit/app.py) | [source](https://github.com/jhrcook/coffee-counter-streamlit)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhrcook%2Fcoffee-counter-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhrcook%2Fcoffee-counter-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhrcook%2Fcoffee-counter-api/lists"}