https://github.com/merlin04/reed-commons-menu
Bon Appetit cafeteria menu
https://github.com/merlin04/reed-commons-menu
bon-appetit cafeteria ocaml reed reed-college
Last synced: about 2 months ago
JSON representation
Bon Appetit cafeteria menu
- Host: GitHub
- URL: https://github.com/merlin04/reed-commons-menu
- Owner: Merlin04
- Created: 2023-12-09T09:20:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-21T19:44:46.000Z (4 months ago)
- Last Synced: 2025-03-27T23:11:20.154Z (2 months ago)
- Topics: bon-appetit, cafeteria, ocaml, reed, reed-college
- Language: OCaml
- Homepage: https://menu.enby.land
- Size: 70.3 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Reed College Commons menu
[This site](https://menu.enby.land) provides a lightweight and fast way to view the Reed College dining hall menu and hours. It's built entirely in OCaml using the Dream web framework. Right now, it gets data by scraping the Bon Appetit website - they used to have a "legacy" API but unauthenticated access to it was turned off at some point so I think this is the best way to get this data?
## Installing locally
Assuming you have opam installed, just run
```shell
opam install .
```and `menu` will be added to your `PATH`.
### Redis
`menu` connects to a Redis instance located at `redis://redis` - you can change that in `bin/constants.ml`. This is used for announcement messages.
### Dependency installation
The current release version of `dream` (as of writing) is not compatible with OCaml 5.3 - running this should fix that:
```shell
opam pin add dream-pure --dev-repo
opam pin add dream-httpaf --dev-repo
opam pin add dream --dev-repo
```