The web dashboard for the CachyOS repositories provides a user-friendly interface to search and view packages.
-
Clone the repository:
git clone https://github.com/cachyos/public-dashboard.git cd public-dashboard -
Install the dependencies:
bun --bun install
-
Start the development server:
bun --bun run dev
The application will be available at http://localhost:3000.
To create a production-ready build, run the following command:
bun --bun run buildThis will create an optimized build in the .next directory. To run the production server, use:
bun run startYou can also build and run the web dashboard using Docker.
To build the Docker image, run the following command from the root directory:
docker build -t public-repo-dashboard .An optional --build-arg NEXT_PUBLIC_APP_VERSION=$(git rev-parse --short HEAD) can be used to include the current Git commit in the dashboard's <meta> tag during the build.
To run the Docker container, use the following command:
docker run -p 3000:3000 public-repo-dashboardThe application will be available at http://localhost:3000.