A minimal, fast, and elegant text editor built with React and TypeScript. Features automatic saving and a clean interface for distraction-free writing.
- 📝 Clean, minimal text editor interface
- 💾 Automatic content saving using localStorage
- ⏰ Real-time clock with 12-hour format
- 🌍 Time display adapts to user's locale
- 🔄 Time updates every 10 seconds and on tab focus
- 📤 Export content as .txt files
- 📥 Import content from .txt files
- ✨ Cursor position preservation while typing
- 🧹 Quick "New page" feature to start fresh
- React 18
- TypeScript
- CSS Modules
- Vite
- Node.js (v14 or higher)
- npm or yarn
- Clone the repository:
git clone https://github.com/sreesreejuks/typehere.app.git
cd typehere.app- Install dependencies:
npm install
# or
yarn install- Start the development server:
npm run dev
# or
yarn dev- Open http://localhost:5173 in your browser
npm run build
# or
yarn build-
Text Editor:
- Start typing in the main editor area
- Content automatically saves as you type
- Cursor position is preserved during edits
-
Time Display:
- Shows current time in [month day, hour:minute period] format
- Updates every 10 seconds
- Updates when returning to the tab
- Adapts to your local time format
-
More Menu Options:
- Export as .txt: Save your content to a text file
- Import .txt: Load content from a text file
- New page: Clear all content and start fresh
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
If you find this project helpful, please give it a ⭐️!