niming igapi management
Find a file
2025-04-28 19:10:26 +08:00
backend fix bugs, update the example interface, and rewrite the example PictureMaker 2025-04-28 19:10:26 +08:00
config first commit 2025-04-26 22:36:57 +00:00
env fix bugs, update the example interface, and rewrite the example PictureMaker 2025-04-28 19:10:26 +08:00
frontend/grpc fix bugs, update the example interface, and rewrite the example PictureMaker 2025-04-28 19:10:26 +08:00
interface fix bugs, update the example interface, and rewrite the example PictureMaker 2025-04-28 19:10:26 +08:00
PictureMaker fix bugs, update the example interface, and rewrite the example PictureMaker 2025-04-28 19:10:26 +08:00
resource first commit 2025-04-26 22:36:57 +00:00
utils first commit 2025-04-26 22:36:57 +00:00
.gitignore fix bugs, update the example interface, and rewrite the example PictureMaker 2025-04-28 19:10:26 +08:00
app.py fix bugs, update the example interface, and rewrite the example PictureMaker 2025-04-28 19:10:26 +08:00
docker-compose.yml fix bugs, update the example interface, and rewrite the example PictureMaker 2025-04-28 19:10:26 +08:00
Dockerfile fix bugs, update the example interface, and rewrite the example PictureMaker 2025-04-28 19:10:26 +08: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 fix bugs, update the example interface, and rewrite the example PictureMaker 2025-04-28 19:10:26 +08:00
TODO fix bugs, update the example interface, and rewrite the example PictureMaker 2025-04-28 19:10:26 +08: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