Examples

The example apps show CalmLens in complete, small applications: what to submit for moderation, when content may be published and how later decisions take it down. Most server examples also offer a demo mode without API keys.

Calmgram: photo sharing live demo (JavaScript)

Calmgram is a photo sharing app that moderates photos, captions, comments and bios with the JavaScript SDK. Try it at example.calmlens.com .

  • Photos stay private to their author while they are checked, then appear in the feed, resized and served by the CalmLens CDN.
  • Captions, comments and bios are checked before they are saved. Blocked text is never shown, and the author sees why.
  • Your own posts stay in your feed while they are checked, with the reason if they aren't published and a way to try again if processing failed.
  • The moderation queue beside the feed groups content into what is being checked, what your policy flagged and what was allowed, with the category scores for each item.
Calmgram's feed showing a photo being checked, a photo that wasn't published because it may contain violence and an allowed lake photo, beside the moderation queue with category scores for each item.

View the source code

A community link board built with the Python SDK. Members share a link with a short note. The note is moderated straight away, and the link is submitted as a remote URL: CalmLens fetches the page and moderates it, including the text and images it finds there. The link becomes clickable only once the page is allowed. The board shows the page's title and description once it is allowed. For a page CalmLens acted on, it explains the decision from the classification results and the page's child assets, naming the part of the page (its text or an image) that was flagged and for what. Later reviewer decisions are picked up, pages that couldn't be checked can be tried again, and members can delete a link's CalmLens records.

Calmboard showing a link whose page is still being checked, a live link with the page's title and description, a page blocked because its text was flagged for harassment while its image was clear, and a note that didn't pass moderation, beside the Share a link form.

View the source code

Calmclips: voice notes and video clips (Go)

CalmclipsPreview

A voice note and video clip app built with the Go SDK. Clips are uploaded privately, larger ones in sequential parts, and moderated in the background with audio and video moderation. The app shows the report's timeline of clip segments and what was found in each, plays allowed clips through short-lived signed URLs, and reads decisions by polling and from verified webhooks. Each clip shows its upload progress and decision, and an activity panel shows whether each decision came from polling or a webhook. Failed clips can be retried, and owners can delete their clips.

Calmclips listing voice notes and video clips: a video uploading in parts, a voice note being checked, a voice memo blocked for violence with its speech timeline, and allowed clips with their players.

View the source code

Calmthread: replies held for review (Ruby)

A pre-moderated discussion thread built with the Ruby SDK. Each reply is submitted with its content kept for review, so clean replies publish at once and anything your policy doesn't allow is held, unseen, for a reviewer in the portal. Until then, only its author can see it, marked as awaiting review with the categories that were flagged. Allowing or limiting a held reply publishes it, marked as reviewed; any other decision keeps it out, and its author sees that it was removed and why. The app follows those decisions through the events feed and verified webhooks, and removes the stored text of replies kept out while keeping their records and reports.

Calmthread discussion thread with published replies, one marked approved after review, the viewer's own reply removed after review for harassment and another awaiting review, beside a review queue and a log of reviewer decisions from the events feed.

View the source code

Calmmarket: text inside listing photos (Java)

A marketplace built with the Java SDK for listings whose important text is often inside the photos. Photos are moderated with OCR, so text written on an image is retained on the image asset and gets an additional text moderation pass. Sellers see a check for the title, description and each photo, including the text found in a photo that was rejected and the categories your policy acted on. The listing page shows the extracted text and combined report, and a listing goes live only when its title, description and every photo are allowed. Withdrawn listings have their photos' content removed while their records and reports stay.

Calmmarket showing live listings above the seller's own listings: one not published because a photo was flagged for criminal activity, with the text found in that photo, one still being checked and others live.

View the source code

Calmlibrary: private media library (Rust)

A private team media library built with the Rust SDK. Images are organised into folders with metadata and external IDs, found with natural-language search, and delivered as thumbnails and downloads through lenses and short-lived signed URLs once they are allowed. Images that are still processing, restricted or failed show their status and the reason from the moderation report. Files can be removed while their records stay, or deleted entirely.

Calmlibrary showing a team's images in folders, with allowed photos alongside processing, blocked, age-restricted, failed and file-removed items, and the details panel for an allowed photo with its credit, licence, catalogue ID and downloads.

View the source code

Calmform: browser feedback uploads (JavaScript)

A static feedback form built with the JavaScript SDK and its upload widget. Visitors pick a type, describe the problem and attach a screenshot, which uploads straight to CalmLens through an upload preset with the feedback as its description. The form shows the moderation decision inline and keeps the message if the image is refused. The browser holds the preset ID; no API key or application backend is needed.

Calmform's feedback form with a bug report filled in, showing the attached screenshot refused because it breaks the content rules.

View the source code

Calmsnap: mobile photo uploads (JavaScript)

An Expo app built with the JavaScript SDK for React Native. A small token server signs a single-use upload token, then the phone uploads each chosen photo straight to CalmLens through the SDK's React Native upload queue, which checks each one until it has a moderation decision. The app lists recent uploads with their states. Age-restricted photos stay hidden until the viewer shares an age range of 18 or older from their Apple or Google account; see Check age natively. The API key stays on the token server.

Calmsnap on an iPhone showing a shared lake photo above a list of recent uploads: three shared, one for adults only and one not allowed.

View the source code

Laravel comment board (PHP)

A Laravel example built with the PHP SDK. Comments are moderated on the server and stored in the visitor's session only once they are allowed. It includes signed webhook verification and route tests, and installs the PHP SDK from the SDK repository through a Composer path repository.

View the source code

Last updated

Signing in

Signing out

Cookies on CalmLens

We use essential cookies for sign-in and security. With your permission, functional cookies remember your preferences and Google Analytics measures website use and signups. Optional ad measurement cookies link Google ad clicks to signups. Personalised advertising stays off. Manage cookies