{"id":21771159,"url":"https://github.com/rightcapitalhq/artist","last_synced_at":"2025-07-19T07:30:46.330Z","repository":{"id":200136778,"uuid":"682429756","full_name":"RightCapitalHQ/artist","owner":"RightCapitalHQ","description":"The Artist is a Slack chatbot with the ability to draw fantastic AI images.","archived":false,"fork":false,"pushed_at":"2024-11-21T02:40:16.000Z","size":2657,"stargazers_count":1,"open_issues_count":7,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-11-21T03:24:44.256Z","etag":null,"topics":["aigc","dall-e","slack","slack-bot","slackbot"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/RightCapitalHQ.png","metadata":{"files":{"readme":"README.md","changelog":"change/@rightcapital-artist-01dacdf2-43a9-4979-8cfe-2c52dd88f08c.json","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-08-24T06:41:02.000Z","updated_at":"2024-11-01T07:54:00.000Z","dependencies_parsed_at":"2024-02-22T19:51:40.057Z","dependency_job_id":"2936cd74-14d8-4543-87da-8f2acef56529","html_url":"https://github.com/RightCapitalHQ/artist","commit_stats":null,"previous_names":["rightcapitalhq/artist"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RightCapitalHQ%2Fartist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RightCapitalHQ%2Fartist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RightCapitalHQ%2Fartist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RightCapitalHQ%2Fartist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RightCapitalHQ","download_url":"https://codeload.github.com/RightCapitalHQ/artist/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226555653,"owners_count":17650731,"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","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":["aigc","dall-e","slack","slack-bot","slackbot"],"created_at":"2024-11-26T14:15:15.083Z","updated_at":"2024-11-26T14:15:15.834Z","avatar_url":"https://github.com/RightCapitalHQ.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Artist Chatbot\n\n\u003c!-- Badges area start --\u003e\n\n[![made by RightCapital](https://img.shields.io/badge/made_by-RightCapital-5070e6)](https://rightcapital.com)\n![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/RightCapitalHQ/artist/ci.yml)\n[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196?logo=conventionalcommits\u0026logoColor=white)](https://conventionalcommits.org)\n[![RightCapital frontend style guide](https://img.shields.io/badge/code_style-RightCapital-5c4c64?labelColor=f0ede8)](https://github.com/RightCapitalHQ/frontend-style-guide)\n\n\u003c!-- Badges area end --\u003e\n\n## Introduction\n\nThe Artist is a Slack chatbot with the ability to draw fantastic AI images.\n\nit allows Slack users to use the Midjourey alike Slash command to generate the image.\n\n## Screenshot\n\n![Screenshot of imagine](./assets/artist-screenshot.png)\n\n## Deployment\n\nThis app is based on Slack Bolt project with the Socket Mode enabled. It could be deployed to the environment that with Node.js runtime to run the service.\n\n### Preparation\n\nBefore you start the deployment, Please ensure you have the following items ready.\n\n- An OpenAI API keys with quota.\n- A Slack account with permission to create new app for specific workspace.\n- A Self-hosted server that with Node.js installed or some PaaS platforms that could run Node.js apps.\n\n### Steps\n\n#### Create a new app from Slack\n\n1.  Create a new app from slack through this URL `https://api.slack.com/apps` (Click the green button: `Create New App`)\n2.  Choose `From an app manifest`\n3.  Select an workspace you want to add The Artist chatbot to.\n4.  Copy and paste the content form: [manifest.json](./manifest.json) to the editor and click `Next`\n5.  Confirm the information and choose `Create`. then your App is created.\n6.  On the App detail page. in the App-Level Tokens section, please click `Generate Token and Scopes` button.\n7.  Input the Token name like: `Artist Chatbot app token`, and Choose the scopes: `connections:write`, `authorizations:read`, `app_configurations:write` and click `Generate` mnow you get `App Token`\n8.  Click the `Install to Workspace` button to install the bot to your Workspace. once it is done, you could get the `OAuth Token` on the `OAuth \u0026 Permission` page.\n\n#### Set up the following environment variables\n\n- `OPENAI_API_KEY`: Your OpenAI API key\n- `SLACK_APP_TOKEN`: Slack App token. it usually starts with `xapp-`\n- `SLACK_BOT_TOKEN`: Slack Bot OAuth token,it usually starts with `xoxb-`\n\n#### Run the Chatbot server\n\n```\n# Clone the repo\n\u003e git clone git@github.com:RightCapitalHQ/artist.git\n\n# Build\n\u003e cd artist\n\u003e pnpm install\n? pnpm build\n\n# Please run the chatbot server by executing the following command: (Make sure you have set up the environment variables correctly)\n\u003e node ./dist/app.js\n```\n\nIf you would like to deploy it on Heroku, please refer to [this documentation](https://slack.dev/bolt-js/deployments/heroku) for more detailed information.\n\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/RightCapitalHQ/artist)\n\n## Usage\n\n### Slash command\n\n\u003e /imagine _prompt text_ \\{_optional more options_\\}\n\n### Example\n\nGenerate an image: `/imagine 3D render a diver meeting a sea turtle in the ocean`\n\nGenerate an image with specific size: `/imagine 3D render a diver meeting a sea turtle in the ocean -s 1024x1024`\n\nGenerate N images: `/imagine 3D render a diver meeting a sea turtle in the ocean -n 4`\n\nGenerate a variation of an existing image: `/imagine https://pasteboard.co/eOfZLkEY9TRU.png -v`\n\nCreate an image by filling in the transparent areas of the uploaded image: `/imagine https://pasteboard.co/itau62RNCgna.png A minimalist and plain logo of a cat chatbot.  -e`\n\n## Contributing\n\nComing soon.\n\n## License\n\nMIT License © 2023-Present\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frightcapitalhq%2Fartist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frightcapitalhq%2Fartist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frightcapitalhq%2Fartist/lists"}