https://github.com/vxncius-dev/codeblock
A simple note-taking web app that allows users to create, edit, and save notes locally using the browser's local storage. The app features customizable note titles, content areas, and copy-to-clipboard functionality.
https://github.com/vxncius-dev/codeblock
appdesign design javascript note-taking notes notes-app shadcn-ui
Last synced: 4 months ago
JSON representation
A simple note-taking web app that allows users to create, edit, and save notes locally using the browser's local storage. The app features customizable note titles, content areas, and copy-to-clipboard functionality.
- Host: GitHub
- URL: https://github.com/vxncius-dev/codeblock
- Owner: vxncius-dev
- License: apache-2.0
- Created: 2024-11-12T00:41:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-22T12:30:24.000Z (about 1 year ago)
- Last Synced: 2025-04-22T13:40:59.244Z (about 1 year ago)
- Topics: appdesign, design, javascript, note-taking, notes, notes-app, shadcn-ui
- Language: JavaScript
- Homepage: https://vxncius-dev.github.io/Codeblock/
- Size: 3.52 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Codeblock - A Simple Note-Taking Web App
**Codeblock** is a simple and intuitive web-based note-taking app that allows users to create, edit, and save their notes directly in the browser. It uses **localStorage** to persist notes across sessions, ensuring that all changes are saved automatically.
---

You can try out the live demo of the project [here](https://vxncius-dev.github.io/Codeblock/).
## Features
- **Create and Edit Notes**: Users can add titles and content to their notes.
- **Local Storage Integration**: Notes are saved persistently in the browser's local storage, even after a page refresh.
- **Copy Functionality**: Notes can be copied to the clipboard with the click of a button.
- **Placeholder Notes**: If no notes exist, random placeholder content is displayed as a guide.
- **Light and Dark Theme Toggle**: The app allows users to toggle between light and dark themes, with the theme preference saved.
- **Speech-to-Text Transcription**: Users can dictate notes using their microphone, and the app will convert speech to text automatically.
## Technologies
- **HTML** for page structure.
- **CSS** for styling and responsive design.
- **JavaScript** for dynamic interactivity, local storage management, speech recognition, and theme toggling.
## How It Works
### 1. **Managing Notes**:
- Users can create new notes by clicking on the "Add Note" button.
- Notes are automatically saved in the browser's `localStorage` and persist across sessions.
- Each note can be edited or deleted by clicking on the respective buttons.
- Notes can be copied to the clipboard with a dedicated button for each note.
### 2. **Speech-to-Text Transcription**:
- Users can click the **microphone button** to start voice transcription.
- The app will capture speech and convert it into text in real-time.
- If no speech is detected for **10 seconds**, the recording will automatically stop.
- Requires **microphone permissions** to be granted in the browser.
### 3. **Theme Toggling**:
- The app supports both light and dark themes.
- Users can toggle between themes using a button, and their preference will be saved in `localStorage`, so it persists across page loads.
## Setup Instructions
1. **Clone the repository**:
```bash
git clone https://github.com/vxncius-dev/Codeblock.git
cd Codeblock
```
2. **Run the project**:
- Open `index.html` in your preferred browser to see the app in action.