30 lines
842 B
Markdown
30 lines
842 B
Markdown
# gemhltv
|
|
![the gemhltv match page](matches.png) ![the gemhltv news page](news.png)
|
|
|
|
a gemini mirror of hltv.org
|
|
|
|
## requirements
|
|
- python3
|
|
- pytz
|
|
- php
|
|
- an instance of reader.php somewhere
|
|
|
|
## setup
|
|
- clone this repo
|
|
- cd to this repo
|
|
- `pip3 install pytz`
|
|
- change `$CGI_BIN` at the top of `gemhltv` if the scripts are
|
|
somewhere else
|
|
- change the current\_tz at the top of the gemhltv\_matches file to match
|
|
yours
|
|
- a list of valid timezones is available [here](https://gist.githubusercontent.com/heyalexej/8bf688fd67d7199be4a1682b3eec7568/raw/daacf0e4496ccc60a36e493f0252b7988bceb143/pytz-time-zones.py)
|
|
- change `$READER_LINK` at the top of gemhltv\_news to point to your
|
|
instance of reader.php
|
|
- put all the scripts in your cgi-bin
|
|
- navigate to gemini://example.com/cgi-bin/gemhltv
|
|
|
|
## notes
|
|
- rip c9
|
|
|
|
(c) oneseveneight/sose
|