S
Supanote
Sign in Sign up
S

Supanote Core Team

@supanote Verified Creator

Official open-source templates, infrastructure manifests, and verified developer snippets curated by the Supanote team.

Public Snippets
70
Total Views
22172
Languages Used
YAML (12) SQL (12) MARKDOWN (10) INI (7) JAVASCRIPT (6) NGINX (3) JSON (3) BASH (3) HTML (2) CONF (2) CSV (2) CADDYFILE (2) DOCKERFILE (1) LOG (1) SVG (1) PLAIN (1) TOML (1) CSS (1)

Public Snippets & Templates

25–36 of 70 published
json 1 min read
Oct 9, 2026 · 351 views

Biome.json Modern Linter & Formatter Configuration

{ "$schema": "https://biomejs.dev/schemas/1.8.3/schema.json", "organizeImports": { "enabled": true }, "linter": { "enabled": true, "rules": { "recommended": true, "correctness": { "noUnusedVariables": "error", "noUnusedI...

{
  "$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
  "organizeImports": {
    "enabled": true
  },
  "linter": {
    "enabled": true,
    "rules": {
      "recommended": true,
     ...
css 1 min read
Oct 9, 2026 · 389 views

Shadcn UI HSL Color Tokens & Modern CSS Variables

@layer base { :root { --background: 0 0% 100%; --foreground: 240 10% 3.9%; --card: 0 0% 100%; --card-foreground: 240 10% 3.9%; --popover: 0 0% 100%; --popover-foreground: 240 10% 3.9%; --primary: 240 5.9% 10%; --primary-...

@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 240 10% 3.9%;
    --card: 0 0% 100%;
    --card-foreground: 240 10% 3.9%;
    --popover: 0 0% 100%;
    --popover-foreground: 240...
yaml 1 min read
Oct 9, 2026 · 337 views

Tailscale Subnet Router & Exit Node Docker Compose

version: '3.8' services: tailscale: image: tailscale/tailscale:latest container_name: tailscale-subnet-router hostname: vpc-subnet-router restart: unless-stopped cap_add: - NET_ADMIN - NET_RAW network_mode: host environm...

version: '3.8'

services:
  tailscale:
    image: tailscale/tailscale:latest
    container_name: tailscale-subnet-router
    hostname: vpc-subnet-router
    restart: unless-stopped
    cap_add:
     ...
toml 1 min read
Oct 9, 2026 · 323 views

Vector.dev Log Shipping Pipeline Configuration (vector.toml)

vector.toml - High-Performance Log Shipping Pipeline [sources.docker_logs] type = "docker_logs" include_units = ["app-", "nginx-"] [transforms.parse_json] type = "remap" inputs = ["docker_logs"] source = ''' . = parse_js...

# vector.toml - High-Performance Log Shipping Pipeline

[sources.docker_logs]
type = "docker_logs"
include_units = ["app-*", "nginx-*"]

[transforms.parse_json]
type = "remap"
inputs =...
caddyfile 1 min read
Oct 9, 2026 · 338 views

Caddyfile Multi-Domain Production TLS Reverse Proxy

Production Caddy Multi-Domain Proxy { email admin@example.com admin off } app.example.com { encode zstd gzip header { Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" X-Content-Type-Options "nosni...

# Production Caddy Multi-Domain Proxy
{
    email admin@example.com
    admin off
}

app.example.com {
    encode zstd gzip

    header {
        Strict-Transport-Security "max-age=31536000;...
javascript 1 min read
Oct 9, 2026 · 320 views

Polar.sh Webhook Signature Verification & License Handler

'use strict'; const crypto = require('crypto'); / * Verify Polar.sh webhook signature using Standard Webhooks HMAC-SHA256 */ function verifyPolarWebhook(rawBody, headers, webhookSecret) { const webhookId = headers['webho...

'use strict';

const crypto = require('crypto');

/**
 * Verify Polar.sh webhook signature using Standard Webhooks HMAC-SHA256
 */
function verifyPolarWebhook(rawBody, headers, webhookSecret) {
 ...
javascript 1 min read
Oct 9, 2026 · 299 views

Stripe Webhook Signature Verification & Event Dispatcher

'use strict'; const crypto = require('crypto'); / * Securely verify Stripe webhook signature without external heavy dependencies * @param {string|Buffer} payload - Raw HTTP request body buffer * @param {string} sigHeader...

'use strict';

const crypto = require('crypto');

/**
 * Securely verify Stripe webhook signature without external heavy dependencies
 * @param {string|Buffer} payload - Raw HTTP request body buffer
...
javascript 1 min read
Oct 9, 2026 · 309 views

Cloudflare Turnstile Server-Side Verification (Node.js)

'use strict'; / * Validates Cloudflare Turnstile CAPTCHA response token * @param {string} token - The cf-turnstile-response string from form body * @param {string} remoteIp - Optional remote client IP address * @returns...

'use strict';

/**
 * Validates Cloudflare Turnstile CAPTCHA response token
 * @param {string} token - The cf-turnstile-response string from form body
 * @param {string} remoteIp - Optional remote...
plain 1 min read
Oct 9, 2026 · 452 views

Security.txt Standard Policy (RFC 9116)

/.well-known/security.txt Conforms to RFC 9116: https://www.rfc-editor.org/rfc/rfc9116 Contact: mailto:security@example.com Expires: 2027-12-31T23:59:59.000Z Encryption: https://example.com/pgp-key.txt Preferred-Language...

# /.well-known/security.txt
# Conforms to RFC 9116: https://www.rfc-editor.org/rfc/rfc9116

Contact: mailto:security@example.com
Expires: 2027-12-31T23:59:59.000Z
Encryption:...
yaml 1 min read
Oct 9, 2026 · 332 views

PostgreSQL with pgvector & Redis RAG Embedding Stack

version: '3.8' services: pgvector-db: image: pgvector/pgvector:pg16 container_name: postgres-pgvector restart: unless-stopped environment: POSTGRESUSER: ${DBUSER:-vector_user} POSTGRESPASSWORD: ${DBPASSWORD:-change-me} P...

version: '3.8'

services:
  pgvector-db:
    image: pgvector/pgvector:pg16
    container_name: postgres-pgvector
    restart: unless-stopped
    environment:
      POSTGRES_USER:...
json 1 min read
Oct 9, 2026 · 333 views

OpenAI & Anthropic Strict Structured Outputs JSON Schema

{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "ExtractedTechnicalSnippet", "type": "object", "additionalProperties": false, "required": ["title", "language", "code", "explanation", "tags", "confidence_...

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "ExtractedTechnicalSnippet",
  "type": "object",
  "additionalProperties": false,
  "required": ["title", "language", "code",...
yaml 1 min read
Oct 9, 2026 · 320 views

Model Context Protocol (MCP) Server Docker & SSE Setup

version: '3.8' services: mcp-server: image: node:20-alpine container_name: mcp-knowledge-server restart: unless-stopped working_dir: /app environment: - NODE_ENV=production - PORT=8080 - MCP_TRANSPORT=sse - APIAUTHTOKEN=...

version: '3.8'

services:
  mcp-server:
    image: node:20-alpine
    container_name: mcp-knowledge-server
    restart: unless-stopped
    working_dir: /app
    environment:
      -...
Notification