mesopelagique

A twilight zone of 4D components — and a blog to announce the new ones.

View on GitHub

You unlock this door with the key of imagination. Beyond it is another dimension: a dimension of sound, a dimension of sight, a dimension of mind. You’re moving into a land of both shadow and substance, of things and ideas; you’ve just crossed over into the Twilight Zone.

The mesopelagic zone extends from 200 to 1,000 meters (660-3,300 feet) below the surface of the ocean. This area is known as the twilight zone.

The light that reaches the mesopelagic zone is dim and does not allow for photosynthesis but there are a number of marine animals that live in. These animals include fish, shrimp, squid, snipe eels, jellyfish, and zooplankton.

Some could have 4 git branches and D shaped head.


📦 Components


📖 Blog — announcements of new components · ✍️ AI / Swift / 4D notes

🧩 next to a Release means that release ships a packaged .zip asset, so the component is installable with the 4D dependency manager. A version without 🧩 has a release but no installable archive yet; no releases means source-only / work in progress.

Language

Name Description Language Release License
Null Coalescing Null coalescing operator for 4D · 💤 archived language release license
Formula Compose Compose / chain formula executions language release license
Iterable Iterate over objects, collections and custom types language release license
Collection Utils Extra methods for collections language release license
Classy Use a Class instead of a 4D method language release license
SemVer Semantic Versioning for 4D language release 🧩 license
State Finite state machines for 4D language release 🧩 license
Expression Language An expression language for 4D language release 🧩 license
Maybe Monad Maybe monad instead of nil-checks language release license
Argument Parser Parse command-line style arguments language release license
Get/Set Wrappers Getters and setters helpers language release license

AI / LLM

Name Description Language Release License
AIKit Agent Tools Ready-to-use AI tools for 4D AIKit (tool / function calling) language release 🧩 license
MCP Model Context Protocol client for 4D language release 🧩 license
PromptKit Run reusable prompts and chain AI workflows language release 🧩 license
CopilotSDK 4D port of the GitHub Copilot SDK language release 🧩 license
CopilotSDK → OpenAI OpenAI-compatible web server for CopilotSDK language release 🧩 license
TextChunker4D Split text into stable chunks for embeddings / RAG language release 🧩 license
Beyond Pelagic Encoding Token estimation & tokenization before embedding / chat APIs language release 🧩 license
AI Provider Info Info about AI providers and models language release license
Codex Wraps codex app-server in 4D language release license

Data

Name Description Language Release License
Shoal Group data by field to analyse or render graphics language release license
Object Class Mapper Map JSON / Object to a class structure language release license
BSON Binary JSON (BSON) for 4D language release 🧩 license
PeD4ntic JSON Schema utilities language release 🧩 license
JSON Rules Engine A JSON rules engine language release 🧩 license
Mystax Mustache templating in 4D language release 🧩 license
Lottie Parse and serialize Lottie animation files language release 🧩 license

IDE

Name Description Language Release License
ClassStoreDiagram Generate a diagram from your cs class store language release 🧩 license
Blame4D Graphical git blame for your code language release license
OpenIn macOS macro to open current project / method in other apps language release 🧩 license
VS Theme Converter Convert a VS Code theme to a 4D theme language release 🧩 license
Deploy Component Macro to deploy a 4D component to an app or folder language release license
Indexator Move .4dm files according to folders.json language release license
Macross Utilities to edit or create macros language release license
Emoji Macro Emoji macro file language release license

API

Name Description Language Release License
Discord.4d Send messages to Discord language release license
Twilio Send SMS using Twilio language release license
JSON-RPC JSON-RPC 2.0 implementation language release 🧩 license
Github.4d Connect to the GitHub API language release license
OVH OVH API client (WIP) language release 🧩 license
PIM vCard / vCalendar builder classes language release license
HTTP Request Builder Build HTTP requests with a builder pattern language release license

Security

Name Description Language Release License
OTP One-time password: OTP, HOTP, TOTP language release license

Test / QA

Name Description Language Release License
expect Matchers for BDD-style tests language release license

Web

Name Description Language Release License
Tricho Web router and utility methods language release license

Web component

Name Description Language Release License
Mark4Down Realtime markdown editor on your 4D database language release 🧩 license
JSONToCode Turn JSON into 4D code language release license
Mesopotamia Convert JavaScript to 4D code language release license
Xterm4D Terminal output in a Web Area via xterm.js language release 🧩 license
Ansi ANSI / terminal toolkit: colored output, parsing, dashboards language release 🧩 license

Form macros

Name Description Language Release License
Select Picture Select a picture from the form, /RESOURCES or disk language release license
Extract To Subform Create a subform from selected objects / copy from subform language release license
Select Object Menu to select form objects by name language release license
Form Object Parse .4DForm, generate classes, CSS and code language release license
Transmute Transmute a form object to another type language release license
StackView Stack layout inspired by iOS UIStackView language release license
Copy/Paste Style Copy & paste style between form objects language release license

Utils

Name Description Language Release License
File And Folder Adapter / decorator classes around 4D File and Folder language release license
Alias Utils Utilities for aliases language release license
XPath Builder Build XPath expressions language release license

To help the dimension growth

If you like my content, please consider buying me a coffee.

Buy me a coffee

or if you run a business and you’re using one of my other projects in a revenue-generating product, it makes business sense to sponsor this development

Sponsor Become a Patron!

Thank you for your support!