Categorygithub.com/wxt2005/image-capture-bot-go
modulepackage
0.0.0-20241102020809-6cbe36586944
Repository: https://github.com/wxt2005/image-capture-bot-go.git
Documentation: pkg.go.dev

# README

Image capture bot

A telegram bot to capture images from Twitter, Pixiv and other image sites.

Development

# fill config file
cp ./external/config-sample.yml ./external/config.yml

Use air to auto compile and reload server in development.

# install air
go get -u github.com/cosmtrek/air
# use air to enable hot reload
HOST=127.0.0.1 air
# endpoint is http://127.0.0.1:3000/

Build Docker Image

docker build -t image-capture-bot-go:0.0.1 .

Run Docker Container

docker run -it -p 3000:8080 -v /path/to/external:/go/image-capture-bot-go/external image-capture-bot-go:latest

# Packages

No description provided by the author
No description provided by the author
No description provided by the author