All Projects → isovector → Suavemente

isovector / Suavemente

Licence: other
💃 an applicative functor that seamlessly talks to HTML inputs

Programming Languages

haskell
3896 projects

Projects that are alternatives of or similar to Suavemente

Inlets
Cloud Native Tunnel, now inlets PRO
Stars: ✭ 8,420 (+11928.57%)
Mutual labels:  websockets
Squid
Declarative and Reactive Networking for Swift.
Stars: ✭ 61 (-12.86%)
Mutual labels:  websockets
Raztot
A simple DIY, browser controlled, RPi + WebRTC video streaming rover
Stars: ✭ 67 (-4.29%)
Mutual labels:  websockets
Postgresql2websocket
Send PostgreSQL notifications over websockets
Stars: ✭ 58 (-17.14%)
Mutual labels:  websockets
Red5 Websocket
Websocket plug-in for Red5
Stars: ✭ 60 (-14.29%)
Mutual labels:  websockets
Webconsole
Spigot plugin to manage your server remotely using a web interface
Stars: ✭ 62 (-11.43%)
Mutual labels:  websockets
Steamwebpipes
🚀 Pushes Steam changelists to WebSocket clients
Stars: ✭ 56 (-20%)
Mutual labels:  websockets
Spring React Boilerplate
Boilerplate application to demonstrate how to wire up Spring, JWT Authentication, React, Redux and Websockets
Stars: ✭ 70 (+0%)
Mutual labels:  websockets
Karamel
Kafka Browser that supports standalone Kafka and Strimzi operator
Stars: ✭ 61 (-12.86%)
Mutual labels:  websockets
Thingsboard
Open-source IoT Platform - Device management, data collection, processing and visualization.
Stars: ✭ 10,526 (+14937.14%)
Mutual labels:  websockets
Muster
A universal data layer for components and services
Stars: ✭ 59 (-15.71%)
Mutual labels:  websockets
Lws Esp32 Factory
Libwebsockets ESP32 Factory Application
Stars: ✭ 60 (-14.29%)
Mutual labels:  websockets
Wikimon
A WebSocket-oriented monitor for Wikipedia (also, wikimon, wikital monsters)
Stars: ✭ 63 (-10%)
Mutual labels:  websockets
Wsdirector
All the world's a server, and all the men and women merely clients
Stars: ✭ 58 (-17.14%)
Mutual labels:  websockets
Blinker Library
An IoT Solution,Blinker library for embedded hardware. Works with Arduino, ESP8266, ESP32.
Stars: ✭ 1,095 (+1464.29%)
Mutual labels:  websockets
Shinobi
☮️ 🇵🇸 Shinobi CE - The Free Open Source CCTV platform written in Node.JS (Camera Recorder - Security Surveillance Software - Restreamer
Stars: ✭ 1,099 (+1470%)
Mutual labels:  websockets
Php Forex Quotes
PHP Library for fetching realtime forex quotes.
Stars: ✭ 61 (-12.86%)
Mutual labels:  websockets
Lance
Multiplayer game server based on Node.JS
Stars: ✭ 1,161 (+1558.57%)
Mutual labels:  websockets
Anycable rails demo
AnyCable Rails demo application and its different variations
Stars: ✭ 68 (-2.86%)
Mutual labels:  websockets
Laravel Schematics
A Laravel package making a diagram of your models, relations and the ability to build them with it
Stars: ✭ 1,137 (+1524.29%)
Mutual labels:  diagrams

suavemente

Build Status Hackage Stackage LTS Stackage Nightly

Dedication

Today's kitchen is all about a well-planned space that makes cooking a completely interactive experience among family and friends.

Candice Olson

Overview

Suavemente is an applicative functor capable of seamlessly talking to HTML elements. Running a suavemente program automatically spins up a webserver and hooks up its pages with websockets. The use case is to quickly deploy simple, interactive Haskell programs without needing to figure out how the fuck GHCJS works.

Example

{-# LANGUAGE ApplicativeDo #-}

module Main where

import Diagrams.Backend.SVG
import Diagrams.Prelude hiding (rad)
import Web.Suavemente
import Web.Suavemente.Diagrams


main :: IO ()
main = suavemente sendDiagram $ do
  rad <- slider "Radius" 1 10 5
  r   <- realSlider "Red" 0 1 0.05 1
  g   <- realSlider "Green" 0 1 0.05 1
  b   <- realSlider "Blue" 0 1 0.05 1
  x   <- slider "X" 0 20 10
  y   <- slider "Y" 0 20 10

  pure (
    circle rad
            # fc (sRGB r g b)
            # translate (r2 (x, y))
            # rectEnvelope (p2 (0, 0)) (r2 (20, 20))
    :: Diagram B)

Hit localhost:8080 to see it in action!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].