ToRead is a simple bookmarking service, similar to browser bookmarks, delicious.com, or Shaarli.
This originally began as a single PHP script, but was then rewritten in Angular with a separate PHP API backend.
Warning This was created for personal use. It is not guaranteed to be robust or secure enough for a public-facing website.
- Add a link for later reading
- View a (rough) snapshot of the page
- Add a link with description to save for reference
- Add "tags" to categorize your bookmarks
- See how many items are in your list
- See at a glance how many items were added/deleted today and in the past week
- Filter the list by tag
- Search the list for specific words
- Choose an item from list at random
- Delete selected items from the list
This software requires a server running PHP 5.6+ (with the mbstring extension) and a MySQL (or compatible) database.
-
Create a new database using the
toread.sql
schema. -
Modify the
toread.ini
file with your server+database configuration. -
Copy all files (except
toread.sql
andtoreadtest.php
) to your server. -
Make sure that
toread.ini
is not accessible from the web! Here is an example for Apache:<Files "toread.ini"> Deny from all </Files>
You can modify the first line in toreadapi.php
to point to somewhere else.
toread.html
-- HTML partial for Angulartoread.ini
-- configuration filetoread.js
-- Angular apptoread.php
-- App boilerplatetoread.sql
-- database schematoreadapi.php
-- API backendtoreadcommon.php
-- common routinestoreadcontrols.html
-- HTML partial for Angulartoreadsnapshot.php
-- snapshot view for a linktoreadtest.php
-- tests
Bug reports and contributions are welcome. Create an issue or feature request, or submit a pull request with your proposed changes.
To run tests, you must have atoum installed. Then run it against the toreadtest.php
file: vendor/bin/atoum toreadtest.php
.
Copyright 2015-2017 Eric Heikes.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this software except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.