socialize/README.org

40 lines
1.4 KiB
Org Mode

* socialize
Ever felt lost in a group conversation?
Have you run out of conversation topics with your friends?
Don't worry, *socialize* is here 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.
You can see it in action [[https://deleh.github.io/socialize][here]].
** Installation
This is just one HTML file, grab the =index.html= and open it in your favourite browser or host it with whatever webserver you like.
This web page is also available as [[https://nixos.wiki/wiki/Flakes][Nix Flake]].
The =index.html= file is provided in the root of the flake package output.
To use it for example with Nginx, the flakes (here included as =socialize=) content can be accessed like this:
#+begin_example nix
services.nginx.virtualHosts."example.org".locations."/".root = "${socialize.packages."<your-arch>".socialize}";
#+end_example
*** Requirements
The browser must have JavaScript enabled.
But don't worry, nothing gets loaded from a third party.
** 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
- ...