- Svelte 85.6%
- TypeScript 13.5%
- CSS 0.4%
- JavaScript 0.4%
|
|
||
|---|---|---|
| docs | ||
| src | ||
| static | ||
| .gitignore | ||
| .npmrc | ||
| bun.lock | ||
| package.json | ||
| pnpm-lock.yaml.backup | ||
| postcss.config.js | ||
| README.md | ||
| svelte.config.js | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| vite.config.ts | ||
ProHive Website
Marketing website for ProHive - Self-sovereign digital operations platform.
Overview
This is the official ProHive website built with SvelteKit 2 and Svelte 5, showcasing our products, documentation, and resources for building self-sovereign applications.
Tech Stack
- Framework: SvelteKit 2
- UI Library: Svelte 5 (with runes)
- Styling: Tailwind CSS v4
- Runtime: Bun (migrated Dec 2025)
- Markdown: MDsveX
- Database: PostgreSQL (via ProHive API)
Development
Prerequisites
- Bun installed (
curl -fsSL https://bun.sh/install | bash)
Quick Start
# Install dependencies
bun install
# Start dev server
bun --bun run dev
# Build for production
bun --bun run build
# Preview production build
bun --bun run preview
Project Structure
apps/prohive_website/
├── src/
│ ├── lib/
│ │ └── components/ # Reusable components (Navigation, Footer)
│ ├── routes/ # SvelteKit routes
│ │ ├── +page.svelte # Homepage
│ │ ├── blog/ # Blog listing and posts
│ │ ├── company/ # About, Contact
│ │ ├── docs/ # Documentation landing
│ │ ├── products/ # Products, Pricing
│ │ └── tools/ # AI Models database, etc.
│ ├── app.css # Global Tailwind styles
│ └── app.html # HTML template
├── static/ # Static assets
└── tests/ # Playwright tests
Database Integration
The website integrates with ProHive's unified Hive-Cortex database using website_* prefixed tables:
website_pages- CMS-managed pageswebsite_posts- Blog postswebsite_contact_submissions- Contact form submissionswebsite_newsletter_subscribers- Email newsletter listwebsite_analytics- Page view tracking- And more (see main repo:
.claude/infrastructure/vps/website-database-schema.md)
Knowledge Base Publishing
The website publishes ProHive's internal AI model inventory as a searchable public resource:
- Source tables:
ai_models_external,ai_models_local - Public endpoint:
/tools/ai-models - Filtering: Category, Provider, Self-hostable vs Cloud
This dual-purpose approach (internal inventory + public knowledge base) ensures data consistency and reduces maintenance overhead.
Data Flow
Content Flow: Local Development → Forgejo Git → VPS Deployment Analytics Flow: VPS Database → Export Scripts → Local Analysis
Deployment
The website is deployed to the ProHive VPS at:
- Main Domain: https://www.b-tech.io
- API: https://api.b-tech.io (ProHive API)
- Forge: https://forge.b-tech.io (Hive Forge demo)
Deployment Process
- Commit changes to Forgejo
- VPS pulls latest from git
- Builds static site or runs SSR
- Traefik routes subdomain traffic
(Full deployment automation TBD)
Repository
- Forgejo: https://git.b-tech.io/prohive/prohive-website
- Part of ProHive Ecosystem: This website is standalone but integrates with the main
prohive_corerepository
Contributing
This repository follows ProHive's git workflow:
- Use conventional commits:
feat(blog): Add new post about data sovereignty - Format code before committing
- Submit pull requests for review
License
(TBD - likely Open Source to align with ProHive's transparency principles)
Maintained by: ProHive Team Last Updated: 2025-12-06 Runtime: Bun 1.3.3