{"id":23758368,"url":"https://github.com/selfhostedpro/stlshot","last_synced_at":"2026-02-13T07:04:12.157Z","repository":{"id":269895191,"uuid":"908758135","full_name":"SelfhostedPro/stlshot","owner":"SelfhostedPro","description":"Tool for taking screenshots of STLs","archived":false,"fork":false,"pushed_at":"2025-01-02T20:06:15.000Z","size":157,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T01:10:06.916Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/SelfhostedPro.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}},"created_at":"2024-12-26T22:24:47.000Z","updated_at":"2025-01-06T07:06:32.000Z","dependencies_parsed_at":"2024-12-27T02:16:02.213Z","dependency_job_id":"0b86f7a8-056c-4cf0-a825-7104e8695ed2","html_url":"https://github.com/SelfhostedPro/stlshot","commit_stats":null,"previous_names":["selfhostedpro/stlshot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SelfhostedPro%2Fstlshot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SelfhostedPro%2Fstlshot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SelfhostedPro%2Fstlshot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SelfhostedPro%2Fstlshot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SelfhostedPro","download_url":"https://codeload.github.com/SelfhostedPro/stlshot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239927842,"owners_count":19719836,"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":[],"created_at":"2024-12-31T19:53:53.616Z","updated_at":"2026-02-13T07:04:07.119Z","avatar_url":"https://github.com/SelfhostedPro.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stlshot\n\nA powerful 3D model viewer and screenshot capture tool built with Next.js, Three.js, and React Three Fiber. Stlshot allows you to view, manipulate, and capture high-quality screenshots of STL files from multiple angles.\n\n## Features\n\n- **3D Model Viewing**\n  - Load and view multiple STL files simultaneously\n  - Orthographic camera with customizable settings\n  - Real-time model manipulation (rotation, zoom, pan)\n  - Edge detection and outline rendering\n\n- **Advanced Screenshot Capabilities**\n  - Capture current view\n  - Automated multi-angle captures (front, back, sides, corners)\n  - Batch capture across all loaded models\n  - Screenshot preview and management\n  - Export screenshots as ZIP archives\n\n- **Customizable Scene Settings**\n  - Camera controls (FOV, zoom, position)\n  - Canvas rendering options\n  - Material and edge appearance\n  - Scene component management\n\n## Getting Started\n\nFirst, install dependencies:\n\n```bash\nnpm install\n# or\nyarn\n```\n\nThen, run the development server:\n\n```bash\nnpm run dev\n# or\nyarn dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the application.\n\n## Usage\n\n1. **Loading Models**\n   - Click the \"Upload File\" button to load STL files\n   - Multiple files can be loaded simultaneously\n   - Models appear in the top preview panel\n\n2. **Viewing Models**\n   - Use mouse/touch controls to rotate and zoom\n   - Switch between loaded models using the model selector\n   - Customize view settings in the scene manager\n\n3. **Taking Screenshots**\n   - Single View: Capture the current camera angle\n   - All Views: Automatically capture from preset angles\n   - All Models: Batch capture all angles for all loaded models\n   - Access screenshots in the sidebar gallery\n   - Export all screenshots as a ZIP file\n\n## Technical Stack\n\n- **Framework**: Next.js 15.1\n- **3D Rendering**: Three.js, React Three Fiber\n- **State Management**: Zustand\n- **Storage**: IndexedDB for model and screenshot data\n- **UI Components**: Radix UI\n- **Styling**: Tailwind CSS\n\n## License\n\n[MIT License](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselfhostedpro%2Fstlshot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fselfhostedpro%2Fstlshot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselfhostedpro%2Fstlshot/lists"}