{"id":31177773,"url":"https://github.com/justlatenightai/lofi-lora-data-prep","last_synced_at":"2026-05-07T00:32:01.947Z","repository":{"id":311030979,"uuid":"1042205100","full_name":"JustLateNightAI/Lofi-Lora-Data-Prep","owner":"JustLateNightAI","description":"Lofi's Lora Data Prep tool to make curating your images easy. A tool for curating and fixing your images to make lora traing better.","archived":false,"fork":false,"pushed_at":"2025-08-31T20:14:01.000Z","size":1075,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-31T20:26:06.390Z","etag":null,"topics":["ai-tools","cross-platform","dataset","electron","image-dataset","javascript","lora","lora-training","stable-diffusion"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JustLateNightAI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-08-21T16:39:33.000Z","updated_at":"2025-08-31T20:14:04.000Z","dependencies_parsed_at":"2025-08-21T19:32:15.375Z","dependency_job_id":"44530de2-0037-4693-9fe9-1d36237523cc","html_url":"https://github.com/JustLateNightAI/Lofi-Lora-Data-Prep","commit_stats":null,"previous_names":["justlatenightai/lofi-lora-data-prep"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JustLateNightAI/Lofi-Lora-Data-Prep","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustLateNightAI%2FLofi-Lora-Data-Prep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustLateNightAI%2FLofi-Lora-Data-Prep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustLateNightAI%2FLofi-Lora-Data-Prep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustLateNightAI%2FLofi-Lora-Data-Prep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JustLateNightAI","download_url":"https://codeload.github.com/JustLateNightAI/Lofi-Lora-Data-Prep/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustLateNightAI%2FLofi-Lora-Data-Prep/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275951161,"owners_count":25558395,"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-09-19T02:00:09.700Z","response_time":108,"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":["ai-tools","cross-platform","dataset","electron","image-dataset","javascript","lora","lora-training","stable-diffusion"],"created_at":"2025-09-19T14:08:07.962Z","updated_at":"2025-09-19T14:08:11.910Z","avatar_url":"https://github.com/JustLateNightAI.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lofi LoRA Data Prep\n\nA desktop tool (Electron + Python sidecar) for curating LoRA datasets: rename, shuffle, convert, and tag images with automated captioning.\n\n## Discord\nhttps://discord.gg/zxRACHM\nMaybe I'll help you with your errors, maybe I wont. \nDepends on my coffee supply\n\n## Features\n\n* GUI for dataset management (rename, shuffle, convert formats)\n* Automated image captioning via JoyCaption (LLaVA-based) (currently janky, but works)\n* Tag editing and prompt customization\n* Works with CPU or NVIDIA GPU (INT8, NF4, BF16 quantization)\n* Built-in GPU/VRAM monitor\n\n## Requirements\n\n* Python 3.10+\n* Node.js + npm (from [https://nodejs.org](https://nodejs.org))\n* NVIDIA GPU (optional for acceleration — CPU mode works everywhere)\n\n\n## Attibutions \nThis project uses JoyCaption for automatic image captioning. https://github.com/fpgaminer/joycaption\nJoyCaption is licensed under the Apache License 2.0 https://github.com/fpgaminer/joycaption/blob/main/LICENSE\n\n## Quickstart\n\n### Windows\nThe tool works, but is currently having a few bugs on windows that it doesnt have on linux, i am working on patching them.\n\n1. Clone or download this repo\n\n   ```bash\n   git clone https://github.com/JustLateNightAI/Lofi-Lora-Data-Prep.git\n   cd Lofi-Lora-Data-Prep\n   ```\n2. Run setup\n\n   * Double-click `setup.bat`\n   * Creates a Python virtualenv under `sidecar\\\\`\n   * Installs Python + npm dependencies\n   * Prompts you to pick CPU or CUDA PyTorch\n3. Run the app\n\n   * Double-click `start.bat`\n   * Electron launches and automatically spawns the sidecar\n\n### Linux\n\n1. Clone the repo\n\n   ```bash\n   git clone https://github.com/JustLateNightAI/Lofi-Lora-Data-Prep.git\n   cd Lofi-Lora-Data-Prep\n   ```\n2. Set up Python sidecar\n\n   ```bash\n   cd sidecar\n   python3 -m venv venv\n   source venv/bin/activate\n   pip install --upgrade pip\n   pip install -r requirements.txt\n   # Optional: install torch with CUDA (NVIDIA only)\n   # pip install --index-url https://download.pytorch.org/whl/cu124 torch torchvision torchaudio\n   cd ..\n   ```\n3. Set up Electron app\n\n   ```bash\n   npm install\n   ```\n4. Run the app\n\n   ```bash\n   # Make sure your venv is active so the sidecar uses it\n   source sidecar/venv/bin/activate\n   npm run dev\n   ```\n\n## ⚙ Notes\n\n* No NVIDIA? Choose CPU during setup (or install CPU Torch on Linux).\n* If CUDA install fails on Windows, update NVIDIA drivers or rerun setup and choose CPU.\n* Logs stay open in the console for debugging.\n\n## Screenshots\n\n![Screenshot](readme_imgs/1.png)\n![Screenshot](readme_imgs/2.png)\n\n## License\n\nCreative Commons BY-NC 4.0 License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustlatenightai%2Flofi-lora-data-prep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustlatenightai%2Flofi-lora-data-prep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustlatenightai%2Flofi-lora-data-prep/lists"}