Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brantje/nextnote
A full Evernote / OneNote style WYSIWYG note editor for Nextcloud / ownCloud. Join our telegram at: https://t.me/NextNote
https://github.com/brantje/nextnote
nextcloud notes
Last synced: 2 months ago
JSON representation
A full Evernote / OneNote style WYSIWYG note editor for Nextcloud / ownCloud. Join our telegram at: https://t.me/NextNote
- Host: GitHub
- URL: https://github.com/brantje/nextnote
- Owner: brantje
- License: agpl-3.0
- Created: 2017-07-01T20:06:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-06-19T03:11:17.000Z (over 4 years ago)
- Last Synced: 2024-04-14T15:05:32.155Z (8 months ago)
- Topics: nextcloud, notes
- Language: JavaScript
- Homepage:
- Size: 3.14 MB
- Stars: 163
- Watchers: 37
- Forks: 19
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
- awesome-nextcloud - NextNote - Evernote / OneNote style WYSIWYG note editor for NC (*Alpha Stage*) (Apps / Unofficial)
README
# NextNote (alpha)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/brantje/nextnote/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/brantje/nextnote/?branch=master)
This application is a rewritten verion of [ownNote](https://github.com/Fmstrat/ownnote).
The old [Android App](https://play.google.com/store/apps/details?id=com.nowsci.ownnote&hl=sv) won't work, but no worries, we plan to develop a new one.![alpha-release](https://user-images.githubusercontent.com/1787238/38750516-0adbd372-3f0a-11e8-9120-6521cf3232a5.gif)
Alpha means in this case 'pretty stable', but it's possible that due to an update things will break / get sent to `/dev/null`.
**If you value your notes please wait for a stable version.**
Changes:
- Replaced deprecated methods
- Removed XSS vulnerability (Via the announcements it was possible to inject javascript / html)
- Updated [tiny MCE](https://github.com/tinymce/tinymce) to 4.7.10.
- Fixed CSP error in [tinymce](https://github.com/tinymce/tinymce).
- Ability to embed files from your nextcloud
- Ability to link to files from your nextcloud
- Make use of Entity's, mappers, services## Pull requests are very welcome!
The whole app has been rebuild, so there will be some bugs in there.
Did you find a bug? Report it or fix it and send a PR.## Screenshots
![save-as-pdf-example-smaller](https://user-images.githubusercontent.com/1787238/38752055-c6f0db1c-3f0e-11e8-8b57-920f1a709b38.gif)![recipe-example](https://user-images.githubusercontent.com/1787238/38751463-0fb851c4-3f0d-11e8-867e-0db143f730e1.png)
![nexnote-drag-and-drop-example-bigger](https://user-images.githubusercontent.com/1787238/38581663-58ecc3b8-3cc2-11e8-9011-970ace95a5f5.gif)
## Features
- Full fledged [WYSIWYG editor](https://github.com/tinymce/tinymce)
- Share a note with a user or group
- Note grouping/categorization
- Archive notes## Todo:
- [x] Refactor backend to make use of:
- [x] Entity's
- [x] Mappers
- [x] Services
- [x] Switch to a AngularJS frontend
- [X] Rename namespace from OwnNotes to NextNotes
- [ ] Implement [note sharing](https://github.com/brantje/nextnote/issues/81)
- [ ] Import from Evernote as HTML or [ENEX](https://github.com/brantje/nextnote/issues/75)
- [ ] Ability to [save files to a folder as HTML files](https://github.com/brantje/nextnote/issues/96) (untested)
- [ ] Implement hierarchical structure for groups (PR's welcome!)
- [ ] Add markdown support
- [ ] Import from [Notes](https://github.com/nextcloud/notes) app.
- [ ] Switch between database or file mode
- [ ] Add admin section for allowed image / video domains due CSP.
- [ ] Encrypted notes? (What about sharing?)
- [ ] Travis tests (We really need help with this, so PR's welcome!)
- [ ] Develop an app for Android/iOS (We really need help with this, so PR's welcome!)
## Chat
There is a [Telegram](https://t.me/NextNote) chatroom available.
## Installation
- Place this app in **nextcloud/apps/nextnote** (Rename the extracted ZIP to "nextnote" or you will receive errors)
- Note: *custom_csp_policy* changes are no longer required#### Scripted installation
You can also use this script developed by [enoch85](https://github.com/enoch85):
```
#!/bin/bash# Variables
DISTRO=$(lsb_release -sd | cut -d ' ' -f 2)
OS=$(uname -v | grep -ic "Ubuntu")# Functions
# Whiptail auto-size
calc_wt_size() {
WT_HEIGHT=17
WT_WIDTH=$(tput cols)if [ -z "$WT_WIDTH" ] || [ "$WT_WIDTH" -lt 60 ]; then
WT_WIDTH=80
fi
if [ "$WT_WIDTH" -gt 178 ]; then
WT_WIDTH=120
fi
WT_MENU_HEIGHT=$((WT_HEIGHT-7))
export WT_MENU_HEIGHT
}msg_box() {
local PROMPT="$1"
whiptail --msgbox "${PROMPT}" "$WT_HEIGHT" "$WT_WIDTH"
}################
# Check Ubuntu version
echo "Checking server OS and version..."
if [ "$OS" != 1 ]
then
msg_box "Ubuntu Server is required to run this script.
Please install that distro and try again.
You can find the download link here: https://www.ubuntu.com/download/server"
exit 1
fiif ! version 16.04 "$DISTRO" 18.04.4; then
msg_box "Ubuntu version $DISTRO must be between 16.04 - 16.04.4"
exit 1
fi# Install git if not existing
if [ "$(dpkg-query -W -f='${Status}' "git" 2>/dev/null | grep -c "ok installed")" != "1" ]
then
apt update -q4
apt install git -y
fipull() {
cd /var/www/nextcloud/apps || exit
rm -rf nextnote
git clone https://github.com/brantje/nextnote.git nextnote
chown -R www-data:www-data /var/www/nextcloud/apps/nextnote
sudo -u www-data php /var/www/nextcloud/occ app:enable nextnote
}if pull
then
exit
else
echo "not sucessfull pull $(date)" > /var/log/nextnote_pull.log
fi
```Simply just run it everytime you want to get the latest master code.
## Development
NextNotes uses a single `.js` file for the templates.
This gives the benefit that we don't need to request every template with XHR.
For CSS we use SASS so you need ruby and sass installed.
`templates.js` and the CSS are built with grunt, so don't edit them as your changes will be overwritten next time grunt is ran.
To watch for changes use `grunt watch`