Self-hosted temporary screenshot sharing for coding agents
- JavaScript 57.9%
- TypeScript 41.1%
- Shell 0.7%
- Dockerfile 0.3%
|
|
||
|---|---|---|
| .claude-plugin | ||
| .forgejo/workflows | ||
| .github/workflows | ||
| backend | ||
| claude | ||
| codex | ||
| common/mcp | ||
| opencode | ||
| pi | ||
| scripts | ||
| test/stubs | ||
| .dockerignore | ||
| .gitignore | ||
| AGENTS.md | ||
| CLAUDE.md | ||
| compose.yaml | ||
| Dockerfile | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| vitest.config.ts | ||
Self-hosted Glance
Private, temporary file sharing for coding agents at glance.supportportal.org.
Paste, drop, or choose an image, text/log, or ZIP file in your browser and the agent receives its temporary URL over SSE. Sessions expire after 10 minutes; files expire after 48 hours.
Install the Pi extension
Install directly from this Forgejo repository—no npm package required:
pi install https://forgejo.supportportal.org/hex/glance-agent-plugins.git
Then use /glance in Pi or ask the agent to call the glance tool.
Update or remove it with:
pi update --extensions
pi remove https://forgejo.supportportal.org/hex/glance-agent-plugins.git
Pi extensions run with full system access. Review
pi/glance.tsbefore installing.
Self-host
git clone https://forgejo.supportportal.org/hex/glance-agent-plugins.git
cd glance-agent-plugins
docker compose up -d
The service listens on 0.0.0.0:2882 and stores images in the Docker volume glance-data. Set PUBLIC_BASE_URL in compose.yaml if you use another hostname.
Your reverse proxy must:
- Forward the public hostname to port
2882. - Disable buffering for
/api/session/*/events. - Keep SSE read timeouts above five minutes.
- Allow upload request bodies up to 20 MB.
Check it with:
curl http://127.0.0.1:2882/healthz
Development
npm ci
npm test
npm exec -- tsc --noEmit
docker compose up -d --build
License
MIT