Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
- This project is open source, you can use, mix or reuse any of the code or assets.
- You cannot use any of the source code or assets material for commercial purposes.
- You cannot monetize any of the work done on this repository, or all the derivative work.
- You must link any of the used, mixed or reused material to this repo.
- You must preserve the
CC BY-NC-SA 4.0license to all the derivative work.
- You can add donations to maintain your own server, and give a custom badge for that (The badge cannot unlock anything more than the badge itself, and it cannot segregate or differentiate the user at any cost or from any way). Only that, no gray zone!
- We can add exceptions for marketing/ad campaigns purposes, ONLY if explicit permission is granted.
- Create a virtual Open Hotel social-network/game.
- Gain virtual credits from mini-games inside the game, never pay for anything.
- Be able to create your own Hotel and add your own customization with plugins, configurations, rules...
- Protect the consumer from abusive and speculative companies.
You can run OpenHotel either with native installations (Deno + Node) or via Docker.
If it's the first time running the project:
- Go to
./app/server/config.ymland change theversiontodevelopment. Restart the process. - On the browser, add a localStorage item with key
usernameand value of your choice. - Reload the browser
- Go to
./app/server/users.ymland add the username on theoplist - Go to
Room 1and use the command/set flags@pirate 3 3 0 0 20🏴☠️
If you prefer running without Docker:
- Deno >= 1.44
- Node >= 20
- Yarn (make sure Corepack is enabled if using Yarn 4)
- Run
deno task installto install dependencies. - Run
deno task startto start the server. - Set
versiontodevelopmentin theapp/server/config.ymlfile.
docker compose up --buildThis will spin up both the server (Deno) and the client (Vite/React) in development mode, with hot reload.
Note
There’s no need to install Deno or Node on your host machine, as Docker handles them. By default, the server runs on port 20240, and the client on port 2024. Check or adjust your docker-compose.yml if needed. In development mode, changes to your code are automatically reflected without rebuilding the image.
- Run
deno task build
- Enable prettier on save