Ollama2Go
is a Single page application building using the REMIX-SPA framework.
Here is a starter repo for building a SPA.
Ollama2Go
is a basic chat application and uses local Ollama supported models and chat.
Olamma2Go - watch it in action
Basic Features:
- Works locally
- Chat/Generate content with conversation memory
- Starting a new covnersation erases any memory
- Copy to clipboard (Response, Promot or Both)
- Set SYSTEM prompt to
- Provide Task instructions
- Set objective
- modify personality
- provide guidance - what to do / what not to do...
Uses Cases:
- As a writing Assistant : Write short stories/poems
- Generate/Explain Code
- Generate ficticious data
- Summarise text
- Translate text
Instruction for installing Ollama
To Download a model.
ollama pull <modelname>
The list of available models are here
2.1 Clone this repo
2.2 npm install
2.2 npm run dev
and open the app in browse Ollama2Go
When you are ready to build a production version of your app, npm run build
will generate your assets and an index.html
for the SPA.
npm run build
You can preview the build locally with vite preview to serve all routes via the single index.html
file:
npm run preview
![WARNING]
vite preview
is not designed for use as a production server
You can then serve your app from any HTTP server of your choosing. The server should be configured to serve multiple paths from a single root /index.html
file (commonly called "SPA fallback"). Other steps may be required if the server doesn't directly support this functionality.
For a simple example, you could use sirv-cli:
npx sirv-cli build/client/ --single