Jump is a small Go service that turns a browser address-bar query into a redirect to a self-hosted service. It reads Homepage service definitions, matches short hostname fragments, validates HTTPS targets, and redirects the browser to the selected service.
This repository is a public blueprint, not a hosted product or a universal distribution. It is intentionally dogfood-oriented. If you want to use it, fork it and adapt the code, configuration, Homepage layout, domains, deployment and event delivery integrations yourself. The original author does not provide development work to make the project generic for every environment.
The intended browser workflow is deliberately simple:
jp adg -> the matching AdGuard service
jp adg ha -> a more specific matching service
jp pg pub -> a public PostgreSQL administration service
Searches use fragments of service hostnames. Multiple fragments disambiguate similar names without a structured query syntax.
Optional search realms are isolated by prefix:
| Prefix | Realm | Source |
|---|---|---|
| none | services | Homepage services.yaml |
@ |
bookmarks | Homepage bookmarks.yaml |
/ |
Jump endpoints | Jump itself |
Service entries must provide HTTPS href values with hostnames. Invalid
service entries reject a reload and leave the previous in-memory index active.
Redis or Valkey is optional. Jump loads Homepage data into memory and remains usable while Redis is unavailable. When Redis becomes ready, persistence and the resolution cache are enabled. Redis does not rank search results and there is no usage-ranking system.
The main endpoints are:
| Endpoint | Method | Purpose |
|---|---|---|
/search?q=<query> |
GET | Search and redirect |
/healthz |
GET | Liveness check |
/readyz |
GET | Ready when services are loaded in memory |
/infra |
GET | Runtime status |
/reload |
POST | Queue a Homepage reload |
/reload is asynchronous and returns 202 Accepted when the request is
queued. It does not claim that the reload has completed:
⏳ Reload request queued; result will be logged asynchronously
Copy .env.example into the environment where your fork runs and adapt every
path, hostname, domain allowlist, Redis setting and optional integration. The
application validates configuration at startup.
Important contracts include:
JUMP_LISTEN_PORTexpects a port such as8090, without a leading colon.JUMP_SERVICE_FILEpoints to the Homepageservices.yamlfile.JUMP_BOOKMARK_FILEis optional.JUMP_HOMEPAGE_URL,JUMP_ALLOWED_HOSTS,JUMP_REDIS_ADDRandJUMP_REDIS_DBare required by the current configuration.JUMP_NAVIRE_EVENTS_URLandJUMP_NAVIRE_TEMPLATE_IDare both required to enable optional Navire events.
Navire is an operational event delivery and reliability platform currently in development, with a public OSS release planned after its MVP is finalized. Its origin and design are described in the Navire project article. Configure the event template and endpoint in your fork, or replace Navire with another event delivery platform.
This blueprint intentionally does not include the original repository's local Makefile, CI files, hooks or development fixtures. Use the Go toolchain or adapt the build process to your fork:
go test ./...
go vet ./...
go build ./cmd/jumpThe included Dockerfile can also be adapted for your deployment:
docker build -t jump:local .You must provide a Homepage source file and the environment required by your deployment. No personal infrastructure, domain, Redis instance or event delivery service is bundled with this blueprint.
The matching behavior, Homepage schema and HTTP contracts are intentionally opinionated. Forks are expected to change them when needed. Examples include:
- replacing Homepage with another source format;
- changing hostname matching or search realms;
- adding authentication or deployment middleware;
- adapting Redis/Valkey configuration;
- replacing or extending Navire event handling;
- changing the browser keyword and redirect policy.
MIT. See LICENCE.