Liking cljdoc? Tell your friends :D

Bloom Commons

Clojars Project

A collection of Clojure/(Script) namespaces and functions that the team at Bloom Ventures uses across nearly all projects.

Omni is our web framework. Commons is our kitchen-sink of half-baked libraries. Take what you want from it.

We are open-sourcing for the sake of transparency (because we have open-sourced several of our apps that use Commons).

Features

bloom.commons.*
BACKEND (.clj)
aws.core/*some fns to enable the s3 namespace
aws.s3.core/*fns to get signed-urls for, upload, and delete files on s3
env/getreading config from env or config.edn (deprecated, use config.clj)
file_db/*"db" based on edn files in folders
html/renderhiccup render w/ various reagent extensions
magic-token/*fns for creating and validating magic tokens (2fa)
muuntaja/optionsmuuntaja options adding support for date-time
textify/textifyhiccup to plain text
thread-safe-io/*thread-safe spit slurp and transact
cache/make-cache-middlewarering middleware that caches endpoints to disk
config/readread a config.edn with malli schemas (and reader macro for env)
crypto/slow=constant-time comparison check
FRONT AND BACK END (.cljc)
geo/*distance and to-radians
debounce/*cljc debounce and debounce-by
fontawesome/*all free icons from 5.15.4 as hiccup/reagent components (relying on tree-shaking to make this reasonable), ex. fa-cart-plus-solid
pages/*page lib, based on reitit
query_params/*util fns for creating and parsing query-params
slugify/slugifyturn a UTF-8 string to [a-z0-9-]
specter/key=specter navigator
transit_datetime/*transit handlers for java.time objects
uuid/*cljc uuid-v4 and uuid-v7 (as random)
FRONT-END (.cljs)
aws.s3.media_element/*reagent components that display an s3 file (w/ support for requesting a signed URL from the backend)
datetime/formatdatetime formatting with cljs-time
ajax/requestajax wired up with transit-json
ui.google_map/google-map-viewreagent google map component
ui.textarea/textareareagent auto-resizing textarea
ui.emoji_favicon/emoji-faviconreagent component that sets an emoji as the favicon at run time
TADA INCUBATOR
tada.rpc.client/make-dispatchsend tada events using transit to a single endpoint
tada.rpc.server/make-handlerhandle tada events using transit in a single endpoint

Can you improve this documentation?Edit on GitHub

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close