Skip to content

denizkose/fpviewer

Repository files navigation

Foundry Packages Viewer

Foundry Packages Viewer

This is a web application built with Bun, Tailwind CSS v4, and DaisyUI. It serves as a viewer for Foundry VTT packages.

Getting Started Locally

1. Clone or Fork

It is highly recommended to fork this repository to your own GitHub account if you plan to deploy it via Vercel. To clone locally:

git clone https://github.com/YOUR_USERNAME/YOUR_REPOSITORY.git
cd YOUR_REPOSITORY

2. Install Dependencies

Make sure you have Bun installed, then run:

bun install

3. Run Development Server

bun dev

Navigate to http://localhost:3000.


Deploying to Vercel

The project is already pre-configured for a zero-config deployment to Vercel.

Step-by-step Guide:

  1. Sign in to Vercel: Go to Vercel and sign in using your GitHub account.
  2. Add New Project: In your Vercel Dashboard, click Add New -> Project.
  3. Import Repository: Alternatively, import the forked repository from your GitHub account. Click Import next to the project name.
  4. Configure Project:
    • Framework Preset: Vercel will automatically detect Next.js. Leave it as is.
    • Build Command: Leave as default (next build or bun run build). Vercel properly detects Bun now.
    • Install Command: Leave as default (bun install).
    • Output Directory: Leave as default.
  5. Deploy: Click the Deploy button. Wait for Vercel to install dependencies, run the build, and assign your deployment a URL (e.g., yourapp.vercel.app).

Your project is now continuously deployed and the proxy API route is fully integrated as a Serverless Function on Vercel!

About

Resources

Stars

Watchers

Forks

Contributors