https://github.com/windyakin/173n-town
https://github.com/windyakin/173n-town
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/windyakin/173n-town
- Owner: windyakin
- License: mit
- Created: 2022-06-03T05:46:28.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T14:09:50.000Z (almost 2 years ago)
- Last Synced: 2024-10-29T17:19:20.255Z (almost 2 years ago)
- Language: TypeScript
- Size: 412 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 173n-town
Crawling the 173n Town website and posting "Omikuji" results to Slack.

## Getting started
```
docker run --rm -it \
-e TOWN_USER=[Email address] \
-e TOWN_PASS=[Raw password] \
-e SLACK_WEBHOOK_URL=[Slack incomming webhook URL] \
ghcr.io/windyakin/173n-town
```
## Environments
Variable name | Description | Example
:-- | :-- | :--
`TOWN_USER` * | 173n Town login ID (Email address) | `173n-town@example.com`
`TOWN_PASS` * | 173n Town login password (Raw value) | `passw0rd`
`SLACK_WEBHOOK_URL` * | [Incomming webhook url of Slack](https://api.slack.com/incoming-webhooks) to post | `https://hooks.slack.com/...`
`PUPPETEER_TIMEOUT` | [Puppeteer](https://github.com/puppeteer/puppeteer) time out time (milli second). Default value is 30000 | `30000`
`CHROME_EXECUTABLE_PATH` | Entrypoint path of Google Chrome (puppeteer's `executablePath` option) | `/usr/bin/chromium`
`*`: Required parameters
## License
This program is under the [MIT License](LICENSE)
## Copyright
© 2022 windyakin