Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

serve images live? #2

Closed
poxrud opened this issue Jul 14, 2016 · 3 comments
Closed

serve images live? #2

poxrud opened this issue Jul 14, 2016 · 3 comments

Comments

@poxrud
Copy link

poxrud commented Jul 14, 2016

Any examples on how to serve images live? The README describes this as a possibility.

@danielrh
Copy link
Contributor

Well you can setup a TCP server by doing
./lepton -listen=2020
then it will compress data sent to lepton
cat src/lepton/images/iphone.jpg | netcat localhost 2020 > /tmp/leptonified

you could just modify the code to read the data from a file instead of from the network socket and then to present the data back to the caller

@bobobo1618
Copy link

I put together a basic HTTP -> Lepton translator here. Quick and hacky as hell but seems to work at least somewhat.

@Burnett01
Copy link

Lepton needs more documentation, really...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants