Official marketing website for Dust Media Server - a free and open-source media server for eBooks and digital comics.
# Install dependencies
npm install
# Start dev server
npm run dev
# Build for production
npm run build
# Preview production build
npm run previewdust-site/
βββ src/
β βββ layouts/
β β βββ Layout.astro # Main layout with navbar and footer
β βββ pages/
β βββ index.astro # Homepage
β βββ features.astro # Features page
β βββ setup.astro # Setup guide
β βββ developers.astro # API & developer docs
β βββ about.astro # About page
βββ public/
β βββ favicon.svg # Site favicon
β βββ images/ # Add hero image and other assets here
βββ astro.config.mjs # Astro configuration
Replace the placeholder on the homepage by adding your screenshot:
- Take a screenshot of your Dust server
- Save it as
public/images/hero.png(or .jpg, .webp) - Update
src/pages/index.astro:
<!-- Replace this: -->
<div class="hero-placeholder">
<p>π Hero Image Placeholder</p>
</div>
<!-- With this: -->
<img src="/images/hero.png" alt="Dust Media Server" />Edit CSS variables in src/layouts/Layout.astro:
:root {
--color-primary: #3b82f6; /* Primary blue */
--color-primary-dark: #2563eb; /* Darker blue */
--color-secondary: #8b5cf6; /* Purple */
--color-accent: #06b6d4; /* Cyan */
/* ... */
}Update astro.config.mjs:
export default defineConfig({
site: 'https://your-domain.com',
base: '/',
});npm run buildOutput will be in dist/ directory. Deploy to any static hosting:
- GitHub Pages: Push
dist/togh-pagesbranch - Netlify/Vercel: Connect repo and auto-deploy
- Own Server: Copy
dist/contents to web root
MIT - Same as Dust Media Server