Skip to content
 
 

Latest commit

 

History

95 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmd.haus

cmd.haus is a powerhouse command center for effortless database management, built with Electron and React.

Features

  • Support for multiple database types including MongoDB, PostgreSQL, MySQL, and Oracle
  • Interactive query interface with syntax highlighting
  • Database schema visualization
  • AI-powered query explanation and generation
  • Real-time collaboration features (Enterprise Only)
  • Docker integration for spinning up database instances
  • Cross-platform support (macOS, Windows, Linux)

Tech Stack

  • Electron
  • React
  • TypeScript
  • Vite
  • Tailwind CSS
  • Shadcn UI
  • Redux Toolkit
  • SWR for data fetching
  • Monaco Editor for code editing
  • Framer Motion for animations

Getting Started

Prerequisites

  • Node.js (v14+)
  • Yarn or npm
  • Docker (for spinning up database instances)

Installation

  1. Clone the repository: git clone https://github.com/MrgSub/cmd.haus.git cd cmd.haus
  2. Install dependencies: bun install
  3. Run the app: bun run start

Building for Production

To build the app for production, run the following command: bun run make:(arm64|x64)

Notes

Node.js 18 is required to run the app.

Incidents Log

  • Oct 16, 2024: the app build started not including any node_modules. This is because the build process is not working properly. We debugged it, we can't figure out a reason excpet the external list in vite.base.config.ts is not working properly. The problem seems to be from tunnel-ssh. It needs to be marked as external. But does that mean it's not in the packaged application?

This will generate installers for your current platform in the out directory.

Features in Detail

  • Multi-database Support: Connect to and manage MongoDB, PostgreSQL, MySQL, and Oracle databases.
  • Query Interface: Write and execute queries with syntax highlighting and auto-completion.
  • Schema Visualization: Visualize database schemas and relationships.
  • AI Integration: Explain complex queries and generate new ones using natural language.
  • Data Exploration: Browse and edit database contents with an intuitive interface.
  • Docker Integration: Spin up database instances for testing and development.
  • Extensible Architecture: Built with modularity in mind for easy feature additions.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

About

Source code for cmd.haus

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages