Open-LLM-VTuber icon indicating copy to clipboard operation
Open-LLM-VTuber copied to clipboard

[IDEA] Allow protecting openllm-vtuber behind basic http auth.

Open LucaSilva-r opened this issue 5 months ago • 0 comments

这个功能请求是用来解决什么问题的? / Is your feature request related to a problem? Please describe.

请清晰简洁地描述您遇到的问题。例如:我总是在 [...] 时感到不方便。

[在这里输入问题描述 / Type problem description here]

I may be the only one in need of this, but I think it would be great if the frontend supported natively accessing opnellm vtuber's backend that is on a server outside of my home. To prevent anyone to use my instance I put the server app behind Authentik. This works great when using it through the browser. Unfortunately this is not the same for the electron app. I can create a service account that let's an app access another one through basic http though. Would it be possible to add the option?

您期望的解决方案是什么? / Describe the solution you'd like

请清晰简洁地描述您希望实现的功能或效果。 A clear and concise description of what you want to happen.

Just have two boxes where to put username and password inside of the frontend app. Actually this is needed only for the electron app, but from what I understand they are the same.

[在此处输入期望的解决方案 / Type desired solution here]

If the users fills in the data, the app should fill in the authorization headers for every request.

此功能为何对 Open-LLM-VTuber 很重要? / Why is this important for Open-LLM-VTuber?

It's kind of a niche case, but would let a user protect it's instance better when using the desktop app. The same could be optained with a vpn like zerotier, but this seems like the least messy option. At least to me

请解释为什么这个功能对 Open-LLM-VTuber 项目来说是实用且重要的。它能带来什么价值?例如,它如何提升用户体验、扩展项目能力、解决核心痛点等。 Explain why this feature would be useful and significant for the Open-LLM-VTuber project. What value does it add? For example, how does it improve user experience, extend project capabilities, or solve core pain points?

[在此处说明其重要性 / Explain its importance here]

Easier use and better secuirty for users with homelabs not at their home!

您考虑过哪些替代方案? / Describe alternatives you've considered

I considered using vpns like zerotier, but it would add quite a bit of complexity to the setup with docker, also it would mean registering every device to the network where I want to use Openllm-vtuber

请清晰简洁地描述您考虑过的任何替代解决方案或特性。 A clear and concise description of any alternative solutions or features you've considered.

[在此处输入替代方案 / Type alternatives here]

您是否愿意参与开发此功能? / Would you like to work on this issue?

请回答 Yes 或 No。如果您愿意,我们可以讨论后续步骤。 Please answer Yes or No. If yes, we can discuss the next steps.

I could try working on it if needed :). I don't think it should be too complex.

[回答 Yes/No / Answer Yes/No]

补充信息 / Additional context

在此处添加有关此功能请求的任何其他上下文、截图、日志或设计稿。 Add any other context, screenshots, logs, or mockups about the feature request here.

[在此处添加补充信息 / Add additional context here]

LucaSilva-r avatar Aug 11 '25 16:08 LucaSilva-r