socialize/README.org
2021-08-23 19:26:21 +02:00

34 lines
1.3 KiB
Org Mode

* socialize
Ever felt lost in a group conversation?
Don't worry, *socialize* is there to support you.
It is a self-contained web page which asks socializing, funny and interesting questions.
Use it as conversation starter or just for fun.
** Installation
For local usage you can just clone this repository and open the =index.html= file in your browser.
If you want to host it (e.g. under /socialize.mybar.org/), grab the code, adjust anything to your liking and provide the =index.html= and =favicon.png= files via a webserver.
This web page is also available as [[https://nixos.wiki/wiki/Flakes][Nix Flake]].
The two neccessary files are provided directly in =$out=.
To use it for example with Nginx, the flake (included as =socialize=) content can be used like this:
#+begin_example nix
services.nginx.virtualHosts."example.org".locations."/".root = socialize.packages."<your-arch>".socialize;
#+end_example
** Adding questions
Fork this repo, add your questions to the =questions= array in the =index.html= file and submit a pull request :)
** Other application fields
Even though this is called /socialize/, you can easily realize other things by replacing the question list with appropriate strings:
- Dice
- Lottery
- Fortuneteller
- ...