Open tenken opened 5 years ago
Hi, thank you for your comments! During the last week, I have worked on a new release which includes the following improvements:
The new release will be uploaded as soon as possible. I would also like to include your Dockerfile in the new release if it helps other people to use the program.
In the latest release, a new option "Import ChessFriend-Fire database" has been added to the app. By storing the FEN of the current board position in the comments of the pgn, the duration for parsing one game has been reduced by a factor of ten. On my laptop, I can now import more than 1 Million games in little more than one hour.
Greetings --
Thanks for this great application. I'm not chess guru but I recenty found your repo in the last week or two when looking for a way to run a personal chess database on Linux. I am a web developer at UCSB so I went about attempting to run the application locally via a Docker container. At first I wasn't certain if this was a browser extension/plugin or if it was some sort of Electron based app; I primarily do PHP related work. But in any event eventually I deduced this was nodejs running via webkit -- and eventually looked into pre-existing Dockerfiles that would allow me to run the application via VNC ... and eventually I settled on running the application in a container while allowing my local Xserver to render the application.
In order to do so one would simply do something like:
The reason I went through the above looks is that while it's great you've attempted to self-contain running this application if the host OS has the necessary dependencies installed -- I've screwed up too many systems via python Virtual Environments or similar package management managed applications to faithfully rely on them or clutter my system this lots of applications dependencies I may only use sparingly -- so I've slowly started Dockerizing applications I find useful and simply mounting the application directory and data directories onto the Host OS someplace for permanency.
Issues
1. When running the app via Docker if you right click on a notation of a game loaded from the database the default ContextMenu for node-webkit displays and not any app-specific right-click menu as the readme describes. I had to un-comment the line that was preventing the default behavior:
With
preventDefault()
supressing the default NW context menu -- then the app specific context menu works, but oddly without themeing applied as in the README (I really dont care if it at least works, i'm sure Linux is in the minority in users :D ):2. (For linux) the default Stockfish engine does not work out the box. The console outputs from
uciWorker.js
log output as (some added by me locally for testing):After the above debugging I downloaded the Git repo directly and inspected
/src/bin
directory:The Stockfish exectuable for Linux does not have the permission bit set so it will not successfully run as-is. By simply
chmod a+x stockfish_10_x64
from within the Container then the Engine output appears in the app as expected. I suggest you update the permissions as needed in your next release.Again I'm basically a chess novice but my own personal wishlist for an application such as this would inlcude:
I'm terribly busy over the summer, but if there's any of the above items I start to look into I will let you know.
Thanks again, if requested I could share the Dockerfile + docker-compose file if you'd like but it's more for my personal use and I've not considered it of sufficient quality to release to the public.