Recommend this page to a friend! |
Classes of Martin Latter | Noter | README.md | Download |
|
DownloadNoterShare notes across devices on a local network.[1]: https://tinram.github.io/images/noter.png ![noter][1] Purpose
Noter's focus is simplicity – browser display and search, with a log-in to add, edit, and delete notes. The log-in offers basic protection from unauthorised tampering via password obfuscation and session timeout. Noter was created for an isolated network where plain text transfer and viewing is acceptable, and without determined adversaries. Noter is NOT suitable for storing sensitive data. A single SQLite database file facilitates easy backup, transfer, and source control of data. A Raspberry Pi, with Apache and PHP installed, could make an ideal low-powered always-on host for Noter. Requirements
SetupClone the repository (or extract the ZIP archive) into the server's web directory e.g.
(Debian-based; use
SQLite file operation (requires actioning on the directory itself):
Check the configuration file constants: config/config.php
Only the timezone, session timeouts, Change the users and the user password hashes ( Passwords are stored as SHA-256 hashes. Bash
PHP
Python
Manually Create the SQLite DatabaseNoter includes an initial SQLite database: db/noter.sqlite3 However, where GitHub importing does not permit binary files (e.g. PHPClasses and the noter.sqlite3 file is consequently missing, the file will need to be created manually – In a terminal:
Viewing and Searchinghttp://localhost/Noter http://IP.add.re.ss/Noter or better, configure an Apache vhost and access with: Noter Adding and Editinghttp://localhost/Noter/edit or if Apache rewrite is disabled: http://localhost/Noter/edit.php Upon logging-in through this page, notes can be added, updated, or deleted.
Most types of link references will be automatically converted into HTML links upon note addition (but not on note updating). Other FilesThe SQLite database schema is available at db/noter\_schema.sql The SQLite database schema and initial data is available at db/noter\_schema\_data.sql Unsuccessful log-in attempts are recorded in log/badlog.txt Credits
MiscellaneousNoter was originally created as a second language flashcard viewer (to which it can be easily reverted). Noter was never created for coding elegance, merely to do a simple job in minimal code. It's like my car: looks ancient, runs quite well. LicenseNoter is released under the GPL v.3. |