Temui Tidi, komponen obrolan gelembung 2kb untuk situs web apa pun ... dibuat menggunakan preact, berjalan dengan layanan backend 4MB yang dikompilasi.
Frontend

Backend

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....

Backend harus berjalan terlebih dahulu sebelum frontend ...
# 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 Layanan harus berjalan di port :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 Aplikasi harus dapat diakses di port :8080
Katakanlah Anda ingin mengintegrasikannya di dalam aplikasi Anda, Anda hanya perlu meneruskan ke komponen, dua parameter:

Saya berhasil membuat ekstensi web chrome tes kecil untuk Tidi dan berfungsi dengan sangat baik di ruang twitter nft ...
Klik pada gambar ke Whatch video:
