{"id":29703300,"url":"https://github.com/madeofpendletonwool/pixel-pantry","last_synced_at":"2026-02-07T14:31:37.735Z","repository":{"id":301046654,"uuid":"1007920164","full_name":"madeofpendletonwool/pixel-pantry","owner":"madeofpendletonwool","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-24T21:51:33.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-25T03:33:29.446Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/madeofpendletonwool.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-06-24T18:31:59.000Z","updated_at":"2025-06-24T21:51:36.000Z","dependencies_parsed_at":"2025-06-24T22:47:08.972Z","dependency_job_id":null,"html_url":"https://github.com/madeofpendletonwool/pixel-pantry","commit_stats":null,"previous_names":["madeofpendletonwool/pixel-pantry"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/madeofpendletonwool/pixel-pantry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madeofpendletonwool%2Fpixel-pantry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madeofpendletonwool%2Fpixel-pantry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madeofpendletonwool%2Fpixel-pantry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madeofpendletonwool%2Fpixel-pantry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/madeofpendletonwool","download_url":"https://codeload.github.com/madeofpendletonwool/pixel-pantry/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madeofpendletonwool%2Fpixel-pantry/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29197022,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T12:38:28.597Z","status":"ssl_error","status_checked_at":"2026-02-07T12:38:23.888Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-07-23T13:38:33.957Z","updated_at":"2026-02-07T14:31:37.718Z","avatar_url":"https://github.com/madeofpendletonwool.png","language":"HTML","readme":"# Pixel Pantry\n\nA Docker-based web application for browsing and previewing game assets locally. Perfect for managing large collections of 2D game assets organized in directories.\n\n## Features\n\n- 🎮 **Game-focused UI** with a modern, responsive design\n- 📁 **Directory browsing** with sidebar navigation\n- 🖼️ **Image preview** with modal zoom\n- 🎵 **Audio playback** with built-in controls\n- 🎬 **Video preview** support\n- 📦 **Archive file detection** (zip, rar, etc.)\n- 📄 **Text file recognition**\n- 🔍 **File information** (size, type, extension)\n- 🍞 **Breadcrumb navigation**\n- 📱 **Mobile responsive**\n\n## Quick Start\n\n1. **Clone or create the project structure:**\n```bash\nmkdir asset-browser\ncd asset-browser\n```\n\n2. **Create the files** (Dockerfile, package.json, server.js, public/index.html, docker-compose.yml)\n\n3. **Create the public directory:**\n```bash\nmkdir public\n# Move index.html to public/index.html\n```\n\n4. **Update docker-compose.yml** to point to your assets:\n```yaml\nvolumes:\n  - /path/to/your/game/src/assets:/app/assets:ro\n```\n\n5. **Build and run:**\n```bash\ndocker-compose up --build\n```\n\n6. **Open your browser:** http://localhost:3000\n\n## Directory Structure\n\n```\nasset-browser/\n├── Dockerfile\n├── package.json\n├── server.js\n├── docker-compose.yml\n├── public/\n│   └── index.html\n└── README.md\n```\n\n## Supported File Types\n\n### Images\n- JPG, JPEG, PNG, GIF, BMP, SVG, WebP, TIFF\n\n### Audio\n- MP3, WAV, OGG, M4A, AAC, FLAC, WMA\n\n### Video\n- MP4, WebM, AVI, MOV, WMV, FLV\n\n### Archives\n- ZIP, RAR, 7Z, TAR, GZ, BZ2\n\n### Text/Code\n- TXT, MD, JSON, XML, LUA, JS, PY, C, CPP, H\n\n## Configuration\n\n### Custom Assets Path\nUpdate the volume mount in `docker-compose.yml`:\n```yaml\nvolumes:\n  - /your/custom/path:/app/assets:ro\n```\n\n### Different Port\nChange the port mapping:\n```yaml\nports:\n  - \"8080:3000\"  # Access via localhost:8080\n```\n\n### Development Mode\nFor development with auto-reload:\n```bash\n# Install nodemon\nnpm install -g nodemon\n\n# Run in dev mode\nnpm run dev\n```\n\n## Security Features\n\n- **Read-only asset mounting** prevents file modification\n- **Path traversal protection** prevents access outside assets directory\n- **MIME type detection** for proper file handling\n\n## API Endpoints\n\n- `GET /api/browse?path=\u003cpath\u003e` - Browse directory contents\n- `GET /api/file-info?path=\u003cpath\u003e` - Get file information\n- `GET /assets/\u003cpath\u003e` - Serve static asset files\n\n## Browser Compatibility\n\n- Chrome/Chromium 70+\n- Firefox 65+\n- Safari 12+\n- Edge 79+\n\n## Troubleshooting\n\n### Assets not loading\n- Check volume mount path in docker-compose.yml\n- Ensure assets directory exists and has read permissions\n- Check Docker logs: `docker-compose logs`\n\n### File previews not working\n- Verify file extensions are supported\n- Check browser console for errors\n- Ensure MIME types are correctly detected\n\n### Container won't start\n- Verify all files are created correctly\n- Check for syntax errors in package.json\n- Ensure port 3000 is available\n\n## License\n\nMIT License - feel free to modify and use for your projects!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadeofpendletonwool%2Fpixel-pantry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadeofpendletonwool%2Fpixel-pantry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadeofpendletonwool%2Fpixel-pantry/lists"}