The Mistral AI Web-Linux Terminal is a web-based terminal emulator that simulates a Linux environment. It provides a set of predefined commands to interact with a simulated file system. This project is built using Next.js, React, and TypeScript.
- Simulated Linux environment with a file system
- Predefined commands for file manipulation and system information
- Theme support with different color modes for terminal
- Responsive design for various screen sizes
app/
: Contains the main application layout and global stylescomponents/
: Contains reusable UI components and the terminal emulatorcontext/
: Contains React context providershooks/
: Contains custom React hookslib/
: Contains utility functions and servicespublic/
: Contains static assetsstyles/
: Contains global CSS stylestypes/
: Contains TypeScript type definitions
- Clone the repository
- Install dependencies using
pnpm install
- Run the development server using
pnpm dev
- Open the browser and navigate to
http://localhost:3000
The terminal emulator supports the following commands:
help
: Show available commandsls
: List directory contentscd
: Change directorypwd
: Print working directorymkdir
: Create directorytouch
: Create filecat
: Display file contentsecho
: Display a line of textrm
: Remove files or directoriescp
: Copy files or directoriesmv
: Move/rename files or directoriesgrep
: Search for patterns in filesfind
: Search for files in a directory hierarchyclear
: Clear the terminaldate
: Display the current date and timewhoami
: Display current useruname
: Display system informationhistory
: Display command history
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository
- Create a new branch for your feature or bug fix
- Make your changes and commit them
- Push your changes to your fork
- Create a pull request to the main repository
This project is licensed under the MIT, Apache2 License.
- UI: v0.dev
- AI: Mistral AI (Open Source)
- Terminal: webvm.io (FOSS)
- BLUE LOTUS