Scriptorium is a collaborative coding and blogging platform where users can write, execute, save, and share code templates, as well as publish technical blog posts linked to live code. Built to serve developers, students, and content creators, Scriptorium blends real-time code execution with community engagement.
- Write and execute code in C, C++, Java, Python, and JavaScript
- Syntax highlighting and live output
- Provide stdin input for programs
- View and search public code templates
- Read and search blog posts
- Explore linked code templates from blogs
- Sign up, log in/out, and edit profile (name, email, avatar, phone)
- Save code templates with title, tags, and explanation
- Edit or delete your templates
- Comment and rate blog posts
- Write, edit, delete blog posts with links to templates
- Report inappropriate content
- View most-reported content
- Hide inappropriate blog posts/comments from public view
- JWT-based authentication
- RESTful API design
- Local code execution via backend
- Pagination for scalable browsing
- Frontend: React, TailwindCSS, Next.js
- Backend: Next.js (API Routes), Prisma (ORM), Node.js
- Database: PostgreSQL (via Prisma)
- Code Execution: Native backend execution in a secure environment
- Auth: JSON Web Tokens (JWT)
- Tools: Postman for API testing