Git Product home page Git Product logo

advanced_chat_app_django_webrtc's Introduction

[Turkish]

Django'nun Channels Kütüphanesi ve JavaScript'in PeerJS kütüphanesiyle yazmış olduğum chat uygulaması. Yazılı iletişim kısmında Django Channels ve WebSocketler kullanılıyor. Görüntülü ve sesli iletişim kısmında ise PeerJS ve WebRTC kullanılıyor. Uygulama ile görsel ve ses dosyası da paylaşabilirken ses kaydedip karşı tarafa yollamak da mümkün.

Gerekenler:

  • pip install -r requirements.txt

  • python manage.py makemigrations

  • python manage.py migrate

  • python manage.py runserver

(Arka tarafta PeerServer'ın çalışabilmesi için NodeJS ve NPM'de gerekli)

  • npm install
  • npx peerjs --port 9000 (peer server'ı ayağa kaldırma)

Linux Kullanıcıları İçin:

  • sudo apt install redis-server

[English]

The chat application I wrote with Django's Channels Library and JavaScript's PeerJS library. Django Channels and WebSockets are used for written communication. PeerJS and WebRTC are used in video and audio communication. While you can share image and audio files with the application, it is also possible to record audio and send it to the other party.

Requirements:

  • pip install -r requirements.txt

  • python manage.py makemigrations

  • python manage.py migrate

  • python manage.py runserver

(Required for NodeJS and NPM for PeerServer to work at the back)

  • npm install
  • npx peerjs --port 9000 (launch peer server)

For Linux Users:

  • sudo apt install redis-server

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.