Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/likipiki/golang-mayner-game
This is simple telegram mayner game bot!
https://github.com/likipiki/golang-mayner-game
bitcoin game golang telegram-bot
Last synced: about 13 hours ago
JSON representation
This is simple telegram mayner game bot!
- Host: GitHub
- URL: https://github.com/likipiki/golang-mayner-game
- Owner: LikiPiki
- Created: 2017-08-16T06:02:50.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-28T22:40:46.000Z (about 7 years ago)
- Last Synced: 2024-11-15T09:54:55.450Z (4 days ago)
- Topics: bitcoin, game, golang, telegram-bot
- Language: Go
- Size: 46.7 MB
- Stars: 3
- Watchers: 4
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### GOLANG-TELEGRAM-MAYNER BOT
## Описание
Простой бот, симулирующий майнинг криптовалюты! Поиграть *@pidwinbot*
Играйте присылайте pull-requests!
## Dependency
```
go get github.com/jinzhu/gorm
go get gopkg.in/telegram-bot-api.v4
```## Docker
Лучше всего использовать в докер контейнере с компиляцией в один бинарник
```Dockerfile
FROM golang:1.7.5
RUN go get github.com/mattn/go-sqlite3 && go get gopkg.in/telegram-bot-api.v4
WORKDIR /server/
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o app .FROM scratch
WORKDIR /root/
COPY --from=0 /server/app .
COPY --from=0 /server/data.db .
CMD ["./app"]
```## Разработчек
[likipiki](https://github.com/LikiPiki), [Kolya Raketa](https://github.com/kolyaraketa)🚀