https://github.com/ngerakines/commitment analog built on Golang using fasthttp. Made for personal self-education purposes and self-hosting. Latest version from default branch pushed to Docker Hub via GitHub Actions.
TL;DR:
alias q='git add . && git commit -m "$(curl --silent --fail -L https://commit.mayurifag.ru)" && LEFTHOOK=0 git push origin HEAD'
Make sure you have Docker installed and have 9321
port not occupied.
To provision the application, run the following command:
make provision
To launch the latest version from main branch, run the following command:
docker run --rm -p 9321:8080 mayurifag/whattocommit:main
App will be available on http://localhost:9321.
- http://localhost:9321/all - all messages
- http://localhost:9321/number - number of messages (for debug purposes)
- http://localhost:9321/ - random message
Little performance test using k6:
k6 run k6.js