langgenius / dify

Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
https://dify.ai
Other
52.6k stars 7.69k forks source link

Support building an individual desktop app #10197

Open Reekin opened 3 weeks ago

Reekin commented 3 weeks ago

Self Checks

1. Is this request related to a challenge you're experiencing? Tell me about your story.

I deploy dify on my Win10 PC as personal chatbot. Using docker and run it through a web page, it easily gets mixed in with a bunch of other tabs, making it difficult to distinguish from other pages. Additionally, running on explorer makes it unable to support very useful features like global keyboard shortcuts to bring up the conversation from anywhere.

I've known that this project has a Nextjs frontend and a flask backend, but I still don't know is it possible to package them into an exe through electron or some other things. I asked llm and it says such packaging is a complex job.

I'd appreciate any guidance and advice If I can do it myself easily.

2. Additional context or comments

No response

3. Can you help us with this feature?

lhysdl commented 3 weeks ago

I am not an expert on that, but I also have this thought recently. Maybe use its API to build a standalone desktop app is more flexible ?