{"id":16107207,"url":"https://github.com/againstentropy/trio-ollama","last_synced_at":"2025-04-06T03:40:55.176Z","repository":{"id":252684291,"uuid":"840833810","full_name":"AgainstEntropy/trio-ollama","owner":"AgainstEntropy","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-11T18:24:51.000Z","size":164,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T09:58:18.784Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AgainstEntropy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-10T20:34:44.000Z","updated_at":"2024-08-11T18:24:54.000Z","dependencies_parsed_at":"2024-08-11T19:55:54.175Z","dependency_job_id":null,"html_url":"https://github.com/AgainstEntropy/trio-ollama","commit_stats":null,"previous_names":["againstentropy/trio-ollama"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgainstEntropy%2Ftrio-ollama","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgainstEntropy%2Ftrio-ollama/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgainstEntropy%2Ftrio-ollama/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgainstEntropy%2Ftrio-ollama/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AgainstEntropy","download_url":"https://codeload.github.com/AgainstEntropy/trio-ollama/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247430838,"owners_count":20937873,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-09T19:15:33.566Z","updated_at":"2025-04-06T03:40:55.147Z","avatar_url":"https://github.com/AgainstEntropy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Trio-Ollama\n\nTrio consists of three parts: to-do, note and chat!\n\n## Getting Started\n\n### Package installation\n\n```shell\nnpm i\npip install -r requirements.txt\n```\n\n### Database ProtoType\n\nCreate a `.env.local` file first and write in\n\n```\nNEXT_PORT=3030\nFASTAPI_PORT=8080\nDATABASE_URL=sqlite.db\n```\n\nthen run the following line:\n\n```shell\nnpx drizzle-kit push:sqlite\n```\n\n### Start Trio\n\n```shell\npython src-fastapi/main_ollama.py   # start FastAPI backend\nnpm run dev                         # start next.js frontend\n```\n\n## Trouble Shooting\n\nTo make `ollama` works with `FastAPI`, one needs to import `TypedDict` from `typing_extensions` (instead of `typing`), maybe via adding the following line to `ollama._types`:\n\n```python\nfrom typing_extensions import TypedDict\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagainstentropy%2Ftrio-ollama","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagainstentropy%2Ftrio-ollama","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagainstentropy%2Ftrio-ollama/lists"}