Projects Mongress
Mongress
Public Fork

Mongress is a minimalist, security-conscious MongoDB administration interface designed for direct inspection and controlled data manipulation in trusted environments.

0 0 2mo ago
Open on GitHub oryvex

Mongress

Mongress is a minimalist, security-conscious MongoDB administration interface designed for direct inspection and controlled data manipulation in trusted environments.

It is built for developers and operators who want clarity and control — without abstraction, automation, or hidden behavior.


⚠️ Important Notice

Mongress is an internal power tool.

It provides direct access to your databases, including destructive operations.
Treat it with the same care as shell access or database credentials.

Deploy only when actively using.
Shut down or undeploy when not needed.
Do not expose publicly.


Focus of Mongress

  • A focused MongoDB control interface
  • Designed for inspection, debugging, and deliberate edits
  • Minimal UI with readable data and explicit actions
  • Built for trusted, single-operator environments

Features

  • Browse databases, collections, and documents
  • Table and JSON views with syntax highlighting
  • Powerful search with optional conditional queries
  • Insert, update, and delete documents with confirmation
  • Inline object inspection
  • CSRF protection and authentication
  • Clear safety stops for missing configuration

Security

Mongress uses:

  • Login-based authentication
  • CSRF protection
  • Explicit confirmation for destructive actions

However, its primary safety guarantee is operational discipline:

Keep deployment windows short.
Restrict network access.
Undeploy when finished.


Configuration

Mongress will refuse to start unless all required environment variables are set.

Required

SECRET_KEY=your-long-random-secret
ADMIN_USER=admin_username
ADMIN_PASS=admin_password
MONGO_URI=mongodb://localhost:27017
  • SECRET_KEY
    Used to sign sessions and protect against request forgery.

  • ADMIN_USER / ADMIN_PASS
    Credentials for accessing the interface.

  • MONGO_URI
    MongoDB connection string.


Development

For local development, Mongress supports loading variables from a .env file:

from dotenv import load_dotenv
load_dotenv()

The .env file should never be committed to version control.


Author

Made by Kanish Ravikumar


Mongress is intentionally restrained.