↓Skip to main content

Resources

Open Source & Developer building blocs #

Explore our collection of open-source projects, code samples, and developer tools. We believe in sharing knowledge and contributing to the developer community.

GitHub
nBCN Software on GitHub


Instead of asking users to remember passwords, you send them a single-use, expiring link that logs them straight into their form.

How it works (in plain English):

FileMaker creates the link when you hit “Send Email” — it builds a secure token (a JWT) containing the submission ID, user ID, expiry time, and a random nonce. This token is signed with a secret key so it can’t be forged or tampered with.

The link looks like:

https://yourdomain/forms_system/?token=eyJhbGciOiJIUzI1NiJ9...

User clicks it — the web app receives the token, verifies the signature with the same secret key, checks it hasn’t expired, and extracts the submission + user IDs.

Instant access — the form loads pre-filled with their data. No login screen, no password.

Why it’s secure:

  • Tamper-proof — any change to the token breaks the signature
  • Expirable — set a TTL (e.g., 24h); old links stop working automatically
  • Non-enumerable — random nonce prevents guessing other users’ links
  • Revocable — rotate the secret key to invalidate all links at once
  • Reusable (safely) — if the user clicks the same email twice within the TTL, they get the same valid token

FileMaker owns the whole flow — token generation, storage, expiry checking, and email sending all happen in your FM scripts. The web side just validates.

The code includes 5 FileMaker Custom Functions:

  • MagicToken_Generate() — creates HS256 JWT
  • MagicToken_Validate() — verifies JWT
  • MagicToken_UnixTime() — current timestamp
  • MagicToken_Base64urlEncode() — RFC4648 encoding
  • MagicToken_Base64urlDecode() — RFC4648 decoding

Plus a PHP validation function for the receiving end.

Get it all in this gist: fsans/magic-link-jwt

Gist
FileMaker
JWT
PHP


Solving the FileMaker Web Viewer CORS & SSL Puzzle #

Diagram of the same-origin architecture: the FileMaker Web Viewer calls an nginx reverse proxy over HTTPS with a valid Let's Encrypt certificate, which serves the static web app and proxies /fmi/ internally to the FileMaker Server OData listener
The same-origin option: nginx terminates TLS, serves the web app and proxies /fmi/ to FileMaker Server — CORS disappears.

Step-by-step guide and ready-to-use configuration templates for calling FileMaker Server APIs — OData and the Data API — directly via fetch() from a FileMaker Web Viewer, without the 405 preflight wall or SSL trust issues. It covers three production-proven architectures: a same-origin nginx reverse proxy that makes CORS disappear entirely, direct CORS configuration in FMS’s httpd.conf, and automated Let’s Encrypt DNS-01 certificates — with verification curl commands and troubleshooting tables.

Read the full story in our blog post: Solving the FileMaker Web Viewer CORS & SSL Puzzle — or explore the interactive maps: same-origin reverse proxy and direct CORS/Apache config.

GitHub
License
FileMaker
nginx
Apache


Free, Trusted SSL for Private FileMaker Servers #

A private FileMaker Server behind a firewall receiving a free Let's Encrypt certificate via DNS-01 validation — no ports 80/443 open
Free, trusted SSL for private FileMaker Servers — without opening ports 80 or 443

Free, publicly trusted Let’s Encrypt certificates for FileMaker Servers on private networks — no inbound ports 80 or 443 required. This repository contains a complete, battle-tested setup for macOS FileMaker Server using Let’s Encrypt’s DNS-01 challenge: an isolated Certbot environment that survives Homebrew upgrades, deploy hooks that import certificates via fmsadmin and cleanly reload both Apache and the Database Server, and launchd automation for unattended 90-day renewals with daily health reports.

Read the full story in our blog post: Free, Trusted SSL for Private FileMaker Servers — Without Opening Ports 80 or 443. Or explore the interactive certificate lifecycle map — click through it to trace the full renewal flow step by step.

GitHub
License
FileMaker
Let’s Encrypt
macOS


Completing the full FileMaker Server OData ecosystem #

Dependency diagram of the fms-odata ecosystem showing the spec repository feeding TypeScript, Python, and PHP packages
The fms-odata ecosystem: one spec, three platform packages

A canonical base reference for the Claris FileMaker Server OData API, intended as the single source of truth that downstream libraries (MCP servers, JavaScript wrappers, and any future wrappers) conform to and evolve against. The repository now ships the complete spec plus packages for the three main platforms — JavaScript/TypeScript, PHP, and Python — so every wrapper implements the same behavior instead of guessing.

Key features include: a unified, documented contract for what the FileMaker OData API does and does not support; a version-aware capability matrix mapping FileMaker Server 2023–2026 to supported features; a propagation point for API changes that flows to every derived library; three explicit coverage categories (standard OData features FileMaker covers, standard OData features it does not, and non-OData additions specific to FileMaker); and published packages on npm, PyPI, and Packagist for direct consumption.

OData Ecosystem Map #

Explore the interactive ecosystem diagram for full schema navigation across the spec and its downstream packages.

Documentation #

For complete documentation and implementation help with examples, please visit our documentation site at: https://services.ntwk.es/docs/fms-odata

GitHub
License
npm
PyPI
Packagist
TypeScript
Python
PHP
OData
FileMaker


FM-broadcaster #

Two FM-broadcaster Web Viewer windows sharing a synchronized key/value store in real time
Two FileMaker Web Viewers sharing the same FM-broadcaster state bus

FM-broadcaster is a zero-dependency micro-app for FileMaker Pro Web Viewers. A single hosted HTML file turns every Web Viewer in the same FileMaker client into a node on a live shared key/value store, allowing layouts, windows, and even different .fmp12 files to read, write, and react to the same data in real time without a server, schema, or polling.

Key features include: real-time peer-to-peer synchronization with BroadcastChannel, optional persistence through localStorage, full CRUD access from FileMaker scripts, onChange and onResult JSON callbacks, token-based async correlation, late-join synchronization, channel isolation for demos or multiple apps, and compatibility with FileMaker Pro 19+.

Announcement
GitHub
License
JavaScript
FileMaker


ODATA Client fm-odata-js #

Odata Client in a webviewer
Odata Client in a webviewer

A zero-runtime-dependency TypeScript client for the FileMaker Server OData v4 API. Ships as a single ES module (~3 KB gzipped) that drops into FileMaker Web Viewers, modern browsers, or Node 18+.

Key features include: a fluent query builder with $select, $filter, $orderby, $top, $skip and $count; collection reads and single-entity CRUD; Basic and Bearer authentication with 401 retry; AbortSignal and timeout support; a normalized FMODataError; and a fully typed TypeScript API with zero runtime dependencies. Designed for embedding in FileMaker Web Viewers as well as browser and Node.js applications.

GitHub
License
TypeScript
FileMaker
OData


Swipeable Component #

swipeable component demo
The swipeable component

A modern, touch-friendly swipeable component for web applications. This component provides smooth gesture-based navigation and interaction patterns, perfect for mobile-first interfaces and touch-enabled applications.

Key features include: responsive touch gesture detection, smooth animation transitions, customizable swipe thresholds, support for both horizontal and vertical orientations, and lightweight implementation with minimal dependencies. The component is designed to enhance user experience in mobile web applications by providing intuitive swipe interactions similar to native mobile apps.

GitHub
License
React
JavaScript
CSS


ClipBroker #

clipbroker application
Clipbroker FileMaker application

This is a FileMaker Pro module for storing and managing FileMaker clipboard objects (Snippets), with built-in conversion tools for AI-generated content. It serves as both a snippet repository for FileMaker components and a clipboard converter that enables seamless transfer between FileMaker’s clipboard format and human-readable XML.

Key features include: storing reusable FileMaker components like scripts and custom functions, converting AI-generated SaXML-formatted XML into usable FileMaker snippets, and enabling easy sharing of code libraries across teams. The tool is designed to facilitate AI-assisted development workflows where developers can ask AI assistants to generate FileMaker objects in XML format, then paste and convert them directly into usable snippets.

GitHub
License
FileMaker
XML


FileMaker Data API MCP and ODATA Servers #

Use case ok MCP FM-ODATA in Claude
The FM-ODATA MCP server teaming with Claude

Complete introspection and interaction with FileMaker solutions through AI agents. Enable AI to understand your entire FileMaker architecture and generate production-ready code.

FileMaker Data API MCP Server #

GitHub
License
npm

FileMaker ODATA MCP Server #

GitHub
License
npm


FileMaker Server Linux Docker image #

swipeable component demo
swipeable component demo
swipeable component demo
Componente Desplaçable

Docker script to build a FileMaker Server 2025 on Ubuntu 24 image. Simplifies deployment and testing of FileMaker Server in containerized environments. A bit more than a tweak to the Claris provided script.

GitHub


Code Snippets & Gists #

Useful code snippets and examples for developers working with FileMaker, integrations, and related technologies are available on our GitHub Gists.

GitHub
nBCN Software Gists

Support #

Each repository has its own support process. For questions, issues, or feature requests:

  • GitHub Issues — Report bugs and request features on individual repositories
  • Email — tecnic@ntwk.es

Stay updated — Follow our GitHub repositories to get notifications about new releases and updates.

There's no articles to list here yet.

Subscribe to get notified when we're updated

Receive updates via email about new posts, modules, and resources from nBCN Software.

Subscribe →