A secure PHP based Web App for reading either Gnote or Tomboy Notes.
- Easily switch between Bootstrap Bootswatch themes
- Sort Notes by Notebook or view full list
- Optional password protection: single user or give others access
-
Copy the Gnoted main folder (this repository) to your web server. See the provided Apache2 alias example.
-
Rename "config.php.dist" to "config.php" and set the values, if necessary
-
Connect Tomboy Notes' or Gnote's note folder:
a. Symlink:For Gnote this will be
~/.local/share/gnote
For Tomboy this will be~/.local/share/tomboy
$ cd /path/to/gnoted $ ln -s ~/.local/share/gnote notes
b. Alter the $APP_PATH setting from "notes" to "/home/YOUR_USER_NAME/.local/share/gnote" (or tomboy, respectively).
-
Set permissions
a. Make certain that www-data is a member of the YOUR_USERNAME group, and then check your work by executing:$ usermod -a -G YOUR_USERNAME www-data $ groups www-data
b. Make certain that 750 permissions are set on
~./.local
~./.local/share
and./.local/share/gnote
$ chmod 750 ~./.local $ chmod 750 ~./.local/share $ chmod 750 ~./.local/share/gnote -R
Scripts used for inspiration and/or copypasta:
All of my published code is developed and maintained in spare time, if you would like to support development of this, or any of my published code, I have set up a Liberpay account for just this purpose. Thank you.
===========================
Copyright (C) 2017 Josh Panter
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.