{"id":20859104,"url":"https://github.com/andersinno/juomabot","last_synced_at":"2026-04-19T21:35:12.781Z","repository":{"id":55959747,"uuid":"70787736","full_name":"andersinno/juomabot","owner":"andersinno","description":"Slack slash command for tracking drinks at the office","archived":false,"fork":false,"pushed_at":"2020-12-04T11:15:36.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-05-14T11:38:40.289Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andersinno.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}},"created_at":"2016-10-13T08:54:47.000Z","updated_at":"2019-02-01T08:02:04.000Z","dependencies_parsed_at":"2022-08-15T10:20:28.468Z","dependency_job_id":null,"html_url":"https://github.com/andersinno/juomabot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andersinno/juomabot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersinno%2Fjuomabot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersinno%2Fjuomabot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersinno%2Fjuomabot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersinno%2Fjuomabot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andersinno","download_url":"https://codeload.github.com/andersinno/juomabot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersinno%2Fjuomabot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28038875,"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","status":"online","status_checked_at":"2025-12-25T02:00:05.988Z","response_time":58,"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-11-18T04:48:39.242Z","updated_at":"2025-12-25T22:16:37.319Z","avatar_url":"https://github.com/andersinno.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"juomabot\n========\n\n[![Build Status](https://travis-ci.org/andersinno/juomabot.svg?branch=master)](https://travis-ci.org/andersinno/juomabot)\n[![codecov](https://codecov.io/gh/andersinno/juomabot/branch/master/graph/badge.svg)](https://codecov.io/gh/andersinno/juomabot)\n\n\n:cocktail: Slack-based office drink tracker\n\nConfiguration\n-------------\n\nJuomabot is configured via environment variables.\n\n* Use `DATABASE_URL` to declare a SQLAlchemy database URL for `dataset` to use\n* Use `ADMIN_PASSWORD` to set the admin password required for administrative commands (the default is `hackme`)\n\nSetup\n-----\n\n* Have the `juomabot.wsgi` WSGI application running on a server however you like.\n  For the sake of example, let's say it's running on `http://juoma.example.com/`\n* Create a new slash command integration in Slack and point it to `http://juoma.example.com/slack`.\n  For the sake of example, let's say the command is `/juoma` and the admin password is still `hackme`.\n* Set up a selection of drinks with the admin commands:\n  * Add a drink: `/juoma -p hackme -a --price 10 Coca-Cola`\n  * Set a drink's price: `/juoma -p hackme -e --price 15 Coca-Cola`\n  * Toggle a drink's availability: `/juoma -p hackme -t Coca-Cola`\n  \nBilling\n-------\n\n* Use `--billing-stats` to get a CSV report of unbilled drinks.\n* Save the CSV and send it over to whoever is responsible for billing the drinks.\n* Invoke the `--bill somehashhere` command in the billing-stats response.\n* You're done! Until next time, that is. (If you rerun `--billing-stats`, it should now come up as empty.)\n\nDevelopment\n-----------\n\n* Use `py.test --cov .` to run tests.\n* Use `python runserver.py` and ngrok or something similar to test the slash command in Slack.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandersinno%2Fjuomabot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandersinno%2Fjuomabot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandersinno%2Fjuomabot/lists"}