A Next.js application that provides an in-browser COBOL editor and runner with syntax highlighting and example programs.
- COBOL Code Editor: Monaco Editor with custom COBOL syntax highlighting
- Example Programs: 10 pre-loaded COBOL programs covering various concepts
- Mock Execution: Realistic program execution simulation
- Responsive Design: Works on desktop and mobile devices
npm install
npm run devOpen http://localhost:3000 in your browser.
docker build -t cobol-interpreter .
docker run -p 3000:3000 cobol-interpreterdocker-compose up --build- Create a new project in Coolify
- Connect your Git repository
- Coolify will automatically detect the Dockerfile
- Set the port to
3000 - Deploy the application
NODE_ENV=production(automatically set)NEXT_TELEMETRY_DISABLED=1(optional, to disable Next.js telemetry)
cobol-interpreter/
├── src/
│ └── app/
│ ├── components/
│ │ └── CobolEditor.tsx
│ ├── cobol-examples.ts
│ ├── page.tsx
│ └── page.module.css
├── Dockerfile
├── docker-compose.yml
└── package.json
- Next.js 15 with App Router
- React 18 with TypeScript
- Monaco Editor for code editing
- Custom COBOL syntax highlighting
- Docker for containerization