Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: lite version (frontend only) #1898

Open
tmc opened this issue May 1, 2024 · 3 comments
Open

feat: lite version (frontend only) #1898

tmc opened this issue May 1, 2024 · 3 comments

Comments

@tmc
Copy link

tmc commented May 1, 2024

I really enjoyed this project most when it could simply be a frontend for ollama. Please make it an option to reduce complexity and not require a backend process.

npm i; npm run dev -> working UI was wonderfully easy, and this has been lost.

@skyler14
Copy link

skyler14 commented May 1, 2024

I didn't get to use it back then, basically are you saying that you just connected the front end to some external API and then used it as a thin-client. Cuz if so that would actually be pretty sweet and I'd second that kind of capability

@tjbck tjbck changed the title make backend optional feat: lite version (frontend only) May 1, 2024
@tjbck
Copy link
Contributor

tjbck commented May 1, 2024

Not on the short term roadmap but PR welcome!

@justinh-rahb
Copy link
Collaborator

Not on the short term roadmap but PR welcome!

To clarify, our goal is to enable a frontend-only build within our existing codebase, without the need to create a separate project and remove all backend code permanently. An ideal solution would be a build-time flag for the frontend that disables backend-dependent functionality.

Additionally, this flag should save all preferences and settings to LocalStorage and allow Ollama/OpenAI API calls to be sent directly, bypassing the need for backend proxying. This will allow for a more streamlined and efficient frontend-only build based off the same codebase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants