百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

PutongOJ

> 数据库
开源

为竞赛编程和算法问题解决而设计的在线裁判系统。

198 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

为竞赛编程和算法问题解决而设计的在线裁判系统。

Putong OJ

Putong OJ is an online judge system designed for competitive programming and algorithmic problem-solving. A live instance is available at acm.cjlu.edu.cn.

[!IMPORTANT]

The development of Putong OJ is closely tailored to the practical needs of the ACM Lab at CJLU, incorporating numerous customized features.

If you wish to deploy your own instance, we recommend forking the repository and modifying the code according to your requirements. Currently, Putong OJ does not support configuration options for these customized features.

[!CAUTION]

The current branch may contain untested changes after dependency upgrades and a project structure refactor. For production use, we strongly recommend using the last stable version: backend at commit 6c7b68c and frontend at commit ce13bf1.

Some features might be unstable until comprehensive testing is completed. Proceed with caution when deploying this version.

Features ✨

  • One-Click Deployment – Easily deploy with Docker.
  • Modern Web Interface – Built as a single-page application (SPA) using Vue.js.
  • Scalable Architecture – Backed by Koa.js, MongoDB, and Redis for optimal performance.
  • Multiple Testcases Support – Run and evaluate submissions with multiple testcases.
  • Flexible Judging System – Supports various programming languages.
  • Real-Time Status Updates – Monitor submissions and results dynamically.
  • Contest Mode – Conduct coding contests with live rankings and scoreboard.
  • Submission History – Track past submissions with insights.
  • Code Execution Sandbox – Secure environment to prevent malicious execution.
  • RESTful API Support – Extend functionality with API integrations.
  • And much more...

Getting Started

Prerequisites

Before proceeding, ensure that you have the following installed:

  • Docker
  • MongoDB
  • Redis

Build and Run

Build Docker Image

Run the following command to build the Docker image:

bash
docker build -t ptoj-app .

Run the Application

Replace and with your actual database connection URLs:

bash
docker run -d --name ptoj-app \
    -p 3000:3000 \
    -e NODE_ENV=production \
    -e PTOJ_MONGODB_URL= \
    -e PTOJ_REDIS_URL= \
    ptoj-app

This will start the application on port 3000.

Persistent Data Storage

To retain data across container restarts, mount the following volumes:

/app/data
/app/logs
/app/public/uploads

Setting Up the Judger

To configure the judging system, refer to ptoj-judger.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScriptkoamongodbnodeonlinejudge

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类数据库
定价开源

> 相关工具

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库