Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nownabe/moneysaver

MoneySaver is a Slack App that counts the amount of money you spend this month and tells you how much money you can have in this month.
https://github.com/nownabe/moneysaver

docker golang slack

Last synced: about 2 months ago
JSON representation

MoneySaver is a Slack App that counts the amount of money you spend this month and tells you how much money you can have in this month.

Awesome Lists containing this project

README

        

MoneySaver
==========

[![Go Report Card](https://goreportcard.com/badge/github.com/nownabe/moneysaver)](https://goreportcard.com/report/github.com/nownabe/moneysaver)
[![codecov](https://codecov.io/gh/nownabe/moneysaver/branch/main/graph/badge.svg)](https://codecov.io/gh/nownabe/moneysaver)
![GitHub License](https://img.shields.io/github/license/nownabe/moneysaver)

MoneySaver is a Slack App that counts the amount of money you spend this month and tells you how much money you can have in this month.

![sample](./sample.png)

## Deploy

See examples.

* [Full terraform example for Cloud Run](https://github.com/nownabe/moneysaver/tree/main/examples/terraform)
* [Simple deploy script for Cloud Run](https://github.com/nownabe/moneysaver/blob/main/deploy.sh)

## Docker images

* [Docker Hub](https://hub.docker.com/repository/docker/nownabe/moneysaver)
* [GitHub Container Registry](https://github.com/users/nownabe/packages/container/package/moneysaver)

## Environment variables

* `PROJECT_ID`: Google Cloud project ID that hosts Firestore.
* `SLACK_BOT_TOKEN`: Slack bot token.
* `SLACK_VERIFICATION_TOKEN`: Slack verification token.
* `LIMITS`: Pairs of a Slack channel ID and your monthly limit separated by commas.
* example: `ABCXXX:100000,DEFYYY:20000`