tiddly-gittly / TidGi-Desktop

TidGi is an privacy-in-mind, automated, auto-git-backup, freely-deployed knowledge management Desktop note app, based on Tiddlywiki, with REST API for web-clipping and Anki connect. 「 太记 」是一个基于「 太微 TiddlyWiki 」的知识管理桌面应用,能保护隐私内容、高级自动化、自动Git云备份、部署为博客,且可通过RESTAPI与Anki等应用连接。(迭代开发中欢迎试用,开发进度见下方链接)(Under active development, see website below for details)
https://tidgi.fun
Mozilla Public License 2.0
1.69k stars 102 forks source link

Provide python environment #344

Closed linonetwo closed 6 months ago

linonetwo commented 1 year ago
  1. Provide python environment via https://github.com/extrabacon/python-shell/issues/152 or https://til.simonwillison.net/electron/python-inside-electron and https://github.com/simonw/datasette-app , so we can run NLP tools like https://github.com/dongrixinyu/JioNLP and https://github.com/BlinkDL/ChatRWKV

  2. make sure pytorch cuda and other deps are bundled

https://www.reddit.com/r/MachineLearning/comments/1050cw1/d_best_way_to_package_pytorch_models_as_a/

https://github.com/iperov/DeepFaceLive Builder located here https://github.com/iperov/DeepFaceLive/blob/master/build/windows/WindowsBuilder.py and can be expanded to suit your needs.

linonetwo commented 1 year ago

https://github.com/jupyterlab/jupyterlab-desktop/issues/572#issuecomment-1427290486

linonetwo commented 1 year ago

https://github.com/nteract/nteract/issues/3030#issuecomment-518098465

linonetwo commented 1 year ago

Install a venv like https://github.com/AUTOMATIC1111/stable-diffusion-webui , in AppData folder

linonetwo commented 1 year ago

https://github.com/pyodide/pyodide use this as pythobn env, and it say it can install package. BUt don't know if it can use cuda

linonetwo commented 1 year ago

https://github.com/jupyterlite/jupyterlite

linonetwo commented 1 year ago

https://github.com/extremeheat/JSPyBridge

linonetwo commented 10 months ago

https://zhuanlan.zhihu.com/p/593018989 WtStudio 用的是 https://github.com/conda/conda-pack

linonetwo commented 6 months ago

Use llama.cpp, instead of python.