Difference between revisions of "Python-lichess-pgnserver"
Jump to navigation
Jump to search
(14 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
{{:PlayChessWithAWebCam/Links}} | {{:PlayChessWithAWebCam/Links}} | ||
− | To Broadcast an OTB Game via {{Link|target=Lichess}} it's necessary to supply an URL that serves the game in [https://de.wikipedia.org/wiki/Portable_Game_Notation Portable Game Notation] | + | To [https://lichess.org/broadcast. Broadcast] an OTB Game via {{Link|target=Lichess}} it's necessary to supply an URL that serves the game in [https://de.wikipedia.org/wiki/Portable_Game_Notation Portable Game Notation] |
− | This project allows to supply such an URL and be able to update the PGN online via POST | + | This project allows to supply such an URL and be able to update the PGN online via [https://en.wikipedia.org/wiki/POST_(HTTP) HTTP POST Requests]. |
+ | = Demo-Server = | ||
+ | http://lichess.bitplan.com | ||
− | [http://lichess.bitplan.com/ | + | = Menu = |
+ | <html><link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"></html> | ||
+ | {| class="wikitable sortable" | ||
+ | |- | ||
+ | ! Icon !! Purpose !! Comment | ||
+ | |- | ||
+ | | [http://lichess.bitplan.com/ {{MdiIcon|icon=home|color=blue|size=36}}] || Link to Homepage || Shows [https://lichess.org/cpOszEMY default game cpOszEMY] | ||
+ | |- | ||
+ | | [https://github.com/WolfgangFahl/play-chess-with-a-webcam {{MdiIcon|icon=linked_camera|color=blue|size=36}}] || Link to Play Chess With a WebCam || | ||
+ | |- | ||
+ | | [https://gitter.im/play-chess-with-a-webcam/community {{MdiIcon|icon=chat|color=blue|size=36}}] || Link to Play Chess With a WebCam Community Chat || | ||
+ | |- | ||
+ | | [http://wiki.bitplan.com/index.php/Python-lichess-pgnserver {{MdiIcon|icon=help|color=blue|size=36}}] || Link to this Help page|| | ||
+ | |- | ||
+ | | {{MdiIcon|icon=note_add|color=blue|size=36}} || add a new pgn || Creates a timestamp based gameid | ||
+ | |- | ||
+ | | {{MdiIcon|icon=check|color=blue|size=36}} || interactively update the pgn || use pgn input from the textarea | ||
+ | |- | ||
+ | | {{MdiIcon|icon=edit|color=blue|size=36}} || go to the edit link for this pgn || HTTP GET Request | ||
+ | |- | ||
+ | | [http://lichess.bitplan.com/game/cpOszEMY {{MdiIcon|icon=link|color=blue|size=36}}] || Link to the PGN of the given gameid || HTTP GET Request | ||
+ | |} | ||
+ | = Installation = | ||
+ | <source lang='bash'> | ||
+ | git clone https://github.com/WolfgangFahl/python-lichess-pgnserver | ||
+ | cd python-lichess-pgnserver | ||
+ | ./install | ||
+ | </source> | ||
+ | = Running = | ||
+ | <source lang='bash'> | ||
+ | ./run | ||
+ | </source> | ||
+ | = Testing = | ||
+ | <source lang='bash'> | ||
+ | ./test | ||
+ | </source> | ||
+ | [[Category:Chess]] |
Latest revision as of 11:25, 26 December 2019
OsProject | |
---|---|
edit | |
id | python-lichess-pgnserver |
state | |
owner | WolfgangFahl |
title | PGN Server to feed lichess broadcasts and view PGN of games |
url | https://github.com/WolfgangFahl/python-lichess-pgnserver |
version | 0.0.1 |
description | |
date | 2019/12/23 |
since | |
until |
Click here to comment see PlayChessWithAWebCam
To Broadcast an OTB Game via Lichess it's necessary to supply an URL that serves the game in Portable Game Notation
This project allows to supply such an URL and be able to update the PGN online via HTTP POST Requests.
Demo-Server
Menu
Icon | Purpose | Comment |
---|---|---|
home | Link to Homepage | Shows default game cpOszEMY |
linked_camera | Link to Play Chess With a WebCam | |
chat | Link to Play Chess With a WebCam Community Chat | |
help | Link to this Help page | |
note_add | add a new pgn | Creates a timestamp based gameid |
check | interactively update the pgn | use pgn input from the textarea |
edit | go to the edit link for this pgn | HTTP GET Request |
link | Link to the PGN of the given gameid | HTTP GET Request |
Installation
git clone https://github.com/WolfgangFahl/python-lichess-pgnserver
cd python-lichess-pgnserver
./install
Running
./run
Testing
./test