Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

ccev/diadem

Repository files navigation

Diadem

A WIP next-gen map frontend for pogo.

Demo | Discord

Features & Roadmap

Diadem is under active development, and as of writing this, not ready for production use.

For a list of planned features (and fixes), check out the issues. To get an idea of what's working right now, check out the demo.

Setup

Before this becomes ready for production, documentation is lacking, and for now it's generally not advised to set this up yourself. But I'm not stopping you:

  1. git clone https://github.com/ccev/diadem && cd
  2. ./setup.sh, then fill out config/config.toml
  3. pnpm run db:push
  4. pnpm install && pnpm run build
  5. Start with pm2: PORT=3900 HOST=127.0.0.1 FORCE_COLOR=1 pm2 start build/index.js -n "diadem"
  6. Set up a reverse proxy, I use caddy with this config:
    map.co {
      root * /path/diadem/build
      reverse_proxy * 127.0.0.1:3900
    }
    

Update

  1. git pull
  2. ./setup.sh && pnpm install && pnpm run build
  3. pm2 restart diadem

Asset caching

Diadem proxies and optimizes UICON repos. Clients will cache all uicons for 7 days. But I suggest adding your own caching rules, i.e. with Cloudflare:

  • In you CF dashboard, go to your domain -> Caching -> Cache rules -> Create rule
  • Set a name, and set URI Full | wildcard | https://map.co/assets/*
  • Optionally configure the caching rule and save

Contributing

If you want to contribute anything, feel free to fork this repo and open a pull request.

To set up a local dev environment, follow the setup instructions and run pnpm run dev. A local dev server will spin up, changes can be viewed live in your browser.

Credits

Diadem is built on top of a decade worth of pogo tooling. Especially noteworthy for this project are:

License

Published under the AGPL license.

About

🌠 A WIP next-gen map frontend for pogo

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Contributors 4

  •  
  •  
  •  
  •