{"id":19190029,"url":"https://github.com/itz-hyperz/bosschat","last_synced_at":"2026-05-14T22:05:03.902Z","repository":{"id":150651319,"uuid":"623354830","full_name":"Itz-Hyperz/bosschat","owner":"Itz-Hyperz","description":"Boss Chat is a node module that allows you to interact with OpenAI via the paid or free plan. It includes easy integration into web applications and other programs aswell.","archived":false,"fork":false,"pushed_at":"2023-04-04T22:33:33.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-03T17:37:51.898Z","etag":null,"topics":["chatgpt","cli-tool","node-module","openai"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/bosschat","language":"JavaScript","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/Itz-Hyperz.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":"2023-04-04T07:53:10.000Z","updated_at":"2023-04-04T07:59:44.000Z","dependencies_parsed_at":"2023-06-12T10:45:36.414Z","dependency_job_id":null,"html_url":"https://github.com/Itz-Hyperz/bosschat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Itz-Hyperz/bosschat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Itz-Hyperz%2Fbosschat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Itz-Hyperz%2Fbosschat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Itz-Hyperz%2Fbosschat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Itz-Hyperz%2Fbosschat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Itz-Hyperz","download_url":"https://codeload.github.com/Itz-Hyperz/bosschat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Itz-Hyperz%2Fbosschat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33045149,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"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","cli-tool","node-module","openai"],"created_at":"2024-11-09T11:32:41.336Z","updated_at":"2026-05-14T22:05:03.885Z","avatar_url":"https://github.com/Itz-Hyperz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BossChat\r\nBoss Chat is a node module that allows you to interact with OpenAI via the paid or free plan. It includes easy integration into web applications and other programs aswell.\r\n\r\n[GitHub Repository](https://github.com/itz-hyperz/bosschat)\r\n\r\n---\r\n\r\n# Dependencies\r\n- [@ChatGPT](https://www.npmjs.com/package/chatgpt)\r\n\r\n| ChatGPTAPI        | ChatGPTUnofficialProxyAPI |\r\n| ------------- | -----|\r\n| Uses the gpt-3.5-turbo-0301 model with the official OpenAI chat completions API. | Uses an unofficial proxy server to access ChatGPT's backend API in a way that circumvents Cloudflare. |\r\n| You can override the model, completion params, and system message to fully customize your assistant. | Uses the real ChatGPT and is pretty lightweight. |\r\n| Official, robust approach, but it's not free. | Relies on a third-party server and is rate-limited. |\r\n\r\n---\r\n\r\n# Example\r\nThis is a simple example of the node module in use.\r\n\r\n```javascript\r\nconst bosschat = require('bosschat'); // Import module\r\n\r\n// APIKEY: String, Free/Paid OpenAI API Key\r\n// VERSION: Integer, 0=Free, 1=Paid\r\n// DEBUGMODE: Boolean, True/False Error Logging\r\nconst instance = new bosschat({ apiKey: 'YOUR_OPENAI_API_KEY', version: 0, debugMode: true }); // Configure module instance\r\n\r\ninstance.init(); // Initialize instance\r\n\r\n// SIMPLE AI PROMPT\r\nlet simpleResponse = instance.prompt('How do you bake a cake?'); // Ask the AI a question in simple format.\r\nconsole.log(simpleResponse); // You can bake a cake by...\r\n\r\n// ADVANCED AI PROMPT\r\nlet conversationId = Date.now(); // This would usually be a user Id or session Id.\r\nlet advancedResponse = instance.prompt('How do you bake a cake?', { conversationId: conversationId }); // Ask the AI a question in advanced format with options.\r\nconsole.log(advancedResponse); // Returns OBJECT of conversation prompts and response history for session Id.\r\n\r\n// Delete a conversation\r\ninstance.deleteConvo(conversationId); // Returns a true value\r\n\r\n// Delete all conversation history\r\ninstance.deleteAllConvos(); // Returns a true value\r\n```\r\n\r\n---\r\n\r\n# Credits\r\n- [@Hyperz](https://bosssoftware.net) *Lead Stack Developer.*","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitz-hyperz%2Fbosschat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitz-hyperz%2Fbosschat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitz-hyperz%2Fbosschat/lists"}