{"id":19036102,"url":"https://github.com/privoce/vocechat-demo-bot-all","last_synced_at":"2025-04-23T19:04:32.458Z","repository":{"id":182237972,"uuid":"667085102","full_name":"Privoce/vocechat-demo-bot-all","owner":"Privoce","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-25T18:52:55.000Z","size":719,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-23T19:04:21.817Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Privoce.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,"zenodo":null}},"created_at":"2023-07-16T15:36:12.000Z","updated_at":"2024-04-09T02:06:35.000Z","dependencies_parsed_at":"2025-04-17T14:58:20.892Z","dependency_job_id":"157fef5d-1cbf-4c32-8ab3-86742a21e530","html_url":"https://github.com/Privoce/vocechat-demo-bot-all","commit_stats":null,"previous_names":["privoce/vocechat-demo-bot-all"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Privoce%2Fvocechat-demo-bot-all","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Privoce%2Fvocechat-demo-bot-all/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Privoce%2Fvocechat-demo-bot-all/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Privoce%2Fvocechat-demo-bot-all/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Privoce","download_url":"https://codeload.github.com/Privoce/vocechat-demo-bot-all/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250496988,"owners_count":21440231,"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-11-08T21:53:09.023Z","updated_at":"2025-04-23T19:04:32.420Z","avatar_url":"https://github.com/Privoce.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VOCECHAT BOT DEMO\n\n\u003e Please choose according to your own language\n\n## Run under Node\n- Install the node environment\n- Download or git clone, node folder, enter the folder\n- Copy `.env.example` to `.env`, fill in the corresponding data\n- Execute `npm i` to install dependent packages\n- Execute `npm start` to run the project\n\n## Python\n- install py\n- Download the python folder\n- Install the dependency package `pip install flask requests`\n- Corresponding place - line 28-29, fill in the corresponding data\n- run `main.py`\n\n## Fastapi\n- git clone\n- cd vocechat-fastapi-simplify\n- cp app/core/config.py.simple app/core/config.py\n- nano app/core/config.py\n- pip install -r requirements.txt\n- python main.py\n\nThe above address is the address of local operation, fill in the corresponding address on the BOT setting page of voce, `http://127.0.0.1:4080/demo` should be able to communicate\nIf the server of the website and the webhook are not the same, you can reverse proxy it by yourself\n\n\n\n\u003e 请根据自己的语言选择\n\n## Node下运行\n- 安装node环境\n- 下载或git clone，node文件夹，进入文件夹\n- 复制`.env.example`为`.env`，填入对应数据\n- 执行`npm i`,安装依赖包\n- 执行`npm start`，运行项目\n\n## Python\n- 安装好py\n- 下载python文件夹\n- 安装依赖包`pip install flask requests`\n- 相应地方-line 28-29处，填入对应的数据\n- 运行`main.py`\n\n## Fastapi\n- git clone\n- cd vocechat-fastapi-simplify\n- cp app/core/config.py.simple app/core/config.py\n- nano app/core/config.py\n- pip install -r requirements.txt\n- python main.py\n\n以上地址都是本地运行的地址，在voce的BOT设置页面填入对应的地址，`http://127.0.0.1:4080/demo`应该能够进行通信了\n如果网站和webhook的服务器不是同一台，自行反代即可\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprivoce%2Fvocechat-demo-bot-all","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprivoce%2Fvocechat-demo-bot-all","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprivoce%2Fvocechat-demo-bot-all/lists"}