Skip to content

This is a community-hosted and run wiki for Screeps, the world's first MMO strategy sandbox game for programmers.

Notifications You must be signed in to change notification settings

DocDvorak/screeps-wiki

 
 

Repository files navigation

Screeps Wiki

A pre-rendered SPA built using React Router.

Contributing

The site's content is in the app/routes/_base+/_wiki+ folder.

Pages are in MDX (Markdown + JSX) format. You can add or edit them with a pull request (or directly, if you have contributor permissions). If you want to avoid cloning the repo locally, try the github.dev web editor.

What is MDX?

MDX is an extension of Markdown that allows you to import JSX (React) components and embed them in the markup. This is how we (currently) specify images, image galleries, and spoiler blocks.

What components can I use?

Check out the available components in /app/components. Search the codebase for examples where they are used!

Getting Started

Installation

Install the dependencies:

npm install

Development

Start the development server with HMR:

npm run dev

Your application will be available at http://localhost:5173.

Deployment

Cloudflare Deployment

When changes are pushed to the main branch, Cloudflare Pages runs npm run build and publishes the contents of build/client.

Styling

This template is built with Tailwind CSS.


Built with ❤️ using React Router.

About

This is a community-hosted and run wiki for Screeps, the world's first MMO strategy sandbox game for programmers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • MDX 94.4%
  • TypeScript 5.3%
  • CSS 0.3%