{"id":17047589,"url":"https://github.com/duskload/conversation-app-draft","last_synced_at":"2025-03-23T03:44:34.289Z","repository":{"id":66175540,"uuid":"578589516","full_name":"duskload/conversation-app-draft","owner":"duskload","description":"Created with CodeSandbox","archived":false,"fork":false,"pushed_at":"2022-12-15T12:17:31.000Z","size":121,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-28T10:25:01.904Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://codesandbox.io/s/github/duskload/conversation-app-draft","language":null,"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/duskload.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":"2022-12-15T12:17:28.000Z","updated_at":"2022-12-15T12:17:28.000Z","dependencies_parsed_at":"2023-02-21T06:01:15.291Z","dependency_job_id":null,"html_url":"https://github.com/duskload/conversation-app-draft","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duskload%2Fconversation-app-draft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duskload%2Fconversation-app-draft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duskload%2Fconversation-app-draft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duskload%2Fconversation-app-draft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duskload","download_url":"https://codeload.github.com/duskload/conversation-app-draft/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245052652,"owners_count":20553163,"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":[],"created_at":"2024-10-14T09:49:47.253Z","updated_at":"2025-03-23T03:44:34.260Z","avatar_url":"https://github.com/duskload.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# The Demo Conversations App\n\nThis is a lightweight application based on [Twilio Conversations](https://www.twilio.com/docs/conversations).\n\nPlease follow the directions for the [Twilio Conversations Quickstart](https://www.twilio.com/docs/conversations/quickstart) for a complete demo of this application with both SMS and chat participants.\n\n# Configuring and getting started\n\nThis demo requires a Twilio account and a working Conversations Service SID.\nYou'll need to collect some credentials from the [Twilio Console](https://www.twilio.com/console):\n* Your Account SID (`ACXXX`) and Auth Token, both accessible from the [Dashboard](https://twilio.com/console/dashboard)\n* Your Account's Conversations Service Sid `ISXXX` SID which is attached to your Conversations Service\n\n# Testing\n\nThe demo application can be configured and run in two ways:\n* Forking [the demo-conversations-application on CodeSandbox.io](https://codesandbox.io/s/github/TwilioDevEd/conversations-demo) (recommended)\n* Cloning this repo and running locally\n  * Remember to copy the `.env.example` file to `.env` and replace the variables values with\n  the ones from your account. By default `NODE_ENV` is set to `production`.\n  \n\n# Replacing the Access Token\n\nThe Conversations API uses an Access Token with a Chat Grant for client-side applications such as this one to authenticate themselves with Conversations Services in your Twilio Account.\n\nIn order for your Conversations Application to work, we need to authenticate a Conversations user by retrieving a short-lived token attached to your API Key. The `getToken` function in `ConversationsApp.js` has a placeholder for your chat token.\n\nYou can generate a token in a few ways:\n* Using the [twilio-cli](https://www.twilio.com/docs/twilio-cli/quickstart) and [twilio token plugin](https://github.com/twilio-labs/plugin-token) (Recommended)\n* Using [Twilio Runtime Function](https://www.twilio.com/docs/runtime/functions)\n\n For the twilio-cli option, run the following command and enter the resulting token into the placeholder:\n \n `twilio token:chat --identity \u003cThe test chat username\u003e --chat-service-sid \u003cISXXX...\u003e`\n\nAfter generating a token manually, it will expire after a timeout period, so you will need to replace the token. To use this in production software, you would typically create a token endpoint in your back end application that uses your existing user authentication strategy.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduskload%2Fconversation-app-draft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduskload%2Fconversation-app-draft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduskload%2Fconversation-app-draft/lists"}