{"id":24941928,"url":"https://github.com/strwise/chat-assistant","last_synced_at":"2025-03-28T18:40:47.661Z","repository":{"id":265316933,"uuid":"895698172","full_name":"strwise/chat-assistant","owner":"strwise","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-28T22:45:44.000Z","size":3112,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-02T18:57:12.518Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/strwise.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2024-11-28T17:50:24.000Z","updated_at":"2024-11-28T22:45:48.000Z","dependencies_parsed_at":"2024-11-28T22:38:17.714Z","dependency_job_id":null,"html_url":"https://github.com/strwise/chat-assistant","commit_stats":null,"previous_names":["strwise/chat-assistant"],"tags_count":0,"template":false,"template_full_name":"langgenius/webapp-conversation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strwise%2Fchat-assistant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strwise%2Fchat-assistant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strwise%2Fchat-assistant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strwise%2Fchat-assistant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strwise","download_url":"https://codeload.github.com/strwise/chat-assistant/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246082610,"owners_count":20720829,"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":"2025-02-02T18:57:20.064Z","updated_at":"2025-03-28T18:40:47.635Z","avatar_url":"https://github.com/strwise.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Conversation Web App Template\nThis is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).\n\n## Config App\nCreate a file named `.env.local` in the current directory and copy the contents from `.env.example`. Setting the following content:\n```\n# APP ID: This is the unique identifier for your app. You can find it in the app's detail page URL. \n# For example, in the URL `https://cloud.dify.ai/app/xxx/workflow`, the value `xxx` is your APP ID.\nNEXT_PUBLIC_APP_ID=\n\n# APP API Key: This is the key used to authenticate your app's API requests. \n# You can generate it on the app's \"API Access\" page by clicking the \"API Key\" button in the top-right corner.\nNEXT_PUBLIC_APP_KEY=\n\n# APP URL: This is the API's base URL. If you're using the Dify cloud service, set it to: https://api.dify.ai/v1.\nNEXT_PUBLIC_API_URL=\n```\n\nConfig more in `config/index.ts` file:   \n```js\nexport const APP_INFO: AppInfo = {\n  title: 'Chat APP',\n  description: '',\n  copyright: '',\n  privacy_policy: '',\n  default_language: 'zh-Hans'\n}\n\nexport const isShowPrompt = true\nexport const promptTemplate = ''\n```\n\n## Getting Started\nFirst, install dependencies:\n```bash\nnpm install\n# or\nyarn\n# or\npnpm install\n```\n\nThen, run the development server:\n\n```bash\nnpm run dev\n# or\nyarn dev\n# or\npnpm dev\n```\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n## Using Docker\n\n```\ndocker build . -t \u003cDOCKER_HUB_REPO\u003e/webapp-conversation:latest\n# now you can access it in port 3000\ndocker run -p 3000:3000 \u003cDOCKER_HUB_REPO\u003e/webapp-conversation:latest\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n## Learn More\n\nTo learn more about Next.js, take a look at the following resources:\n\n- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.\n- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.\n\nYou can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!\n\n## Deploy on Vercel\n\n\u003e ⚠️ If you are using [Vercel Hobby](https://vercel.com/pricing), your message will be truncated due to the limitation of vercel.\n\n\nThe easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template\u0026filter=next.js\u0026utm_source=create-next-app\u0026utm_campaign=create-next-app-readme) from the creators of Next.js.\n\nCheck out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrwise%2Fchat-assistant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrwise%2Fchat-assistant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrwise%2Fchat-assistant/lists"}