Skip to content
Initial test of using this node script as a npm package.
- `npm install matrix-static`
- create `matrix-static.json` with static homeserver info `m.server`
- use the `/content/*/**/* folder to describe spaces (folders with children folders), and rooms (folders with an index.json inside `{}`, and no children folder)
- export `build/.well-known/` content and `build/_matrix/{federation,client}/` with some json data, such as `publicRooms.json` and `version.json`
- export a `build/_redirects` for gitlab pages (maybe netlify and cloudflare pages too)