{"id":14070078,"url":"https://github.com/TheOrcDev/orcish-openai-connector","last_synced_at":"2025-07-30T06:34:02.432Z","repository":{"id":195586407,"uuid":"693228468","full_name":"TheOrcDev/orcish-openai-connector","owner":"TheOrcDev","description":"Simple typescript package to use OpenAI completion \u0026 image creation","archived":false,"fork":false,"pushed_at":"2024-10-03T10:50:40.000Z","size":186,"stargazers_count":36,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-22T03:11:19.043Z","etag":null,"topics":["ai","openai","package","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/orcish-openai-connector","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/TheOrcDev.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}},"created_at":"2023-09-18T15:49:32.000Z","updated_at":"2025-06-11T15:44:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"e0de897f-a9da-490a-b813-d7bae0cf4c57","html_url":"https://github.com/TheOrcDev/orcish-openai-connector","commit_stats":null,"previous_names":["tribalking/openai","theorcdev/openai","theorcdev/openai-connector"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TheOrcDev/orcish-openai-connector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheOrcDev%2Forcish-openai-connector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheOrcDev%2Forcish-openai-connector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheOrcDev%2Forcish-openai-connector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheOrcDev%2Forcish-openai-connector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheOrcDev","download_url":"https://codeload.github.com/TheOrcDev/orcish-openai-connector/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheOrcDev%2Forcish-openai-connector/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267823298,"owners_count":24149788,"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-07-30T02:00:09.044Z","response_time":70,"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":["ai","openai","package","typescript"],"created_at":"2024-08-13T07:07:28.092Z","updated_at":"2025-07-30T06:34:02.146Z","avatar_url":"https://github.com/TheOrcDev.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"![Untitled design](https://github.com/TheOrcDev/orcish-openai-connector/assets/7549148/d53f1ea9-5eab-4378-8bc0-56c3de5d5abf)\n\n# Orcish OpenAI Connector\n\nOrcish OpenAI Connector is a simple completion and image creator application powered by OpenAI's language and image models.\n\n## Getting Started\n\nFollow these steps to set up and run the Orcish OpenAI Connector.\n\n### Prerequisites\n\nMake sure you have [Node.js](https://nodejs.org/) installed on your machine.\n\n### Installation\n\n1. Install the package in your project:\n\n    ```bash\n    npm i orcish-openai-connector\n    ```\n\n    or\n\n    ```bash\n    yarn add orcish-openai-connector\n    ```\n\n    or\n\n    ```bash\n    pnpm add orcish-openai-connector\n    ```\n\n2. After installation, you can import and use the `OrcishOpenAIService` class in your project.\n\n    ```typescript\n    import { OrcishOpenAIService } from 'orcish-openai-connector';\n\n    // Create an instance of OrcishOpenAIService\n    const orcishOpenAIService = new OrcishOpenAIService({\n      apiKey: 'your_openai_api_key',\n      // Add other options as needed\n    });\n\n    // Use OrcishOpenAIService methods\n    const chatGPTResult = await orcishOpenAIService.getChatGPTCompletion('Cool orcish name');\n    const dalle3Image = await orcishOpenAIService.getDalle3Image('Orc working on a computer');\n    ```\n\n    ### Configuration Options\n\nWhen creating an instance of `OrcishOpenAIService`, you can provide the following options:\n\n- `apiKey` (string, required): Your OpenAI API key.\n- `gptModel` (string, optional, default: 'gpt-3.5-turbo'): The GPT model to use.\n- `gptTemperature` (string, optional, default: '0.8'): The temperature parameter for GPT completion.\n- `gptMaxTokens` (string, optional, default: '1048'): The maximum number of tokens for GPT completion.\n- `imageModel` (string, optional, default: 'dall-e-3'): The image model to use.\n- `imageResolution` (string, optional, default: '1792x1024'): The resolution for generated images.\n\nExample:\n\n```typescript\nimport { OrcishOpenAIService } from 'orcish-openai-connector';\n\n// Create an instance of OrcishOpenAIService with custom options\nconst orcishOpenAIService = new OrcishOpenAIService({\n  apiKey: 'your_openai_api_key',\n  gptModel: 'gpt-3.5-turbo',\n  gptTemperature: '0.7',\n  gptMaxTokens: '512',\n  imageModel: 'dall-e-3',\n  imageResolution: '1920x1080',\n});\n\n// Use OrcishOpenAIService methods with custom options\nconst chatGPTResult = await orcishOpenAIService.getChatGPTCompletion('Cool orcish name', {\n  gptTemperature: '0.7',\n  // Add other options as needed\n});\n\nconst dalle3Image = await orcishOpenAIService.getDalle3Image('Orc working on a computer', {\n  imageResolution: '1792x1024',\n  // Add other options as needed\n});\n\nconst textToSpeech = await orcishOpenAIService.textToSpeech('This is an AI Voice. Hello!');\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTheOrcDev%2Forcish-openai-connector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTheOrcDev%2Forcish-openai-connector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTheOrcDev%2Forcish-openai-connector/lists"}