Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emmeowzing/mau5hop-monitor
Monitor the Mau5hop for new signatures and signed items
https://github.com/emmeowzing/mau5hop-monitor
Last synced: 6 days ago
JSON representation
Monitor the Mau5hop for new signatures and signed items
- Host: GitHub
- URL: https://github.com/emmeowzing/mau5hop-monitor
- Owner: emmeowzing
- Created: 2021-02-13T12:03:57.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T12:00:13.000Z (11 months ago)
- Last Synced: 2024-10-10T21:26:04.745Z (27 days ago)
- Language: Shell
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### A super simple app for monitoring the Mau5hop for new autographed content
To build the app -
```shell
$ docker build -t mau5hop .
```
then execute it with [AWS environment variables](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html) -
```shell
$ docker run -itd --name mau5hop -e "SEARCH=(SIGNED|AUTOGRAPH|AUTOGRAPHED|INITIAL|INITIALS|SIGNATURE|ART PRINT)" --env-file .env mau5hop
2ba15a6b1502fc04cf2ea8aad59cf17c9b0a7cd6a7dd9cc19378d373952f6641
...
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
2ba15a6b1502 mau5hop "bash app.sh" 3 seconds ago Up 1 second mau5hop
```
> **Important:** be sure to set the `SNS_ARN` in the `.env` as there is no default.I also tend to restrict the available CPU and memory to a very small space, since it's just essentially a bash script (say, `25M` and `0.2` CPUs).