No description
| .env.example | ||
| .gitignore | ||
| compose.yml | ||
| deno.json | ||
| deno.lock | ||
| Dockerfile | ||
| LICENSE | ||
| machines.ts | ||
| main.ts | ||
| README.md | ||
| shell.nix | ||
Washinima
Checking every 30 seconds for a laundry station on one of WashNet's Laundrettes? Get notified instead!
Development
Set-up your development environment with nix-shell.
Deployment
- Clone the repository.
- Copy
.env.exampleto.envand change the respective environment variables- You can get the WashNet AJAX URL by exploring the XHR/Fetch requests of your Laundrette's status page.
There will be a GET request to
/ajax_controller/displayMachines/.../en, that is the URL you are looking for. - You can replace
washnet-api-provider.examplewith the hostname of your provider.
- You can get the WashNet AJAX URL by exploring the XHR/Fetch requests of your Laundrette's status page.
There will be a GET request to
- Run
docker compose up -dto start the container. - Subscribe to the ntfy topic you set in the
.envfile.- Avoid predictable or common topic names. You can generate a random topic name with the following command:
echo "washinima_$(od -vN 16 -An -tx1 /dev/urandom | tr -d ' \n' | head -c 12)"
- Avoid predictable or common topic names. You can generate a random topic name with the following command:
Disclaimer This Software obtains information from services with a WashNet-compatible API. Check the Terms of Service of your WashNet-compatible API provider before using it. You are solely responsible for ensuring your use complies with any applicable terms. Without prejudice to the Software's license, you accept full responsibility for any consequences.