Skip to main content

Tu dong tao video Sora theo batch voi nhieu Chrome profiles

Project description

Sora Video Tool

Tu dong tao video Sora theo batch voi nhieu Chrome profiles.

Cai dat

# Clone repo va vao thu muc
cd auto-gen-video-sora

# Cach 1: dung run.sh (tu dong cai dat moi thu)
chmod +x run.sh
./run.sh setup

# Cach 2: thu cong
python3 -m venv .venv && source .venv/bin/activate
pip install -e .
playwright install chromium   # chi can cho Playwright, khong phai cho Chrome thuc

Su dung

Thiet lap lan dau

./run.sh setup
# hoac
sora setup

Flow:

  1. Nhap so luong profile
  2. Nhap ten alias cho tung profile
  3. Nhap username dsora
  4. Nhap backend key
  5. Nhap Telegram bot token / channel ID (tuy chon)
  6. Chrome mo ra -> dang nhap Google + Sora + cau hinh Settings

Dang nhap lai mot profile cu

sora setup --retry

Chay tu dong

./run.sh run
# hoac
sora run

Tool se:

  • Lay danh sach san pham tu API
  • Chay lan luot tung profile (5 san pham / profile)
  • Gui thong bao Telegram sau moi san pham / profile
  • Luu lich su chay vao ~/.sora-tool/run_log.json

Xem huong dan

sora help
sora --help
sora run --help

Cau truc thu muc

auto-gen-video-sora/
├── pyproject.toml              # Cau hinh PyPI
├── run.sh                      # Script khoi dong nhanh
├── README.md
├── .gitignore
└── sora_video_tool/            # Python package
    ├── cli.py                  # Entry point (sora setup / run / help)
    ├── constants.py            # Hang so toan cuc
    ├── config.py               # Doc/ghi ~/.sora-tool/settings.json
    ├── profile_manager.py      # Quan ly thu muc Chrome profile
    ├── browser_launcher.py     # Mo Chrome (login + CDP automation)
    ├── sora_bot.py             # Logic tu dong hoa Sora
    ├── api_client.py           # Giao tiep voi backend API
    ├── telegram_notifier.py    # Gui thong bao Telegram
    ├── run_tracker.py          # Theo doi lich su chay
    └── assets/
        └── tshirt.png          # Anh mac dinh

Du lieu luu tru

Tat ca du lieu nguoi dung luu tai ~/.sora-tool/:

File Noi dung
settings.json Username, backend key, telegram, profiles
run_log.json Lich su chay tung profile
profiles/profile_1/ Chrome user data (session, cookies)

Publish len PyPI

pip install build twine
python -m build
twine upload dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dsora_gen-0.1.0.tar.gz (33.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dsora_gen-0.1.0-py3-none-any.whl (35.8 kB view details)

Uploaded Python 3

File details

Details for the file dsora_gen-0.1.0.tar.gz.

File metadata

  • Download URL: dsora_gen-0.1.0.tar.gz
  • Upload date:
  • Size: 33.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for dsora_gen-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6ad7cdf9d3020ff4089591a9dc5b31bcc7721d02d918920c3f6c28c3c082333c
MD5 df871d2d398acf122471b2c8786d19f6
BLAKE2b-256 be36cc0fb23ec1a507efcd5f7e5628ade9d449b7a20ab374f5755eb1b5d379a9

See more details on using hashes here.

File details

Details for the file dsora_gen-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: dsora_gen-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 35.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for dsora_gen-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd4812bf12ac06d6f40cebd36c9f2e82a9d2195beec050372306b20d0469b648
MD5 23143570b2319514f069d840f56099b8
BLAKE2b-256 73e07f1138d7ad8daec0d0703df5d0408240154f3c563988e7b14f2491dbbe88

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page