tidi
v0.1.2
与任何网站的2kb气泡聊天组件见面,使用preact制作,并使用4MB编译的后端服务运行。
前端

后端

I made this project for a specific need, that was a lite 'live chat' on some platform like twitter from the "twitter space" feature, the final idea was then to come up with a web extension that could allow chatting all over the internet with a single roomkey and an username, that's why the project was first called ttspch (standing for twitter space chat)... well.., i decided to change it due to the impossible pronounciation thing....

后端应在前端之前先运行...
# start the docker container
cd backend && make docker-run
# or using pm2 :
# cd backend
# pm2 start --name tidi-backend make -- docker-run # Start the backend app
cd backend && make run该服务应在端口上运行:1324
# This step is optional, because you can use the provided dist resource,
# ths command will install dependencies, build bundles to be consumed
# copy the appropriate html file in dist
make build-dist
# then serve the dist folder with an http server
cd dist && http-server # install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev该应用程序应在端口上可访问:8080
假设您想将其集成在您的应用程序中,您只需要传递到组件,两个参数:

我设法为TIDI制作了一个小的测试Chrome Web扩展名,它在NFT Twitter空间上工作非常好。
单击图像以使视频受到影响:
