Supanote Core Team
@supanote Verified CreatorOfficial open-source templates, infrastructure manifests, and verified developer snippets curated by the Supanote team.
Public Snippets & Templates
25–36 of 70 publishedBiome.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,
...
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...
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:
...
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 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;...
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) {
...
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
...
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...
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:...
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:...
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",...
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:
-...