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空間上工作非常好。
單擊圖像以使視頻受到影響:
