Skip to content

oxylume/web

Repository files navigation

oxylume frontend

find and visit various TON sites

SSG website built with Astro and Svelte

support project

if you love this project and want to support its development you can donate on this TON address ishoneypot.ton or UQA705AUWErQe9Ur56CZz-v6N9J2uw298w-31ZCu475hT8U4

prerequisites

  • pnpm

usage

to actually use a self-hosted instance of this website you are required to run index service

quick start

install deps

pnpm i

change environment variables if required (defaults work fine)

run dev server

pnpm dev

or build static website

pnpm build

build can be found in dist/ directory

preview build

pnpm preview

lint

dry run

pnpm lint

auto fix everything possible

pnpm lint:fix

environment variables

name default note
API_URL http://localhost:8081 index service url to fetch sites data from
GATEWAY_URL http://localhost:8082 gateway with a subdomain-based resolution (also provided by index service)

set using .env file

create .env file in the project's directory

API_URL=https://bogus.com

set using the CLI

API_URL=https://bogus.com pnpm build

About

πŸŒπŸ’Ž Browse TON Sites

Resources

License

Stars

Watchers

Forks

Releases

No releases published