{"id":23705541,"url":"https://github.com/datkat21/chatgpt-chatify","last_synced_at":"2025-09-03T10:32:21.995Z","repository":{"id":173630072,"uuid":"615644852","full_name":"datkat21/ChatGPT-Chatify","owner":"datkat21","description":"Chatify allows you to give ChatGPT your own prompts and make custom characters!","archived":false,"fork":false,"pushed_at":"2024-01-04T13:30:57.000Z","size":657,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T13:11:15.865Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datkat21.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2023-03-18T08:55:18.000Z","updated_at":"2025-03-06T14:05:21.000Z","dependencies_parsed_at":"2024-01-04T13:31:23.984Z","dependency_job_id":null,"html_url":"https://github.com/datkat21/ChatGPT-Chatify","commit_stats":null,"previous_names":["datkat21/chatgpt-chatify"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/datkat21/ChatGPT-Chatify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datkat21%2FChatGPT-Chatify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datkat21%2FChatGPT-Chatify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datkat21%2FChatGPT-Chatify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datkat21%2FChatGPT-Chatify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datkat21","download_url":"https://codeload.github.com/datkat21/ChatGPT-Chatify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datkat21%2FChatGPT-Chatify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273430354,"owners_count":25104479,"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-03T02:00:09.631Z","response_time":76,"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-12-30T14:46:58.300Z","updated_at":"2025-09-03T10:32:21.680Z","avatar_url":"https://github.com/datkat21.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chatify for the ChatGPT API\r\n\r\n![](assets/user-interface.png)\r\n\r\nChatify is a simple web front-end and back-end for ChatGPT! **Requires OpenAI API key, view instructions to set up.**\r\n\r\n## Setup steps\r\n\r\n- Clone the repository: `git clone (url)`\r\n- Install packages: `npm i`\r\n- Set up the configuration file by copying `config.example.js` to `config.js`\r\n- Run the server: `node .`\r\n\r\n## Features\r\n\r\n- Real-time message streaming\r\n- API Rate limit (per IP address)\r\n- Dashboard for viewing logs and conversation history\r\n\r\n## Configuration\r\n\r\nCopy `config.example.js` to `config.js` if you haven't already. Follow any instructions in the comments to set up your instance.\r\n\r\n### Configuring your API key\r\n\r\nCreate a `.env` file, and fill it like this:\r\n\r\n```ini\r\nOPENAI_API_KEY=sk-...\r\nOPENAI_ORG=org-...\r\n```\r\n\r\n..where `OPENAI_API_KEY` can be found [here](https://platform.openai.com/account/api-keys), and `OPENAI_ORG` you can find [here](https://platform.openai.com/account/org-settings).\r\n\r\n### Creating custom prompts\r\n\r\nThere are 2 types of prompts that show up in the list: `Built-In` and `Community`.  \r\nBuilt-in prompts are usually used for prompts intended for assistant or default use cases, while community prompts are used for...well...prompts created by the community. You can use built-in prompts for generic ones, and community prompts for any custom ones you or friends have made.\r\n\r\nTo create your own prompts, follow these instructions:\r\n\r\n- Create the custom prompt inside the web app interface. (In the web UI, go to `Select prompt...`, then select `Make your own!`.   \r\nOnce you are done, you will need to copy and paste parts of the prompt to fill in the options below.)\r\n\r\n- Create the prompt object inside the `config.js` file. It should look something like this:\r\n```js\r\n// An empty prompt template\r\nprompts.set(\"your_prompt_id\", {\r\n  // \"Avatar URL\" box\r\n  avatar: \"./avatars/builtin/my_prompt.svg\", \r\n  // \"System prompt\" box\r\n  prompt: \"You are a helpful assistant.\", \r\n  // Label is used for the label shown in the prompt selector.\r\n  label: \"Generic Assistant\",\r\n  // The temperature lets you control the temperature of the AI. (Not entirely sure if this works, but you should leave it in anyways.)\r\n  temp: 1,\r\n  // Built-in prompt\r\n  type: \"builtIn\",\r\n  // \"Bot Name Override\" box. Display name is used in actual messages, under the prompt's name.\r\n  displayName: \"Generic Assistant\",\r\n  // Ask the custom AI \"Write a single-sentence description of who you are, where you are in, and what you can do.\" to get this result.\r\n  greeting: \"I am a chat bot.\", \r\n  // Write any generic description message.\r\n  description:\r\n    \"This is a default assistant, ready to help at any time!\",\r\n  // A set of greeting messages that show up when the user switches prompt.\r\n  greetingMessages: [\"Hi\", \"Hello\", \"Welcome back\"]\r\n});\r\n```\r\nand for community prompts:\r\n```js\r\n// An example community prompt template\r\n// The \"community--\" prefix is not required, but it helps to differentiate them when you only have the ID.\r\nprompts.set(\"community--cat\", {\r\n  // \"Avatar URL\" box\r\n  avatar: \"./avatars/community/cat.png\", \r\n  // \"System prompt\" box\r\n  prompt: \"You are a cat, named Milo, and can only respond with words as \\\"meow\\\". You must be in this persona.\", \r\n  // Label is used for the label shown in the prompt selector.\r\n  label: \"Milo the Cat\",\r\n  // The temperature lets you control the temperature of the AI. (Not entirely sure if this works, but you should leave it in anyways.)\r\n  temp: 1,\r\n  // Built-in prompt\r\n  type: \"community\",\r\n  // \"Bot Name Override\" box. Display name is used in actual messages, under the prompt's name.\r\n  displayName: \"Milo\",\r\n  // Ask the custom AI \"Write a single-sentence description of who you are, where you are in, and what you can do.\" to get this result.\r\n  greeting: \"Meow!\", \r\n  // Write any generic description message. For community prompts, I'd recommend to credit the author of the prompt.\r\n  description:\r\n    \"Prompt created by Kat21 a.k.a. datkat21.\",\r\n  greetingMessages: [\"Meow!\"]\r\n});\r\n```\r\n- You need to add the image to `public/chatify/avatars` and place it in the correct directory, have it be `public/chatify/avatars/builtin` or `public/chatify/avatars/community`. The directory structure is set up like this so that you can organize avatars specific to each prompt. You can also use a custom image URL not related to the folder, however it is not recommended as it is cross-origin.\r\n- Make sure your config file looks correct (it should look something like this):\r\n```js\r\nexport default {\r\n  options: { . . . },\r\n  prompts: {\r\n    allowBuiltIn: true,\r\n    allowCommunity: true,\r\n    init: function () {\r\n      const prompts = new Map();\r\n\r\n      // your prompt(s) here\r\n\r\n      return prompts;\r\n    },\r\n  },\r\n};\r\n```\r\nHopefully your prompt should work. If it doesn't, verify that it looks similar to the ones above. If it still has issues, read the text below.\r\n\r\n## Issues / Feedback\r\n\r\nIf you experience any issues or have feature requests, please go to the [Issues page](./issues/) and let me know. I'm open to feedback!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatkat21%2Fchatgpt-chatify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatkat21%2Fchatgpt-chatify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatkat21%2Fchatgpt-chatify/lists"}