Module Catalogue

202 modules available

Backend Boilerplates

Redis Sliding-Window Rate Limiter

Per-IP rate limiter using a Redis sorted set as a sliding window. Accurate to the second.

python · Advanced · Jun 2024
Backend Boilerplates

SQLAlchemy Async Session

Async SQLAlchemy engine and session factory wired for FastAPI dependency injection.

python · Intermediate · Jun 2024
Backend Boilerplates

FastAPI JWT Auth Dependency

Drop-in FastAPI dependency that validates HS256 Bearer tokens and injects a typed user payload.

python · Intermediate · Jun 2024
DevOps / Scripts

Systemd Service Template

Drop-in systemd unit file for any long-running application with restart policy.

bash · Intermediate · Jun 2024
DevOps / Scripts

Swap Memory Checker

Alert when swap usage exceeds threshold — useful on memory-constrained servers.

bash · Intermediate · May 2024
DevOps / Scripts

Rolling Restart for Node Cluster

Restart a PM2 Node.js cluster one instance at a time to avoid downtime.

bash · Advanced · May 2024
DevOps / Scripts

Log Shipper to S3

Compress and upload application logs to S3 daily, then purge local copies.

bash · Intermediate · May 2024
DevOps / Scripts

Dependabot Auto-merge Config

GitHub Dependabot config with auto-merge for patch updates on all ecosystems.

yaml · Intermediate · May 2024
DevOps / Scripts

Process Monitor Cron

Check if a process is running and restart it if dead.

bash · Beginner · May 2024
DevOps / Scripts

Blue-Green Deploy Script

Switch traffic between two app instances with zero downtime using Nginx upstream.

bash · Advanced · May 2024
DevOps / Scripts

Multi-stage Node.js Dockerfile

Optimised multi-stage Dockerfile for Node.js: build stage + minimal production image.

dockerfile · Intermediate · Apr 2024
DevOps / Scripts

MySQL Nightly Backup

Dump all MySQL databases to timestamped files and rotate old backups.

bash · Intermediate · Apr 2024
DevOps / Scripts

SSH Key Distributor

Push your public key to multiple remote servers in one loop.

bash · Intermediate · Apr 2024
DevOps / Scripts

GitLab CI Docker Build and Push

Build and push a Docker image to a registry on every merge to main.

yaml · Advanced · Apr 2024
DevOps / Scripts

GitHub Actions Node CI Pipeline

Complete CI pipeline for Node.js apps: install, lint, test, build on every PR.

yaml · Intermediate · Apr 2024

Page 13 of 14