{"id":29412764,"url":"https://github.com/abra5umente/thinkinrock","last_synced_at":"2026-05-15T12:36:04.012Z","repository":{"id":303041282,"uuid":"1014196421","full_name":"abra5umente/thinkinrock","owner":"abra5umente","description":"A playful Python script to automate your Stable Diffusion (auto1111) workflow, waking up the 'thinkin' rock' to generate images for you.","archived":false,"fork":false,"pushed_at":"2025-07-05T10:32:00.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-05T10:32:03.627Z","etag":null,"topics":["automatic1111","automation","cli-tool","generative-ai","image-generation","python","stable-diffusion"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abra5umente.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}},"created_at":"2025-07-05T08:32:18.000Z","updated_at":"2025-07-05T10:25:03.000Z","dependencies_parsed_at":"2025-07-05T10:32:28.351Z","dependency_job_id":"a05656df-e0e4-4d51-881e-ccb16b62f6a8","html_url":"https://github.com/abra5umente/thinkinrock","commit_stats":null,"previous_names":["abra5umente/thinkinrock"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/abra5umente/thinkinrock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abra5umente%2Fthinkinrock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abra5umente%2Fthinkinrock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abra5umente%2Fthinkinrock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abra5umente%2Fthinkinrock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abra5umente","download_url":"https://codeload.github.com/abra5umente/thinkinrock/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abra5umente%2Fthinkinrock/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264780219,"owners_count":23662595,"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","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":["automatic1111","automation","cli-tool","generative-ai","image-generation","python","stable-diffusion"],"created_at":"2025-07-11T10:00:20.949Z","updated_at":"2026-05-15T12:35:58.944Z","avatar_url":"https://github.com/abra5umente.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ThinkinRock\n\n**A Python script to wake up the thinkin' rock (Stable Diffusion via auto1111) and conjure images for you, automatically managing batch launch and close, prompt input, and image saving.**\n\n---\n\n## 🚀 What it does\n- Starts auto1111 via .bat if not already running.\n- Prompts you for what you want the \"rock\" to imagine.\n- Calls the `txt2img` API on your local auto1111 instance.\n- Saves the generated image to your specified folder or the current directory with a timestamped filename.\n- Shuts down auto1111 if it wasn't running before.\n\n---\n\n## 🛠 Requirements\n- Python 3.11+\n- `requests` and `python-dotenv` installed (`pip install -r requirements.txt`)\n- A working [Automatic1111 (Stable Diffusion WebUI)](https://github.com/AUTOMATIC1111/stable-diffusion-webui) instance accessible locally.\n- A `.env` (example included) file containing optional config overrides:\n```env\nSAMPLER_NAME=\"DPM++ 2M SDE\"\nSCHEDULER_NAME=\"Karras\"\nIMAGE_HEIGHT=1024\nIMAGE_WIDTH=1024\nCFG_SCALE=4.5\nAUTO1111_BAT=\"path\\to\\your\\auto1111\\bat\\file\"\nENVIRONMENT_BAT=\"path\\to\\your\\auto1111\\environment\\bat\\file\"\n```\n\n---\n\n## ⚡️ Usage\n1️⃣ Clone the repository:\n```bash\ngit clone https://github.com/abra5umente/thinkinrock.git\ncd thinkinrock\n```\n\n2️⃣ Install dependencies:\n```bash\npip install -r requirements.txt\n```\n\n3️⃣ Ensure your `.env` file is set up if you want custom values.\n\n4️⃣ Run the conjurer:\n```bash\npython thinkinrock.py\n```\n\n5️⃣ Enter your prompt and watch the rock think.\n\n\n---\n\n## 🧩 Features to add\n- Ability to auto-generate prompts using OpenAI, Gemini, etc\n\nContributions are welcome via issues and pull requests!\n\nIf you found this useful, or cool, or whatever, chuck me a star!\n---\n\n## 📜 License\nMIT\n\n---\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabra5umente%2Fthinkinrock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabra5umente%2Fthinkinrock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabra5umente%2Fthinkinrock/lists"}