GithubHelp home page GithubHelp logo

sincof / achat-room Goto Github PK

View Code? Open in Web Editor NEW

This project forked from velor2012/anonymous-chat-room

0.0 0.0 0.0 1.08 MB

Anonymous Chat Room Power By Livekit And Next.js

Home Page: https://anonymous-chat-room-eight.vercel.app

License: MIT License

JavaScript 33.01% TypeScript 62.19% CSS 4.80%

achat-room's Introduction

What's it

An Anonymous Chat Room Power By Livekit livekit And Next.js

ENGLISH | 中文

Online demo

You can try an online demo right now at https://chat.cwy666.eu.org/, This demo uses the free service of livekit cloud as the backend and will stop automatically when the quota runs out.

Features

  • Easy to deploy, You can use the free service of livekit cloud directly, without using your own server
  • Voice chat in room
  • Text chat in room, can send text or emoji
    • More custom emoji support
    • More message types, including images, videos
  • Browser-based speaker, microphone, screen recording(Perfectly support Chrome, Edge, does not support speaker recording on safari)
  • Latency calculate--Current implementation is very simple
  • Room password setting 🚩
  • Multiple entry points on the front side (polling a set of available apikeys) to improve reliability
  • Optimized for mobile - works | good | excellent

(🚩means indicate the current ongoing)

Running locally

Clone the repo and install dependencies:

git clone [email protected]:velor2012/anonymous-chat-room.git
cd anonymous-chat-room
yarn install

Create a new LiveKit project at http://cloud.livekit.io. Then create a new key in your project settings.

Modify next.config.js and replace LIVEKIT_API_KEY, LIVEKIT_API_SECRET, LIVEKIT_WS_URL and if you need to simply test your delay, you can add a PING_URL otherwise keep it empty:

⚠️ the website for PING needs to add a header to handle HEAD cross-domain requests

Then run the development server:

npm run dev

You can test it by opening http://localhost:3000 in a browser.

Deploying for production

This is a nextjs app, which you can deploy by following these steps

  1. fork the shoe repository
  2. modify next.config.js
  3. import directly to vercel

Thanks

this repository is built on the top of

thanks for their heart of open source.

achat-room's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.