Documentation and wiki site for goingdark.social - a privacy-focused Mastodon instance.
This wiki provides essential information about our Mastodon instance, including:
- Server rules and community guidelines
- Privacy policy and data handling
- Getting started guides
- Community resources
- Astro - Static site generator
- MDX - Markdown with JSX components
- react - Lightweight React alternative for interactive components
- Tailwind CSS - Utility-first CSS framework
- Node.js 18+
- npm or pnpm
npm installnpm run devThe site will be available at http://localhost:4321
npm run buildnpm run preview/
├── public/ # Static assets
├── src/
│ ├── components/ # Reusable components
│ │ ├── Navigation.astro
│ │ └── mdx/ # MDX components (Card, Callout)
│ ├── layouts/ # Page layouts
│ │ └── WikiLayout.astro
│ ├── pages/ # Wiki pages (MDX)
│ │ ├── index.mdx # Home page
│ │ ├── rules.mdx # Server rules
│ │ └── privacy.mdx # Privacy policy
│ └── styles/ # Global styles
│ └── global.css
├── astro.config.mjs # Astro configuration
├── tailwind.config.mjs # Tailwind configuration
└── package.json
- Create a new
.mdxfile insrc/pages/ - Add frontmatter with layout and title:
---
layout: ../layouts/WikiLayout.astro
title: Your Page Title
---
# Your Page Title
Your content here...- Add navigation link in
src/components/Navigation.astroif needed
Import and use custom components in your MDX files:
import { Callout } from '../components/mdx/Callout';
import Card from '../components/mdx/Card.astro';
<Callout type="info">
This is an info callout
</Callout>
<Card title="Card Title" icon="🎯">
Card content
</Card>This site can be deployed to:
- Netlify
- Vercel
- Cloudflare Pages
- GitHub Pages
- Any static hosting service
Configure your deployment to:
- Build command:
npm run build - Output directory:
dist
This wiki is maintained by the goingdark.social admin team.
- Instance: https://goingdark.social
- Email: admin@goingdark.social
- Mastodon: @admin@goingdark.social