https://github.com/fallenmax/1paper
A notepad.cc cover using Koa/Socket.io
https://github.com/fallenmax/1paper
Last synced: 10 months ago
JSON representation
A notepad.cc cover using Koa/Socket.io
- Host: GitHub
- URL: https://github.com/fallenmax/1paper
- Owner: FallenMax
- Created: 2016-08-16T09:44:39.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2025-02-23T16:15:50.000Z (12 months ago)
- Last Synced: 2025-04-05T10:07:32.166Z (10 months ago)
- Language: TypeScript
- Homepage: https://1paper.at
- Size: 875 KB
- Stars: 111
- Watchers: 10
- Forks: 32
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A quick cover of notepad.cc
## Demo
https://notepad.1976f.com/
## Features
- (Original) _notepad.cc ([discontinued](https://www.reddit.com/r/UsefulWebsites/comments/3wepc4/notepadcc_online_notepad_is_shutting_down_soon/))_ style and features
- No login/register required, user can start writing right away
- Open/create notes using `pathname` part of url
- Save as you type
- Extras
- **Real-time collaboration**, implemented using [Socket.IO] and [diff3] algorithm.
- **Better list editing UX**
- Tab: indent list item(s)
- Shift + Tab: deindent list item(s)
- Enter: new list item
- -: turn selected block into list
- ...More to be discovered
## Requirements
- [mongodb](https://www.mongodb.com/)
## Getting Started
```shell
# make sure you have mongodb running and configured accordingly
export MONGODB_URL=your-mongodb-url
export MONGODB_DATABASE=mongdo-database-to-use
pnpm install
pnpm start
```
[diff3]: https://en.wikipedia.org/wiki/Diff3
[socket.io]: https://socket.io/