An open API service indexing awesome lists of open source software.

https://github.com/phlex-ruby/flecks


https://github.com/phlex-ruby/flecks

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

# Flecks

Render IO-bound content asynchronously and stream it into a wrap-around shell in a single HTTP response with Phlex.

See [video demo](https://cloud.drapper.me/DYH7WFL8).

## Recommendations

We recommend using the [Falcon](https://github.com/socketry/falcon) web server which uses multiple fibers to handle requests concurrently, since this will play best with our fiber-based approach to background tasks.

## Acknowledgements

The declarative shadow DOM technique used in this project was inspired by these two articles:
- [Out of Order Streaming using Declarative Shadow DOM](https://kevinkipp.com/blog/out-of-order-streaming-using-declarative-shadow-dom/), Kevin Kipp
- [Streaming HTML out of order without JavaScript](https://lamplightdev.com/blog/2024/01/10/streaming-html-out-of-order-without-javascript/), Chris Haynes