Skip to content

gininfra/autonotif

 
 

Repository files navigation

Autonotif

How to Run

Local

Prerequisite

1. Prepare your config

Copy config/config.yaml.sample for example. Then adjust accordingly.

cp config/config.yaml.sample config/config.yaml

2. Run autonotif

Docker

make run

Golang

make go-run

Optional Usage

Force Set Last ID

Make sure autonotif server already run. Do not force set last id during autonotif schedule time, to prevent race condition.

Force autonotif to start notify from specific id

curl --request POST 'http://localhost:8080/force-last-id' \
--header 'chain: COSMOS' \
--header 'lastId: 73'

Force autonotif to start notify from zero

curl --request POST 'http://localhost:8080/force-last-id' \
--header 'chain: COSMOS' \
--header 'lastId: -1'

Deployment

See guideline in deployment/remote/README.md

Features

Features Cosmoshub Osmosis Juno
Blockchain Governance Proposals Notification Supported Backlog Backlog
Sending to Telegram bot Supported Backlog Backlog
Sending to Email Backlog Backlog Backlog
Sending to Slack bot Backlog Backlog Backlog
Sending to WhatsApp bot Backlog Backlog Backlog
Sending to Discord bot Backlog Backlog Backlog
Blockchain Cosmos Upgrade Plan Notification Backlog Backlog Backlog
Check "Have voted to the Proposal Backlog Backlog Backlog
Check "Have Upgraded to Plan Backlog Backlog Backlog

Room for Refactors

Refactors Status
Time zone for Docker autonotif-scheduler Done
Time zone for Docker autonotif-postgres Done
PostgreSQL Docker Compose Done
PostgreSQL Initialize Table - Proposals Done
Run Autonotif Container in Detach mode Done
Run PostgreSQL Container in Detach mode Done

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 83.4%
  • Makefile 13.9%
  • PLpgSQL 1.8%
  • Dockerfile 0.9%