Zoe a1e5346fdf
Some checks are pending
Build and Push Docker Image to GHCR / build-and-push (push) Waiting to run
fix(docker release): install tailwindcss and generate css files
2025-09-22 19:00:12 -05:00
2025-09-22 18:49:05 -05:00
2024-12-09 06:01:14 -06:00
2024-12-09 06:01:14 -06:00
2025-09-22 18:32:58 -05:00
2025-09-22 18:32:58 -05:00
2024-11-11 00:18:02 -06:00
2025-09-22 18:49:05 -05:00
2025-04-09 04:55:12 -05:00

Passport

Passport is a simple, fast, and lightweight web dashboard/new tab replacement.

"I cant believe I've never broken it" - me

Getting Started

Screenshot of Passport

Prerequisites

Usage

Docker

Passport is available as a Docker image via this repository. This is the recommended way to run Passport.

docker run -d --name passport -p 3000:3000 -e PASSPORT_ADMIN_USERNAME=admin -e PASSPORT_ADMIN_PASSWORD=password ghcr.io/juls0730/passport:latest

Building from source

If you want to build from source, you will need to install the dependencies first.

go install github.com/juls0730/zqdgr@latest
go install github.com/tailwindlabs/tailwindcss-cli@latest

Then you can build the binary.

go build -o passport

You can then run the binary.

Configuration

Passport configuration

Environment Variable Description Required Default
PASSPORT_DEV_MODE Enables dev mode false false
PASSPORT_ENABLE_PREFORK Enables preforking false false
PASSPORT_ENABLE_WEATHER Enables weather data, see Weather configuration false false
PASSPORT_ENABLE_UPTIME Enables uptime data, see Uptime configuration false false
PASSPORT_ADMIN_USERNAME The username for the admin dashboard true
PASSPORT_ADMIN_PASSWORD The password for the admin dashboard true
PASSPORT_SEARCH_PROVIDER The search provider to use for the search bar, without any query parameters true
PASSPORT_SEARCH_PROVIDER_QUERY_PARAM The query parameter to use for the search provider, e.g. q for most providers false q

Weather configuration

Environment Variable Description Required Default
OPENWEATHER_PROVIDER The weather provider to use, currently only openweathermap is supported true openweathermap
OPENWEATHER_API_KEY The OpenWeather API key if enabled
OPENWEATHER_TEMP_UNITS The temperature units to use, either metric or imperial false metric
OPENWEATHER_LAT The latitude of your location if enabled
OPENWEATHER_LON The longitude of your location if enabled
OPENWEATHER_UPDATE_INTERVAL The interval in minutes to update the weather data false 15

Uptime configuration

Environment Variable Description Required Default
UPTIMEROBOT_API_KEY The UptimeRobot API key if enabled
UPTIMEROBOT_UPDATE_INTERVAL The interval in seconds to update the uptime data false 300

The admin dashboard can be accessed at /admin, you will be redirected to the login page if you are not logged in, use the credentials you configured via the environment variables to login. Once logged in you can add links and categories.

License

This project is licensed under the BSL-1.0 License - see the LICENSE file for details

Description
2025-12-04 22:57:35 -06:00
Languages
Go 37.3%
JavaScript 31.9%
Handlebars 15.9%
CSS 14.5%
Dockerfile 0.4%