n0te is a lightweight and efficient note-taking application built with React, Vite, and Tailwind CSS. It features a rich Markdown editor powered by @mdxeditor/editor, allowing for seamless note creation and management. The application is containerized using Docker for easy setup and deployment.
- Rich Markdown Editor: Utilizes
@mdxeditor/editorfor a comprehensive editing experience.- Support for headings, lists (ordered and unordered), quotes, thematic breaks, links, and tables.
- Text formatting: Bold, Italic, Underline.
- Undo/Redo functionality.
- Block type selection.
- Real-time Preview: See your Markdown rendered as you type.
- Simple and Clean UI: Dark-themed interface for a pleasant user experience, styled with Tailwind CSS.
- Responsive Design: Adapts to different screen sizes.
- Fast Development: Leverages Vite for quick HMR and optimized builds.
- Dockerized: Easy to set up and run in a containerized environment.
- Node.js (version 18.x or later recommended, as per
Dockerfile) - npm (comes with Node.js)
- Docker (optional, for containerized deployment)
-
Clone the repository:
git clone https://github.com/GShreekar/n0te.git cd n0te -
Install dependencies:
npm install
You can run the application using the Vite development server directly or via Docker.
This method is ideal for active development due to Vite's Hot Module Replacement (HMR).
-
Start the development server:
npm run dev
This command is defined in the
scriptssection ofpackage.json. -
Open your browser: Navigate to
http://localhost:4073(or the host/port specified invite.config.jsif changed).
This method uses the provided Dockerfile and docker-compose.yml to run the application in a container.
-
Build and run the Docker container:
docker-compose up
To run in detached mode (in the background):
docker-compose up -d
-
Open your browser: Navigate to
http://localhost:4073.
The Dockerfile sets up a Node.js 18 environment, installs dependencies, and runs npm run dev exposing port 4073. The docker-compose.yml file orchestrates this service, mapping port 4073 on your host to port 4073 in the container and mounting the current directory into /app in the container for live code changes.
Contributions are welcome! If you'd like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature-name). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'). - Push to the branch (
git push origin feature/your-feature-name). - Open a Pull Request.
This project is licensed under the GNU Affero General Public License v3.0. See the LICENSE file for full details.