Skip to content

LaithAlz/Scriptorium

Repository files navigation

🧠 Scriptorium

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.

🚀 Demo

🎥 Watch the Demo

✨ Features

🔓 Visitor Access

  • 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

🔐 Authenticated Users

  • 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

🛠 Admin Capabilities

  • View most-reported content
  • Hide inappropriate blog posts/comments from public view

🧩 System Features

  • JWT-based authentication
  • RESTful API design
  • Local code execution via backend
  • Pagination for scalable browsing

🧰 Tech Stack

  • 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors