The Streamlined CMS client SDK is a lightweight JavaScript library that enables inline content editing for websites. Add a single script tag to your HTML and mark elements as editable—no admin interface required.
Add this script tag to your HTML <head>:
<script
src="https://cdn.streamlinedcms.com/client-sdk/v0.1/streamlined-cms.min.js"
data-app-id="YOUR_APP_ID"
></script>
Get your App ID from app.streamlinedcms.com.
<!DOCTYPE html>
<html>
<head>
<script
src="https://cdn.streamlinedcms.com/client-sdk/v0.1/streamlined-cms.min.js"
data-app-id="YOUR_APP_ID"
></script>
</head>
<body>
<header data-scms-group="header">
<h1 data-scms-text="site-title">My Website</h1>
</header>
<main data-scms-group="page-home">
<h2 data-scms-text="hero-title">Welcome</h2>
<div data-scms-html="intro">
<p>Edit this <strong>rich text</strong> content.</p>
</div>
<img data-scms-image="hero-image" src="hero.jpg" alt="Hero" />
<a data-scms-link="cta" href="/start">Get Started</a>
</main>
<footer>
<a href="#" data-scms-signin>Sign In</a>
</footer>
</body>
</html>
See INTEGRATION.md for the complete integration guide, including:
# Install dependencies
npm install
# Build the SDK
npm run build
# Build and watch for changes
npm run dev
# Run the demo server
npm run demo
# Run tests
npm test
See CONTRIBUTING.md for development guidelines, testing, and code style.
Report bugs and request features on GitHub Issues.