GithubHelp home page GithubHelp logo

fcgll520 / kore.io_websocket Goto Github PK

View Code? Open in Web Editor NEW

This project forked from globik/kore.io_websocket

0.0 1.0 0.0 4.99 MB

Websocket webRTC signaling protocol based on Kore.io framework written in C

HTML 6.79% C 46.32% Makefile 0.54% JavaScript 6.44% C++ 39.45% Ragel 0.22% Shell 0.11% PLpgSQL 0.12%

kore.io_websocket's Introduction

kore.io_websocket

Websocket webRTC signaling protocol based on Kore.io framework written in C

Just another little experiment with multiroom chat app. Based on kore framework for writing web APIs in C.

mediasoup - a prototype of mediasoup.js WebRTC Video Conferencing written on C++ from within kore web framework. Using uv_callback.c as a bidirectional comunication between the mediasoup stuff(version 1.2.8) and the kore .

Some basic samples in websocket_x folders.

websocket_10 - just another proof of concept.

An implemintation of janus-gateway - WebRTC gateway into the kore webframework written in C. Hardcoded to echotest plugin and WebRTC DataChannel API.

Some experiments with PostgresQL libpq

websocket_11 - asynchronous LISTEN interface of libpq in a dedicated thread. Using select for the time being.

websocket_12

websocket_13 - built-in LISTEN / NOTIFY interface.

With some modifications in source code of pgsql.c Placed PGresult in a while loop. This is useful for handling ok's command or results at once after performing multiple queries in a row.

auth -

trying to implement authentication and authorization based on cookies and postgresql storage.

list

#libre

libre - generic library for real-time communications with async IO support

libre

trying integrate libre's main loop into the kore app, into dedicated thread. Got it!

RAWRTC

RAWRTC - A WebRTC and ORTC library with a small footprint that runs everywhere

Can be runned from within kore.c framework in a dedicated thread rawrtc

template -

Simple hardcoded html template rendering based on kore_buf_appendf().

I'm lazy about real template engine. One need to study its lexic etc. No chance for native language to produce some custom microtemplate.

Have you seen ever a template engine where you can recursivly something to render? I'v not seen.

I'm prefer principe: one html page - one template. More flexibility than one head(one footer, one layout for many pages).

It's no go for example one head for many pages. This way there is no chance for custom social unique metatags and css and js files.

Also I don't like an idea to bundle many js or css files to big one. It's nonsense.

With no layout support I can for every page provide some unique css style and unique js script. So page would be downloading very quickly.

Besides in the future this practice is a right thing with http2 standard.

It's OK with layout support for a blog engine.

But not the case for an application with many dashboardes, statistics, admin panels, WebRTC possibilities etc.

Hardcoded into the memory? Does no matter. With any file watcher utility I can easily compile the kore and restart it at time of developing stage.

Other excellent applications based on kore.c webframework:

https://github.com/stan1y/servo - a session engine and storage for static websites. https://github.com/byronmejia/Pingers - a solution to the Tanda Work-Samples challenge. https://github.com/jorisvink/kore-blog - a tiny blog platform.

kore.io_websocket's People

Contributors

globik avatar

Watchers

James Cloos avatar

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.