2024-11-15 01:42:52 -06:00
2024-11-16 04:30:29 -06:00
2024-11-16 04:30:29 -06:00
2024-11-11 00:18:02 -06:00
2024-11-16 04:30:29 -06:00
2024-11-16 04:30:29 -06:00
2024-11-15 01:42:52 -06:00
2024-11-16 04:30:29 -06:00

Passport

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

Getting Started

Screenshot 2024-11-11 at 00-20-06 Passport

Prerequisites

Usage

  1. Clone the repository
  2. Configure the .env file, an example is provided in the .env example file
    • The OPENWEATHER_API_KEY is required for the weather data to be displayed
    • The OPENWEATHER_LAT and OPENWEATHER_LON are required for the weather data to be displayed
    • The PASSPORT_ADMIN_USERNAME and PASSPORT_ADMIN_PASSWORD are required for the admin dashboard
    • The PASSPORT_SEARCH_PROVIDER is the search provider used for the search bar, %s is replaced with the search query
  3. Run sqlite3 passport.db < passport.sql to create the database
  4. Run go build to build the project
  5. Deploy passport, passport.db and .env, and preferably the public folder (but you dont have to) to your web server
  6. profit

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 in the .env file 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%