Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lucas-c/shared-img-reveal
Online web app to progressively reveal an image to players
https://github.com/lucas-c/shared-img-reveal
dungeon-master dungeon-revealer flask fog-of-war game-master progressive-image python role-playing-game tabletop-rpgs webapp wsgi
Last synced: 24 days ago
JSON representation
Online web app to progressively reveal an image to players
- Host: GitHub
- URL: https://github.com/lucas-c/shared-img-reveal
- Owner: Lucas-C
- Created: 2020-11-09T11:28:30.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-01T13:42:26.000Z (7 months ago)
- Last Synced: 2024-04-16T00:55:22.172Z (7 months ago)
- Topics: dungeon-master, dungeon-revealer, flask, fog-of-war, game-master, progressive-image, python, role-playing-game, tabletop-rpgs, webapp, wsgi
- Language: Python
- Homepage: https://chezsoi.org/lucas/jdr/shared-img-reveal/
- Size: 4.51 MB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Pull Requests Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat)](http://makeapullrequest.com)
[![build status](https://github.com/Lucas-C/shared-img-reveal/workflows/build/badge.svg)](https://github.com/Lucas-C/shared-img-reveal/actions?query=workflow%3Abuild)
![GPL v3 license](https://img.shields.io/badge/License-GPL%20v3-blue.svg)Online demo at:
**Usage**: the [GM](https://en.wikipedia.org/wiki/Gamemaster) creates a table, and share the public URL with players.
The portions of the image seen by the other players can then be controlled the GM by clicking the hatched zones.This web application was made as a companion for some scenarios for [Run. Die. Repeat.](https://labrysgames.itch.io/run-die-repeat) : [Les Couloirs du Temps @ itch.io](https://lucas-c.itch.io/les-couloirs-du-temps).
![](demo.png)
![](https://lucas-c.github.io/jdr/RunDieRepeat/EnqueteAuVillage-small.jpg)# Demo images
- [Hallways of Thime by Djekspek](https://www.deviantart.com/djekspek/art/Hallways-of-Thime-208976938) - [CC BY-NC-SA 3.0](https://creativecommons.org/licenses/by-nc-sa/3.0/)
- Rocks from [Isometric 64x64 Outside Tileset by Yar](https://opengameart.org/content/isometric-64x64-outside-tileset) - [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
- [Map - Small Town](https://www.deviantart.com/ekizius/art/Map-Small-Town-795100291) & [Map - Village](https://www.deviantart.com/ekizius/art/Map-Village-795100444) by Ekizius - [CC BY-NC-SA 3.0](https://creativecommons.org/licenses/by-nc-sa/3.0/)
- [Fantasy portraits by TinySecretDoor](https://www.deviantart.com/tinysecretdoor/gallery/52921157/fantasy-portraits) - [CC BY-NC 3.0](https://creativecommons.org/licenses/by-nc/3.0/)
- [Hidden Gods of the Woods by Moira Games](https://moira-games.itch.io/hidden-gods-of-the-woods) ([They dug too deep](https://moira-games.itch.io/they-dug-too-deep) by the same author is also a great one-page dungeon)Many more great CC BY-NC isometric maps can be found at [One Page Dungeon Contest](https://www.dungeoncontest.com/) or here: https://www.elventower.com/isometric-maps/
# Installation
## Local launch
pip install -r requirements.txt
FLASK_ENV=development ./sir_app.py## systemd service
$ pew new shared-img-reveal -p python3 -r requirements.txt
$ cat /etc/systemd/system/shared-img-reveal.service
[Service]
WorkingDirectory=/path/to/parent/dir
ExecStart=/usr/local/bin/pew in shared-img-reveal python -u sir_app.py
Restart=always## nginx configuration
location /shared-img-reveal {
include uwsgi_params;
rewrite ^/shared-img-reveal/?(.*)$ /$1 break;
proxy_pass http://127.0.0.1:8086;
}## License
Thi code is released under [GPL v3 license](https://www.gnu.org/licenses/gpl-3.0.en.html),
[climate-strike BSD](https://github.com/climate-strike/license/blob/master/licenses/BSD)
and [The Hippocratic License 2.1](https://firstdonoharm.dev).