This code comes with no guarantee whatsoever. You'll need to have an ollama server running under the same URL to bypass CORS, and if you use the companion app it will need to use the same URL too.
Just to be clear : this is just something I barfed out to get to speed with Angular18, so much is left to be desired in the way things are done and once I have the skills I need I might just drop the project alltogether. So don't expect help running it or me fixing issues you find. If you like it then I really encourage you to fork it and work on it yourself. Coding is a fun activity when it's raining outside.
- The excellent Ollama can found at https://ollama.com/
- The TTS companion application can be found at https://github.com/sammyf/tts_webapp
No tests included as of yet. Working on them.
Just leaving the automatically generated stuff here, as it might help you out a bit.
This project was generated with Angular CLI version 18.1.1.
Run ng serve
for a dev server. The application will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.