FractalNote is online editor of hierarchical notes (or note trees) for Nextcloud server.
You can view/edit CherryTree (*.ctb) files with it in browser.
Current development phase is pre-alpha
. Just nodes of plain text are editable, others are read-only.
This is self-hosted Dropbox/Google Drive analog. It is able to synchronise your private files between all your devices. More about...
- Use CherryTree program for windows/linux desktop computers to create hierarchical notes.
- Save your hierarchical note tree as [filename].ctb with CherryTree program.
- Upload [filename].ctb to Nextcloud
- Edit uploaded file online:
https://[your-cloud-server]/index.php/apps/fractalnote?f=[filename].ctb
- Install Nextcloud desktop synchronisation client.
- Put [filename].ctb under Nextcloud synchronisation folder of your desktop computer. From now the file will be uploaded into server automatically after every saving.
- In CherryTree program preferences keep checked autosave option and Edit->Preferences->Miscellaneous->
Reload after external update to CT* file
option. From now file changes made online will be downloaded automatically even while you navigating through the file with CherryTree program. - [filename].ctb size should not be big (about
<= 5MB
), because for now the full file gets loaded with every page refresh in browser.
- PHP
>= 7.2
- Nextcloud
>= 15.0
- Install into your web server Nextcloud
- (This step is not required.) To open [filename].ctb from file list nextcloud app you need:
Add ctb
file type to the [nextcloud install folder]/config/mimetypemapping.json
like that:
{
"ctb": ["application/cherrytree-ctb"]
}
Run in the command line:
cd [nextcloud install folder]
sudo -u www-data ./occ maintenance:mimetype:update-db --repair-filecache
- Place FractalNote in
[nextcloud install folder]/apps/fractalnote
- Install composer
- Run
cd [nextcloud install folder]/apps/fractalnote
composer install
- Enable FractalNote in Nextcloud settings UI or by the command
cd [nextcloud install folder]
sudo -u www-data ./occ app:enable fractalnote
After Installing PHPUnit run:
phpunit -c phpunit.xml
- JQuery jsTree plugin, that provides interactive trees: https://github.com/vakata/jstree
- Reponsive jsTree Twitter Bootstrap 3 Compatible Theme: https://github.com/orangehill/jstree-bootstrap-theme
- Handlebars.js https://github.com/wycats/handlebars.js/
- Inspired by awesome CherryTree: https://github.com/giuspen/cherrytree