Fork me on GitHub

Hi everyone, I recently needed a Server Sent Events (SSE) client that could send an Authorization header to the server. Incredibly js/EventSource doesn't support this, and general consensus seems to be you can use js/fetch and the response stream. That means you still have to parse the event stream yourself, so I wrote a library to do it: It's an SSE client for Clojurescript that uses js/fetch so that the full functionality of HTTP is available to you. It also has re-frame bindings 🙂

👏 3
Chris McCormick05:10:41

Does it support the auto-reconnecting facility of EventSource?


Not at the moment, although I would like it to. It shouldn't be too hard to implement


hi @UUSQUGUF3 it now supports reconnecting as of 0.1.2, see the readme for details

👍 3

Hi, folks! I’ve implemented Python’s secrets module for Clojure. It’s dead simple but useful. The `secrets` is a library designed to generate cryptographically strong random numbers suitable for managing data such as passwords, account authentication, security tokens, and related secrets. Here is a repository:

👍 39

Going back to my journey w/ protobuf on clojure, I release It's still pretty much alpha-quality and tested on-demand by my uses, so if you're feeling adventurous, I'd be happy to take PRs and improve it 🙂

🎉 30
Alex Miller (Clojure team)23:10:40

Clojure tools is now available • Fixes to handling transitive deps when newer versions of a dep are found in the dep expansion • - Improvements to -X error message handling

👍 54
👀 3

I built Linux packages and updated them 🙂 Find them;package=clojure for various distributions.

👍 3
littleli11:10:25 -> scoop ✔️


I just got assigned maintainer role for the Chocolatey package, so that one will follow shortly (this weekend)

👏 3