Skip to content

A modern code execution platform where developers write, execute, and share code across multiple languages. Features real-time execution, syntax highlighting, blog system, and secure containerized environments. Built with Next.js, React, Prisma, and Docker.

Notifications You must be signed in to change notification settings

faraazzz31/scriptorium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

184 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Scriptorium: Modern Code Execution & Sharing Platform

Scriptorium is a sophisticated web platform that modernizes the ancient concept of a scriptorium for the digital age. It provides developers with a secure environment to write, execute, and share code across multiple programming languages.

πŸš€ Features

πŸ’» Code Writing and Execution

  • Multi-language support (C, C++, Java, Python, JavaScript, Bash, TypeScript, Ruby, PHP, Go)
  • Real-time syntax highlighting
  • Live code execution with stdin input support
  • Comprehensive error handling and display
  • Secure isolated execution environment
  • Automatic time and memory limits
image

πŸ‘€ User Authentication

  • Secure JWT-based authentication
  • User profile management
  • Customizable avatar support
  • Profile information editing
image image

πŸ“š Code Templates

  • Save and organize code snippets
  • Template searching and filtering
  • Tag-based organization
  • Fork and modify existing templates
  • Version tracking for forked templates
image image image

πŸ“ Blog System

  • Create and manage blog posts
  • Link code templates within posts
  • Comment system with nested replies
  • Upvote/downvote functionality
  • Advanced search capabilities
  • Tag-based organization
image image image

πŸ›‘οΈ Content Moderation

  • Report inappropriate content
  • Administrative review system
  • Content hiding functionality
  • Transparent flagging system
image image

🎨 User Experience

  • Responsive design for all devices
  • Dark/light theme toggle
  • Intuitive navigation
  • Clean, modern interface
image image

πŸ› οΈ Technology Stack

  • Frontend: React, TailwindCSS
  • Backend: Next.js, Prisma
  • API: REST Framework
  • Isolation/Security: Docker containerization
  • Authentication: JWT

πŸš€ Getting Started

Prerequisites

  • Node.js 20+
  • Docker

Installation

  1. Clone the repository
git clone https://github.com/faraazzz31/scriptorium.git
cd scriptorium
cd PP2
  1. Set up the project - (install dependencies, build and run docker container, populate db)
./startup.sh
  1. Run development server
npm run dev

Visit http://localhost:3000 to see the application in action.

About

A modern code execution platform where developers write, execute, and share code across multiple languages. Features real-time execution, syntax highlighting, blog system, and secure containerized environments. Built with Next.js, React, Prisma, and Docker.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •