niming igapi management
Find a file
2025-04-26 22:36:57 +00:00
backend first commit 2025-04-26 22:36:57 +00:00
config first commit 2025-04-26 22:36:57 +00:00
frontend/grpc first commit 2025-04-26 22:36:57 +00:00
interface first commit 2025-04-26 22:36:57 +00:00
PictureMaker first commit 2025-04-26 22:36:57 +00:00
resource first commit 2025-04-26 22:36:57 +00:00
utils first commit 2025-04-26 22:36:57 +00:00
.gitignore first commit 2025-04-26 22:36:57 +00:00
app.py first commit 2025-04-26 22:36:57 +00:00
docker-compose.yml first commit 2025-04-26 22:36:57 +00:00
Dockerfile first commit 2025-04-26 22:36:57 +00:00
ffmpeg_python-0.2.0-py3-none-any.whl first commit 2025-04-26 22:36:57 +00:00
README.md first commit 2025-04-26 22:36:57 +00:00
requirements.txt first commit 2025-04-26 22:36:57 +00:00
TODO first commit 2025-04-26 22:36:57 +00:00

Preparing

  • Rename backend/db/id2igid.db.example to backend/db/id2igid.db

  • Rename config/config.py.example to config/config.py

  • Edit config/config.py

ACCOUNT_USERNAME = "<Your_Instagram_username>"
ACCOUNT_PASSWORD = "<Your_Instagram_password>"

Deploy

Docker

docker compose up -d

Manual

apt-get update
apt-get install -y ffmpeg libpq-dev libmagic1 libmagic-dev
RUN pip3 install ffmpeg_python-0.2.0-py3-none-any.whl
RUN pip3 install -r /app/requirements.txt

python3 ./app.py

Modules

frontend - frontend server

interface - interface between IGAPI and main service(niming)

PictureMaker - IG post template