{"id":28948903,"url":"https://github.com/xataio/ask-your-stack","last_synced_at":"2025-08-04T12:07:34.534Z","repository":{"id":149307956,"uuid":"621557269","full_name":"xataio/ask-your-stack","owner":"xataio","description":"Ask your stack demo","archived":false,"fork":false,"pushed_at":"2023-03-31T15:13:10.000Z","size":102,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-23T11:07:18.807Z","etag":null,"topics":["chatgpt","documentation","frontend","openai","search","webdev"],"latest_commit_sha":null,"homepage":"https://ask-your-stack.vercel.app","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/xataio.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,"zenodo":null}},"created_at":"2023-03-30T22:55:51.000Z","updated_at":"2024-01-21T03:44:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"ce710f20-cf12-48ff-8b4d-67eb0391ebee","html_url":"https://github.com/xataio/ask-your-stack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xataio/ask-your-stack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xataio%2Fask-your-stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xataio%2Fask-your-stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xataio%2Fask-your-stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xataio%2Fask-your-stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xataio","download_url":"https://codeload.github.com/xataio/ask-your-stack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xataio%2Fask-your-stack/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268693683,"owners_count":24291667,"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-08-04T02:00:09.867Z","response_time":79,"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":["chatgpt","documentation","frontend","openai","search","webdev"],"created_at":"2025-06-23T11:07:16.816Z","updated_at":"2025-08-04T12:07:34.525Z","avatar_url":"https://github.com/xataio.png","language":"TypeScript","readme":"# Ask Your Stack - have ChatGPT query the docs of your stack\n\nWe have crawled and loaded in Xata the docs from several projects. Select your stack, ask a question and ChatGPT will query the docs of your stack and return the best answer.\n\nDeployed at: [https://ask-your-stack.vercel.app/](https://ask-your-stack.vercel.app/)\n\n## How it works\n\nThe app uses [Xata AI](https://xata.io/chatgpt) to query ChatGPT with context from the up-to-date docs. This provides more recent information and reduces hallucinations. It uses this high-level algorithm:\n\n* Pass the question to ChatGPT and ask it to provide keywords\n* Use the Xata search functionality to retrieve the most relevant docs\n* Form a prompt using this context and the question and pass it to ChatGPT\n\nThis [blog post](https://xata.io/blog/keyword-vs-semantic-search-chatgpt) provides more details on the general approach.\n\n## Development\n\nIf you want to deploy this application, start by creating a Xata database and crawling the data by running the instructions from [xata-crawler](https://github.com/tsg/xata-crawler).\n\n### Install Project Dependencies\n\n```bash\nnpm install\n```\n\n### Setup environment variables\n\nConnect to your Xata database by running:\n\n```\nxata init\n```\n\nand selecting the database that you have created.\n\n### Start the app\n\n```bash\nnpm run dev\n```\nBy default the app runs on [localhost:3000](http://localhost:3000)\n\n# Questions?\n\nIf you have any questions, or you'd like to request more documentations, please head over to our [Discord](https://xata.io/discord).","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxataio%2Fask-your-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxataio%2Fask-your-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxataio%2Fask-your-stack/lists"}