GithubHelp home page GithubHelp logo

cringed's Introduction

Cringed

Cringed (Connectivity Relay Interfacing Numerous, Goofy ESPs - daemon) has been created for easier interfacing with embedded peripherals from the userspace layer.

Applications can easily interface with buttons, encoders, displays and such. ESPs can also be used as bluetooth bridge / ADV packet listener (things developers do to avoid bluez aimritefolks)

The project consists of 2 components:

1.Cringed-Server

Creating various interfaces for external applications:

  • socket.io (IN PROGRESS)
  • Web client (IN PROGRESS - mock app for testing)
  • MQTT (TODO)
  • REST API (TODO)
  • Some simple interface for bash scripts
  • Creating virtual HID device for volume control, custom gaming controllers, etc (TODO)
  • more?

It's written in rust because I can't get laid

2.Cringedge

The project uses blazingly-fast config files to spawn a cringedges (cringed-bridges) for any appearing and cringed-compatible ESP device.

(see utils/ directory for more)

After serial connection is estabilished, the cringedge communicates with ESP using flatbuf-packed messages. The capabilities are propagated to the server via socket.io

The device can easily send runtime logs that can be stored on the host device and viewed live by remote clients

Cringedges can also perform a firmware update on their ESP companions easily, using esptool as a backend.

Usecases

  • Cheapo 16x2 alphanumeric displays + ESP can serve as a status display for a server.
  • Attaching peripherals to SMBCs - I'd prefer destroying a random ESP from a wiring error, than a rasberry pi.
  • Attaching peripherals to PCs.
  • (tbc.)

Useful links

https://documentation.suse.com/sles/12-SP4/html/SLES-all/cha-udev.html http://blog.fraggod.net/2015/01/12/starting-systemd-service-instance-for-device-from-udev.html http://0pointer.de/blog/projects/instances.html https://askubuntu.com/questions/49910/how-to-distinguish-between-identical-usb-to-serial-adapters

cringed's People

Watchers

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