{"id":18383921,"url":"https://github.com/akhiljw46/kathyhere-backend","last_synced_at":"2026-04-08T20:03:33.835Z","repository":{"id":214231450,"uuid":"732327175","full_name":"akhiljw46/kathyhere-backend","owner":"akhiljw46","description":"A dating AI Chat Bot API","archived":false,"fork":false,"pushed_at":"2023-12-30T16:42:05.000Z","size":37,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-19T06:04:16.449Z","etag":null,"topics":["ai","api","chatbot","expressjs","gemini","google-gemini","javascript","nodejs"],"latest_commit_sha":null,"homepage":"https://kathyhere.cyclic.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akhiljw46.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-12-16T10:01:41.000Z","updated_at":"2024-08-25T18:15:46.000Z","dependencies_parsed_at":"2024-12-24T06:22:50.993Z","dependency_job_id":"2d7e9894-f36d-4780-ae1c-e27ede6da2b9","html_url":"https://github.com/akhiljw46/kathyhere-backend","commit_stats":null,"previous_names":["akhiljw46/kathyhere-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/akhiljw46/kathyhere-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhiljw46%2Fkathyhere-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhiljw46%2Fkathyhere-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhiljw46%2Fkathyhere-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhiljw46%2Fkathyhere-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akhiljw46","download_url":"https://codeload.github.com/akhiljw46/kathyhere-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhiljw46%2Fkathyhere-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31571601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["ai","api","chatbot","expressjs","gemini","google-gemini","javascript","nodejs"],"created_at":"2024-11-06T01:12:58.665Z","updated_at":"2026-04-08T20:03:33.808Z","avatar_url":"https://github.com/akhiljw46.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kathy Here Backend\n\nAn AI powered dating chatbot backend powered by [Google Gemini](https://ai.google.dev/)\n\nCreated using Express JS\n\nHosted on : https://kathyhere.cyclic.app\n\nFrontend repository : https://github.com/akhiljw46/kathyhere-frontend\n\n## How to run\n\n### Step 1\n\nCreate a `config.env` file in the project folder with the following variables :\n\n`API_KEY` : Google Gemini API key. You can get it [here](https://makersuite.google.com/app/apikey).\n\n`PORT` : The port to run the server. Default port is 3000.\n\n`ENVIRONMENT` : Either `development` or `production`.\n\n`LOG_URL` : The database to save the logs in case of development.\n\n### Step 2\n\nRun the following commands:\n\n```\nnpm install\nnpm start\n```\n\n## API documentation\n\nSend `POST` request to `{API_URL}/v1/message/{USER_MODEL}`\n\nWhere `{API_URL}` is the url of the server and `{USER_MODEL}` is the model to be used, either `kathy` or `tom`.\n\nWith payload in the forllowing format:\n\n```\n{\n    \"messages\": [\n        {\n            \"id\": 1703609459098,\n            \"isUser\": false,\n            \"messageText\": \"Message by AI\"\n        },\n        {\n            \"id\": 1703609459099,\n            \"isUser\": true,\n            \"messageText\": \"Message by User\"\n        }\n    ]\n}\n```\n\nWhere the `messages` array contains objects with the following properties:\n\n`id` is the unique message id.\n\n`isUser` is a boolean `true` if the message is by the user and `false` if the message is by the AI model.\n\n`messageText` is the message content.\n\nResponse will be in the following format:\n\n```\n{\n    \"status\": \"success\",\n    \"message\": \"Reply message\"\n}\n```\n\nWhere, `status` is either `success` or `failed`\n\nand `message` is the reply message in case of `success` or error message in case of `failed` statuses.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakhiljw46%2Fkathyhere-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakhiljw46%2Fkathyhere-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakhiljw46%2Fkathyhere-backend/lists"}