{"id":20128743,"url":"https://github.com/nriver/trilium-chatgpt","last_synced_at":"2025-09-17T20:39:17.078Z","repository":{"id":167186894,"uuid":"642765605","full_name":"Nriver/trilium-chatgpt","owner":"Nriver","description":"Communicate between Trilium Notes and ChatGPT","archived":false,"fork":false,"pushed_at":"2023-05-19T09:59:39.000Z","size":17,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-02T21:31:25.353Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nriver.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-05-19T09:47:49.000Z","updated_at":"2023-12-15T10:20:45.000Z","dependencies_parsed_at":"2023-07-16T12:18:09.635Z","dependency_job_id":null,"html_url":"https://github.com/Nriver/trilium-chatgpt","commit_stats":null,"previous_names":["nriver/trilium-chatgpt"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Nriver/trilium-chatgpt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nriver%2Ftrilium-chatgpt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nriver%2Ftrilium-chatgpt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nriver%2Ftrilium-chatgpt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nriver%2Ftrilium-chatgpt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nriver","download_url":"https://codeload.github.com/Nriver/trilium-chatgpt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nriver%2Ftrilium-chatgpt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275658802,"owners_count":25504780,"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","status":"online","status_checked_at":"2025-09-17T02:00:09.119Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-13T20:29:19.175Z","updated_at":"2025-09-17T20:39:17.022Z","avatar_url":"https://github.com/Nriver.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Trilium-ChatGPT\n\nThis project enables communication between Trilium Notes and ChatGPT, acting as a middle service that facilitates\nquerying ChatGPT and saving the responses to your Trilium Notes.\n\n## How to Use\n\n1. Install Python 3 on your machine.\n2. Clone the code repository:\n\n   ```\n   git clone https://github.com/Nriver/trilium-chatgpt\n   ```\n\n3. Install the required dependencies:\n\n   ```\n   cd trilium-chatgpt\n   pip install -r requirements.txt\n   ```\n\n4. Open the `settings.py.sample` file, modify the configurations according to your needs, and rename it\n   to `settings.py`. You will need to set your OpenAI API key, Trilium's ETAPI token, and other relevant settings.\n\n5. Run the application:\n\n   ```\n   python3 main.py\n   ```\n\n6. Open your web browser and test the functionality by accessing `http://127.0.0.1:5000/query?keyword=Trilium+Notes`.\n   This should create a new note under the specified note ID.\n\n7. Optionally, you can set the search engine to `http://127.0.0.1:5000/query?keyword={keyword}` in Trilium. This allows\n   you to select some text, right-click, and search ChatGPT with the selected text.\n\nPlease note that you may need to customize the configurations further to suit your specific environment and\nrequirements.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnriver%2Ftrilium-chatgpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnriver%2Ftrilium-chatgpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnriver%2Ftrilium-chatgpt/lists"}