StreamWall - WIP demo application which streams music in exchange for streaming sats

Stream Wall

Music examples borrowed from https://ableandthewolf.com/ check them out and send sats.

Help

Turn on the server locally.

-> % go run main.go
Starting server on 8080
2022/01/26 23:04:46 Serving songs on HTTP port: 8080

Create a session

curl http://localhost:8080/sessions -X POST
{"id":"64926bb7-9546-4ed0-a496-02407ff8e3cc","credits":0}

Open the stream corresponding to your session

Open http://localhost:8080/sessions/64926bb7-9546-4ed0-a496-02407ff8e3cc/streams/MakinBeans/outputlist.m3u8 in VLC which will play the song.

Dev Session

The Nil UUID 00000000-0000-0000-0000-000000000000 is pre created with credits.

http://localhost:8080/sessions/00000000-0000-0000-0000-000000000000/streams/MakinBeans/outputlist.m3u8

Installing Dependencies

go get -u github.com/go-chi/chi/v5

Create files for HLS

Install ffmpeg sudo apt install ffmpeg

ffmpeg -i MakinBeans.mp3 -c:a libmp3lame -b:a 128k -map 0:0 -f segment -segment_time 10 -segment_list outputlist.m3u8 -segment_format mpegts output%03d.ts

Generating Lightning GRPC fileso

curl -o src/lightning.proto -s https://raw.githubusercontent.com/lightningnetwork/lnd/master/lnrpc/lightning.proto
Similar Resources

Using Golang to complete ChatGPT streaming, making it easier to join your own project

Using Golang to complete ChatGPT streaming, making it easier to join your own project

chatGPT_streaming go语言使用openai的ChatGPT接口实践,使用流式传输,类似ChatGPT网页效果,并且可以让ChatGPT的服务单独部署(单独部署到非大中华区的服务器),并用grpc streaming 做中间层,保证不受墙的影响。使用websocket最终通信,后端考

May 11, 2023

Is a microservice which provides payment token service for application users.

Tulip Is a microservice which provides payment token service for application users. Description A transactional-based token usually used for transacti

Feb 17, 2022

GitHub Actions demo for a monorepo Go project

GitHub Actions demo for a monorepo Go project The purpose of this repository is to demonstrate using a GitHub action as a pull request status check in

Oct 31, 2021

A demo repo to show KICS Github Action in Action

🤖 KICS GitHub Actions Demo This repository shows how KICS GitHub Action can be set and was fully inspired by the documentation on KICS GitHub Actions

Nov 23, 2021

A decentralized vinyl marketplace demo built with Go, Cosmos SDK and Starport

emusicchain emusicchain is a blockchain built using Cosmos SDK and Tendermint and created with Starport. Get started starport chain serve serve comma

Dec 5, 2021

Testing ground for build-your-own golang/grpc demo app.

Getting started Prereqs You will need to install both Go and the protoc compiler (version 3): Go installation protoc installation Install the protobuf

Dec 15, 2021

Aws-cognito-demo-go - Source code for AWS Cognito in Go

AWS Cognito Demo in Go Source code for YouTube series, AWS Cognito in Go - https

Dec 10, 2022

Api-waf-example-cdk - Demo using sam to drive a CDK serverless api

CDK SAM Demo Demo using sam to drive a CDK serverless api Stack Setup go build -

Feb 5, 2022

go-whatsapp-rest-API is a Go library for the WhatsApp web which use Swagger as api interface

go-whatsapp-rest-API go-whatsapp-rest-API is a Go library for the WhatsApp web which use Swagger as api interface Multi-devices (MD) Support. This ver

Dec 15, 2022
A WIP ad hoc file transfer tool

Telepathy Telepathy is a work in progress file sharing server and client for ad hoc file sharing between computers on a local network. This lets you q

Feb 1, 2022
Prometheus exporter for Indian National Stock Exchange (NSE).

Open Stocks Exporter Prometheus exporter for stocks. Open-Stocks-Exporter uses Yahoo finance API under the hood, to fetch stock entities in real-time

Oct 9, 2021
Portico Exchange LND

Portico Exchange LND This repository contains a (https://github.com/PorticoExchange) client for LND. It supports Normal Submarine Swaps (from onchain

Jan 31, 2022
Unofficial SDK to access for Open Threat Exchange (OTX) in Go

gotx Unofficial SDK to access for Open Threat Exchange (OTX) API in Go. Usage package main import ( "context" "fmt" "os" "github.com/m-mizutani/

Feb 12, 2022
Prueba de concepto: Boletia, una aplicación para venta de boletos, basada en microservicios event-driven. Desarrollada sobre AWS Serverless: Api Gateway, Lambda, DynamoDB, DynamoDB Streams
Prueba de concepto: Boletia, una aplicación para venta de boletos, basada en microservicios event-driven. Desarrollada sobre AWS Serverless: Api Gateway, Lambda, DynamoDB, DynamoDB Streams

Prueba de concepto: Boletia, una aplicación para venta de boletos, basada en microservicios event-driven. Desarrollada sobre AWS Serverless: Api Gatew

May 7, 2022
A demonstration of the transactional outbox messaging pattern (+ Log Trailing) with Amazon DynamoDB (+ Streams) written in Go.
A demonstration of the transactional outbox messaging pattern (+ Log Trailing) with Amazon DynamoDB (+ Streams) written in Go.

Transactional Outbox Pattern in Amazon DynamoDB A demonstration of the transactional outbox messaging pattern (+ Log Trailing) with Amazon DynamoDB (+

Apr 12, 2022
This package attempts to use an elegant (although potentially inefficient) approach to streams in go.

This package attempts to use an elegant (although potentially inefficient) approach to streams in goThis package attempts to use an elegant (although potentially inefficient) approach to streams in go

Mar 24, 2022
Go Twitter REST and Streaming API v1.1

go-twitter go-twitter is a Go client library for the Twitter API. Check the usage section or try the examples to see how to access the Twitter API. Fe

Dec 28, 2022
This is a single-instance streaming server with chat.

Table of Contents AlbertoBroadcast stream server Build requirements Older Go Versions Compile and install Docker build Building the Container Running

Dec 24, 2021
Service that wrap up different movies-related APIs like IMDB and match it to streaming services
Service that wrap up different movies-related APIs like IMDB and match it to streaming services

Service that wrap up different movies-related APIs like IMDB and match it to streaming services. That way you can check in which platforms you can find your favorite movies.

Feb 10, 2022