https://github.com/capjamesg/hypertext-coffee-pot

A Python implementation of the HyperText Coffee Pot Control Protocol.

https://github.com/capjamesg/hypertext-coffee-pot

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.2%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

A Python implementation of the HyperText Coffee Pot Control Protocol.

Basic Info
  • Host: GitHub
  • Owner: capjamesg
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 246 KB
Statistics
  • Stars: 3
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 4 years ago · Last pushed over 4 years ago
Metadata Files
Readme License

README.md

James' Coffee Pot

James' Coffee Pot (also referred to as CoffeePot) is a server for coffee pot control.

The coffee pot server complies with the Hyper Text Coffee Pot Control Protocol (HTCPCP), a protocol defined in an IETF RFC memo.

This project contains two programs:

  • A coffee pot server, accessible using the coffee:// URI scheme.
  • A web interface that allows you to easily interact with the server.

The coffee pot has the ability to track coffees so that a coffee cannot be ordered when one is already brewing.

A live version of the coffee pot is available at coffeepot.jamesg.blog.

Screenshot

The coffee pot web dashboard

Installation

To use this project, first install the required dependencies. You can do so with this command:

pip install -r requirements.txt

Next, start the coffee pot server:

python3 coffee.py

In a separate terminal, start the web interface for the coffee pot server:

python3 app.py

After running the commands above, you are ready to start using the project.

Milk is poured in the coffee after five minutes of brewing. You can use the web application to send a WHEN request to stop pouring milk on demand.

Alternative Milk Support

The coffee server can accept requests for almond, oat, soya, and coconut milk. While not defined in the original specification, these values have grown enough support among coffee drinkers to merit inclusion.

HTTP 418 Status Code Support

The coffee pot does not support the HTTP 418 status code. This is because the application only allows you to define a coffee pot as a brewing device.

Technologies

This project makes use of the following technologies:

  • Python
  • socket
  • Flask

License

This project is licensed under an MIT license.

Contributors

  • capjamesg

Owner

  • Name: James
  • Login: capjamesg
  • Kind: user
  • Location: Scotland
  • Company: @Roboflow

from words, wonder.

GitHub Events

Total
  • Watch event: 2
Last Year
  • Watch event: 2

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels