{"id":23265077,"url":"https://github.com/ikesler/qai","last_synced_at":"2026-05-07T06:36:48.684Z","repository":{"id":268695336,"uuid":"901429395","full_name":"ikesler/qai","owner":"ikesler","description":"Quick AI - quick and dirty AI prompting API","archived":false,"fork":false,"pushed_at":"2024-12-18T16:22:19.000Z","size":75,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T07:16:54.185Z","etag":null,"topics":["chatgpt","directus","fastify","nodejs","openai"],"latest_commit_sha":null,"homepage":"","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/ikesler.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-12-10T16:36:01.000Z","updated_at":"2024-12-18T16:22:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"48287eb8-74b9-4d0b-a205-58e172835756","html_url":"https://github.com/ikesler/qai","commit_stats":null,"previous_names":["ikesler/qai"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/ikesler/qai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikesler%2Fqai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikesler%2Fqai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikesler%2Fqai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikesler%2Fqai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ikesler","download_url":"https://codeload.github.com/ikesler/qai/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikesler%2Fqai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32726322,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["chatgpt","directus","fastify","nodejs","openai"],"created_at":"2024-12-19T15:16:56.495Z","updated_at":"2026-05-07T06:36:48.653Z","avatar_url":"https://github.com/ikesler.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"A simple OpenAI chat client for using in automated flows.\n\nDefine AI assistant configurations in [Directus](https://docs.directus.io/) headless CMS and use them by calling this app like `http://localhost:3000/?q=Github\u0026a=en_dict\u0026t=***`. In this example:\n\n- `http://localhost:3000` - URL of an instance of this application\n- `q` - prompt to the AI\n- `a` - assistant code defined in Directus\n- `t` - Directus user API token (defined in the back office)\n\nApplication will send the prompt to the AI, get completion, save it to Directus DB and render the completion as a web page.\n\nAs for Directus, there are just two collections used: `qai_assistant` and `qai_completion_cache`. Corresponding interfaces can be found in `directus.ts`.\n\nApplication supports AI configurations via [HashiCorp's Vault](https://www.hashicorp.com/products/vault) or environment variables. See `.env-cmdrc.example` file.\n\nI personally use it as a part of [Tasker's AutoShare](https://joaoapps.com/autoshare/what-it-is/) command handlers. Selecting text in any app and then sharing it to a pre-configured AI assistant: dictionary, web summary, translator, etc.\n\nCSS borrowed from beautiful [Cactus theme](https://github.com/monkeyWzr/hugo-theme-cactus).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fikesler%2Fqai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fikesler%2Fqai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fikesler%2Fqai/lists"}