exifbot

module
v0.0.0-...-9ea3a31 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2024 License: Apache-2.0

README

exifbot

Telegram bot that allows you to extract EXIF data from images.

Installation

Create database and user

CREATE DATABASE exifbot;
CREATE USER exifbot WITH LOGIN PASSWORD 'change-me';
GRANT ALL ON DATABASE exifbot TO exifbot;
git clone https://github.com/Forest33/exifbot.git
cd exifbot

Edit the config file config/exifbot.json

docker-compose up -d

Directories

Path Synopsis
adapter
database
Package database provides CRUD operations with database.
Package database provides CRUD operations with database.
business
entity
Package entity provides entities for business logic.
Package entity provides entities for business logic.
usecase
Package usecase provides business logic.
Package usecase provides business logic.
deploy
app
Package main exifbot main package
Package main exifbot main package
app/migrations
Code generated for package migrations by go-bindata DO NOT EDIT.
Code generated for package migrations by go-bindata DO NOT EDIT.
pkg
database
Package database provides low level operations with database.
Package database provides low level operations with database.
database/types
Package types provides basic operations with SQL types
Package types provides basic operations with SQL types
logger
Package logger wrapper for zerolog
Package logger wrapper for zerolog
structs
Package structs provides basic operations with maps and slices
Package structs provides basic operations with maps and slices

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL