Skip to content

fuiz/website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bd29e15 · Mar 1, 2025
Jan 8, 2024
Aug 15, 2023
Feb 8, 2025
Feb 6, 2025
Mar 1, 2025
Feb 24, 2025
Feb 24, 2025
Jul 4, 2024
Aug 15, 2023
Feb 6, 2025
Nov 29, 2024
Aug 15, 2023
Feb 24, 2025
Feb 6, 2025
Feb 6, 2025
Oct 2, 2023
Aug 15, 2023
Feb 11, 2025
Feb 24, 2025
Oct 2, 2023
Dec 30, 2024
Feb 11, 2025

Repository files navigation

Fuiz

Host live quizzes freely

Fuiz icon

License

Dependencies

This is the code for the website (developed in Svelte). It relies on two other components to function properly:

Additionally, the website relies on Cloudflare APIs for viewing the library and basic user authentication and storage. If you want to enable these features you need to use wrangler.

Due to the nature of fast development, it's not a goal at the moment to make self-hosting as easy as possible. Once things stabilize a bit more we will put an effort towards providing docker images.

Developing

After installing dependancies with bun install, start a development server:

bun run dev

While we use bun ourselves, npm should work just as fine.

You might need the following environment variables (.env.local):

# the link to the current hosted version, production: fuiz.org
PUBLIC_DISPLAY_PLAY_URL="localhost:5173"
# same as above but with the actual protocol, production: https://fuiz.org
PUBLIC_PLAY_URL="http://localhost:5173"
# the game backend, production: https://api.fuiz.org
PUBLIC_BACKEND_URL="http://localhost:8787"
# same as above but a websocket url, production: wss://api.fuiz.org
PUBLIC_WS_URL="ws://localhost:8787"
# image server url, in pproduction: https://corkboard.fuiz.org
PUBLIC_CORKBOARD_URL="http://localhost:43907"

You might also need:

# Needed for Auth.js, can be generated with: bunx/npx auth secret
AUTH_SECRET={random string}
# Google Auth Client Id and Secret Key
AUTH_GOOGLE_ID=
AUTH_GOOGLE_SECRET=

If you're using the library feature, you should also have:

WALLO_ORIGIN=https://wallo.dev
# From https://wallo.dev
WALLO_CLIENT_ID=
WALLO_CLIENT_SECRET=

Status

The live components' status can be accessed on status.fuiz.org.