{"id":31974485,"url":"https://github.com/blackcatofficialytb/openlive2d","last_synced_at":"2026-05-17T02:40:25.152Z","repository":{"id":310966770,"uuid":"1041911535","full_name":"BlackCatOfficialytb/OpenLive2D","owner":"BlackCatOfficialytb","description":"💖✨ Better, more perfomance Live2D for Everyone! Support all platform that supports Python, Java and Rust! (I uses Gemini to code some hard frameworks)","archived":false,"fork":false,"pushed_at":"2025-09-27T08:09:29.000Z","size":98,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-27T10:10:11.136Z","etag":null,"topics":["digital-life","live2d","open-source","opengl","openlive2d","panda3d","vtuber","vulkan"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BlackCatOfficialytb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-21T07:39:56.000Z","updated_at":"2025-09-27T08:09:32.000Z","dependencies_parsed_at":"2025-08-27T05:09:19.863Z","dependency_job_id":"952561a7-6b6b-43c7-a7cd-0f6f39b09f7b","html_url":"https://github.com/BlackCatOfficialytb/OpenLive2D","commit_stats":null,"previous_names":["quanvm0501alt1/openlive2d","blackcatofficialytb/openlive2d"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BlackCatOfficialytb/OpenLive2D","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackCatOfficialytb%2FOpenLive2D","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackCatOfficialytb%2FOpenLive2D/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackCatOfficialytb%2FOpenLive2D/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackCatOfficialytb%2FOpenLive2D/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BlackCatOfficialytb","download_url":"https://codeload.github.com/BlackCatOfficialytb/OpenLive2D/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackCatOfficialytb%2FOpenLive2D/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279021014,"owners_count":26086947,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["digital-life","live2d","open-source","opengl","openlive2d","panda3d","vtuber","vulkan"],"created_at":"2025-10-14T20:17:14.312Z","updated_at":"2026-05-17T02:40:25.143Z","avatar_url":"https://github.com/BlackCatOfficialytb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenLive2D (WIP)\n[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/BlackCatOfficialytb/OpenLive2D)\n## 💖✨ Better, more perfomance Live2D for Everyone! Support all platform that supports Python, Java (soon) and Rust! (I uses Gemini to code some hard frameworks)\n## **Progress:** Migrated to [Codeberg](https://codeberg.org/Quanvm0501alt1/OpenLive2D) (private during updates, soon public).\n### `render.py` is now a working CLI renderer (Blender bakes, Panda3D displays). `client.py` (the GUI) is still in progress.\n### This project uses [Krita](https://krita.org/en/) files and kritapy to read the texture, like .psd in Photoshop, preventing from crack Photoshop =))))\n\n\u003e We are making everything from scratch, not using any of Live2D Cubism SDK resources!\n\n# How to install\n- `file_handler.py` and `render.py` (CLI) are working. `client.py` (GUI) is still in progress.\n\n## Dependcies\n\n### Windows\n- **Minimum Version:** 10\n- **Lowest Supported Version:** 10\n- **Recommended Version:** 11\n\u003e **Note:** Optimized, modded windows might still working, but recommend using the official version for Windows. If you can't use it, download and install **Windows 10 IoT Enterprise LTSC 2021** or **Windows 11 IoT Enterprise LTSC 2022** for the smallest, debloated Windows (not advertised), but need keys _or mas aio =\\)\\)_\n\n### MacOS, Linux, BSDs\n- **macOS**:\n  - **Minimum:** macOS 10.9 64-bit: Python 3.7\n  - **Lowest Supported Version:** macOS 10.9 64-bit: Python 3.9\n  - **Recommend version:** macOS 10.13: Python 3.13+\n- **Debian/Ubuntu based:**\n  - **Minimum:** Debian 10 (main repositories): Python 3.7 / Ubuntu 18.04 LTS (main repositories not deadsnakes): Python 3.7\n  - **Lowest Supported Version:** Debian 11 (main repositories): Python 3.9 / Ubuntu 20.04 LTS (main repositories not deadsnakes): Python 3.9\n  - **Recommend version:** Debian 13 (Trixie) / Ubuntu 24.04 (Noble Numbat): Python 3.13+\n- **Arch:** Arch repo is updating continuously, so it is impossible to detect the lowest version that minimally supports or recommend :\\(\\(\n- **BSDs (Berkeley Software Distributions) or their forks:**\n  - **Minimum:** Any BSD\n  - **Lowest Supported Version:** Any BSD\n  - **Recommend version:** Any BSD\n\n### For Windows to install\n- Install Python, [search](https://www.youtube.com/results?search_query=how+to+install+python+on+windows) it on YouTube\n- Install Krita, search for it on Google\n\n### For MacOS, Linux, and BSDs to install:\n- **macOS**:\n  - **Xcode Command Line Tools**: Required for compiling some Python package dependencies. You can install them by running `xcode-select --install` in your terminal.\n  - **Krita**: Download and install from the official Krita website.\n\n- **Linux (Debian/Ubuntu based)**:\n  - **Build Tools**: `sudo apt-get update \u0026\u0026 sudo apt-get install build-essential python3-dev`\n  - **Krita**: `sudo apt-get install krita` or download the AppImage from the official Krita website.\n\n- **Linux (Arch-based)**:\n  - **Build Tools**: `sudo pacman -Syu base-devel`\n  - **Krita**: `sudo pacman -S krita`\n\n- **Linux (Fedora-based)**:\n  - **Build Tools**: `sudo dnf groupinstall \"C Development Tools and Libraries\"` and `sudo dnf install python3-devel`\n  - **Krita**: `sudo dnf install krita`\n\n- **BSDs (FreeBSD example)**:\n  - **Build Tools**: `pkg install python3 devel/pkgconf`\n  - **Krita**: `pkg install krita`\n\u003e **Note:** For most users, `pip` will download pre-compiled binary wheels for complex packages like Panda3D, so you may not need all the development libraries unless you are building from source.\n\n### Python\n- **Minimum Version:** 3.10 (for `render.py`; `file_handler.py` alone still works on 3.7+)\n- **Lowest Supported Version:** 3.11\n- **Recommended (and Maximum) Version:** **Python 3.13**\n\u003e **Note on 3.14:** `render.py` depends on Blender's `bpy` Python module. Blender currently\n\u003e ships wheels only up to **cp313** (Python 3.13) at \u003chttps://download.blender.org/pypi/bpy/\u003e.\n\u003e Once Blender 5.x publishes a `cp314` wheel, this project will lift the cap. Until then,\n\u003e please use **Python 3.13** if you want `render.py`. `file_handler.py` itself does not need\n\u003e `bpy` and will run on 3.14.\n\n\u003e **Note on 3.12+ and Krita reading:** `kritapy` (the .kra reader) declares 3.8–3.11 and\n\u003e currently raises a dataclass error on Python 3.12+. `render.py` falls back to a\n\u003e PNG-per-layer directory in this case (see *Test model* below). If you need real `.kra`\n\u003e support, run on **Python 3.11** instead.\n\n### Krita\n- **Minimum Version:** 4.0\n- **Lowest Supported Version:** 4.2.0\n- **Recommended Version:** 5.2 or newer (latest stable release)\n\u003e **Note:** Using the latest version of Krita is highly recommended for the best performance and compatibility, especially for the `convert_psd_to_kra` functionality.\n\n## Installtion\n\nTo get started, first:\n### Make Virtual Environments\n- For Windows, use: `python -m venv .venv` or `py -3.13 -m venv .venv` if you have multiple python version installed\n- For MacOS, Linux, BSDs, use: `python3 -m venv .venv` or `python3.13 -m venv .venv` if you have multiple python version installed\n#### If lower Python, use virtualenv\n`pip install virtualenv` first\n- For Windows, use: `python -m virtualenv .venv` or `py -3.13 -m virtualenv .venv` if you have multiple python version installed\n- For MacOS, Linux, BSDs, use: `python3 -m virtualenv .venv` or `python3.13 -m virtualenv .venv` if you have multiple python version installed\n\n### Install Dependencies\n#### Easy way\n- First, download and install [Krita](https://krita.org/en/)\n- If Windows, then `.venv\\Scripts\\activate`\n- If MacOS, Linux, BSDs, then `source .venv/bin/activate`\n- To deactivate, use `deactivate`\n- Then `pip install -r requirements.txt`\n#### Fast way\n- First, download and install [Krita](https://krita.org/en/)\n- If Windows, then `.venv/Scripts/pip.exe install -r requirements.txt`\n- If MacOS, Linux, BSDs, then `.venv/bin/python3 -m pip install -r requirements.txt`\n\n#### Installing `bpy` (the Blender Python module)\nPyPI's `bpy` releases lag behind Blender's own wheel index, so we install directly\nfrom \u003chttps://download.blender.org/pypi/bpy/\u003e instead. A helper script picks the\nright wheel for your interpreter and CPU automatically:\n\n- Windows: `scripts\\install_bpy.bat`\n- macOS / Linux / BSD: `bash scripts/install_bpy.sh`\n\nThe script calls `scripts/install_bpy.py`, which detects your `cpXY` Python tag,\nfetches the index, picks the newest matching wheel (e.g. `bpy-5.1.1-cp313-cp313-win_amd64.whl`\non a Python 3.13 Windows venv), and runs `pip install \u003curl\u003e`.\n\n\u003e The wheel is large (≈300–500 MB depending on platform) because it ships the Blender engine.\n\u003e The first install is slow; subsequent runs are cached.\n\nIf you'd rather not run `bpy`, `file_handler.py` still works without it. `render.py`\nwill refuse to start with a clear \"install bpy\" message.\n\n### Test model\n\nTo check your install end to end without painting any real assets:\n\n```\npython scripts/make_test_model.py        # creates ./test_model/\npython render.py test_model -o render.png -v\n```\n\nThis generates a tiny humanoid (head + torso + arms + legs) as PNG layers and a 4-second\n`idle` animation (head sway + breathe). `render.py`'s PNG-directory fallback reads the\nper-part `\u003cpart\u003e_layers/*.png` so you don't need a real `.kra` to test.\n\nOther modes:\n\n```\npython render.py test_model --output-mode sequence -o seq --duration 4 --fps 30\npython render.py test_model --output-mode video    -o idle.mp4 --duration 4 --fps 30\n```\n\nVideo mode requires `ffmpeg` on PATH.\n\n### Start client.py (soon)\n#### Easy way\n- If Windows, then `.venv\\Scripts\\activate`\n- If MacOS, Linux, BSDs, then `sources .venv/bin/activate`\n- To deactivate, use `deactivate`\n- Then `python client.py`\n#### Fast way\n- If Windows, then `.venv\\Scripts\\python.exe client.py`\n- If MacOS, Linux, BSDs, then `.venv/bin/python3 client.py`\n\n## Will it be implemented into [moeru-ai/airi](https://github.com/moeru-ai/airi)?\n- Nope, it might be possible, but it uses Vue: 54.6% and TypeScript: 38.2%, making it frickin' hard to implement unless we use Python for JS/TS\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackcatofficialytb%2Fopenlive2d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblackcatofficialytb%2Fopenlive2d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackcatofficialytb%2Fopenlive2d/lists"}