Getting Started with Skrip
Skrip turns plain markdown files into structured APIs. No databases, no dashboards — just files.
Installation
Add Skrip to your project and point it at a content directory. Your files become the schema.
npm install skripletCreating Your First Collection
Create a directory under content/ and drop in some markdown files with frontmatter:
content/
blog/
my-first-post.md
another-post.md
Frontmatter is Your Schema
Whatever keys you put in the frontmatter block become queryable fields:
---
title: My First Post
date: 2026-01-10
tags: [intro, welcome]
published: true
---
Skrip reads these automatically and exposes them via the API.
Fetching Content
Once your files are in place, hit the API:
curl /api/collections/blog
curl /api/collections/blog/my-first-post
That's it. Your content is live.
Frontmatter
{
"title": "Getting Started with Skrip",
"date": "2026-01-10",
"author": "Taylor Reed",
"tags": [
"tutorial",
"beginner",
"setup"
],
"published": true,
"description": "Learn how to set up Skrip and create your first content collection in minutes."
}API endpoint
GET /api/collections/blog/getting-started-with-skrip