-
Notifications
You must be signed in to change notification settings - Fork 78
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
[WIP] Desktop applications #125
Conversation
Changes to be committed: modified: apps/unsaged/.env.local.example deleted: apps/unsaged/app/api/auth/[...nextauth]/route.ts new file: apps/unsaged/app/api/auth/route.ts modified: apps/unsaged/app/api/models/route.ts new file: apps/unsaged/app/auth/callback/route.ts new file: apps/unsaged/app/auth/signin/auth-form.tsx new file: apps/unsaged/app/auth/signin/page.tsx new file: apps/unsaged/app/auth/signout/route.ts modified: apps/unsaged/components/Home/components/PrimaryMenu/components/ActivityBar/ActivityBar.tsx modified: apps/unsaged/components/Home/components/SecondaryMenu/components/Menu/components/Screens/ModelSettings/components/model.tsx modified: apps/unsaged/db/GenerationScript.sql modified: apps/unsaged/middleware.ts modified: apps/unsaged/package.json deleted: apps/unsaged/types/auth-provider.ts deleted: apps/unsaged/types/next-auth.d.ts new file: apps/unsaged/types/supabase.types.ts modified: apps/unsaged/utils/app/auth/helpers.ts deleted: apps/unsaged/utils/app/auth/providers.ts modified: apps/unsaged/utils/app/const.ts modified: apps/unsaged/utils/app/storage/supabase/helpers/conversations.ts modified: apps/unsaged/utils/server/ai_vendors/openai/models.ts modified: pnpm-lock.yaml
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
I think we should create a new directory for your changes so our monorepo structure will look like this: packages |
Good idea! |
Closing this in favor of #165 to make it easier to merge |
Work in progress. This pull request has the code for building Windows, macOS, and Linux applications. This will become a separate app in the monorepo, although this app also contains many updates that will also be merged into the web app.
The following are the things that will differentiate the desktop app:
Progress:
Instructions to run desktop app:
pnpm install
cd apps/desktop
pnpm tauri dev
Optional
You shouldn't have to do this for ollama to work, but I'm leaving this just in case.
To access ollama models you must set the env variable
OLLAMA_ORIGINS=*://localhost
for the ollama service.Their documentation is not very clear, so here's my guide:
Linux
Add the following content to
/etc/systemd/system/ollama.service.d/environment.conf
. You may need to create the file and directory.Run
macOS
OLLAMA_ORIGINS=*://localhost ollama serve
Ollama documentation source