Shaun Campbell dd9d142854
Some checks failed
PR Checks / lint-test-and-docker-build (pull_request) Failing after 6m16s
ci) revert to manual checkout in workflows
2026-02-20 20:53:08 -05:00
2026-02-18 23:17:34 -05:00
2026-02-19 13:08:25 -05:00
2026-02-18 20:23:34 -05:00
2026-02-18 20:23:34 -05:00
2026-02-18 20:23:34 -05:00
2026-02-18 20:23:34 -05:00
2026-02-19 13:08:25 -05:00
2026-02-19 13:08:25 -05:00
2026-02-18 20:23:34 -05:00
2026-02-18 20:23:34 -05:00
2026-02-18 20:23:34 -05:00
2026-02-18 20:23:34 -05:00

trips

A SvelteKit travel planning app for managing trips, travelers, transportation, lodgings, package tours, checklists, and experiences.

Tech Stack

  • SvelteKit + TypeScript
  • SQLite (better-sqlite3)
  • Vitest for unit tests
  • ESLint + Prettier for code quality
  • Bun for local/deploy build workflows
  • Docker multi-stage build for production image

Features

  • Authenticated trip dashboard with upcoming/past trip views
  • Trip planning with:
    • flights
    • private vehicles
    • other transportation
    • lodgings
    • package tours
    • checklists
    • experiences
  • Admin flows for travel reference data and tour operator/tour management

Local Development

Requirements

  • Bun 1.x
  • Node.js 22+ (runtime target)

Setup

cp .env.example .env
bun install

Run

bun run dev

Quality and Tests

bun run lint
bun run test
bun run check

Build and Preview

bun run build
bun run preview

Docker

Build locally

docker build -t trips:local .

Run locally

docker compose up --build

The container stores SQLite data at /data/trips.db (mounted as the trips-data volume in docker-compose.yml).

CI (Gitea Actions)

Workflows live in .gitea/workflows:

  • pr-checks.yml: runs lint, tests, and Docker build on pull requests.
  • main-image.yml: builds and pushes a Docker image on push to main.

Registry secrets for image publish

Configure these repository secrets in Gitea:

  • REGISTRY_USERNAME
  • REGISTRY_PASSWORD

By default, the publish workflow pushes to:

  • git.campbellwireless.net/<owner>/<repo>:latest
  • git.campbellwireless.net/<owner>/<repo>:<short-sha>

If your registry host differs, edit REGISTRY_HOST in .gitea/workflows/main-image.yml.

Description
Trip Manager
Readme 2.9 MiB
Languages
Svelte 57.1%
TypeScript 42.4%
JavaScript 0.2%
Dockerfile 0.2%