# circuitverse/circuitverse

> CircuitVerse is a free, open-source web platform that lets users construct digital logic circuits online. It also offers the Interactive Book, which teaches the fundamentals of modern digital circuits. The circuit editor runs in the browser through a JavaScript simulator, and the project is built as a Ruby on Rails application.

Source: https://github.com/circuitverse/circuitverse
Indexed: commit 6f725c5 on 2026-10-17 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Type: Command-line tool
- Language: JavaScript
- Stars: 1,295 at index time
- License: MIT
- Code health: 8.4/10, Good
- Last commit: 2026-09-27
- Contributors: 93

## How it works

The simulator in simulator/src/app.js is an entry point that runs the event and listener loop which builds and updates the live circuit state in the browser. The simulator directory holds most of this logic, and users interact with it through the editor and canvas. The app directory contains the Rails application, organized into controllers, models, background work, and user-facing UI including JavaScript, and it handles projects, authentication, and community features. config.ru is the Rack entry point that hands requests to the Rails runtime. The config directory defines how the Rails app boots and which settings apply across environments. The db directory holds migrations and the schema in db/schema.rb for stored project data, and the spec directory contains the test suite.

- config.ru: entry point
- simulator/src/app.js: entry point
- .database_consistency.yml: central file
- .devcontainer/Dockerfile: central file
- .devcontainer/boot.sh: central file
Modules: app, spec, simulator, db, config, bin, docs, root. 1,541 files, 54,765 lines, 3,126 symbols.

## Code health

- Score: 8.4/10 (Good)
- Rank: #51 of 265 ranked repos
- Hotspots: db/schema.rb, app/javascript/controllers/organization_form_controller.js, app/controllers/organizations_controller.rb, app/controllers/simulator_controller.rb, config/routes.rb
- Lowest file: simulator/src/node.js
- Dead code: 90 findings

## Maintenance

- Last commit 2026-09-27, first commit 2024-01-25, 538 commits
- 93 contributors, bus factor 3

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/circuitverse/circuitverse/security

## More

- Page: https://repowise.dev/repo/circuitverse/circuitverse
- Ask this codebase: https://repowise.dev/repo/circuitverse/circuitverse/chat
- Docs: https://repowise.dev/repo/circuitverse/circuitverse/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/circuitverse/circuitverse
