[abandoned] Fork of online-bookmarks

Nichlas Severinsen 4098811092 Fixed importing 6 years ago
images ebc7e9b313 Making some nicer menu headers. 15 years ago
jquery 16d62ffdab Fixed jquery.js 6 years ago
lib 54557dfbc6 Removed unnecessary code in lib/auth.php 6 years ago
.gitignore 1d92982f73 Refactoring to PHP 7 6 years ago
CHANGES df3f30f07a Getting rid of dangeros in export.php, import.php and folders.php. 15 years ago
COPYING 4b1ada5ed4 Reviving online-bookmarks as a fork; Online Bookmarks 2 (OB2) 6 years ago
INSTALL b07760dc66 initial version 16 years ago
README.md c6b3107d16 Edited README.md 6 years ago
VERSION df3f30f07a Getting rid of dangeros in export.php, import.php and folders.php. 15 years ago
admin.php 1d92982f73 Refactoring to PHP 7 6 years ago
bookmark_add.php b07760dc66 initial version 16 years ago
bookmark_delete.php 1d92982f73 Refactoring to PHP 7 6 years ago
bookmark_edit.php 1d92982f73 Refactoring to PHP 7 6 years ago
bookmark_move.php 1d92982f73 Refactoring to PHP 7 6 years ago
bookmark_new.php 1d92982f73 Refactoring to PHP 7 6 years ago
bookmarks.php 1d92982f73 Refactoring to PHP 7 6 years ago
change_password.php 120bc5e47a Changing design to mostly tableless code. 16 years ago
export.php 1d92982f73 Refactoring to PHP 7 6 years ago
favicon.ico b07760dc66 initial version 16 years ago
favicon.php 1d92982f73 Refactoring to PHP 7 6 years ago
folder_delete.php 1d92982f73 Refactoring to PHP 7 6 years ago
folder_edit.php 1d92982f73 Refactoring to PHP 7 6 years ago
folder_move.php 1d92982f73 Refactoring to PHP 7 6 years ago
folder_new.php 120bc5e47a Changing design to mostly tableless code. 16 years ago
folders.php 1d92982f73 Refactoring to PHP 7 6 years ago
footer.php b07760dc66 initial version 16 years ago
header.php 504a21c148 Allow development mode 6 years ago
import.php 4098811092 Fixed importing 6 years ago
index.php 1d92982f73 Refactoring to PHP 7 6 years ago
install.php 1d92982f73 Refactoring to PHP 7 6 years ago
register.php 1d92982f73 Refactoring to PHP 7 6 years ago
select_folder.php 1d92982f73 Refactoring to PHP 7 6 years ago
settings.php 65c14667a8 *** empty log message *** 16 years ago
shared.php 1d92982f73 Refactoring to PHP 7 6 years ago
sidebar.php 1d92982f73 Refactoring to PHP 7 6 years ago
style.css da6b274b01 Fixed div height in shared.php 15 years ago

README.md

Online Bookmarks 2

What is it?

Online Bookmarks 2 (OB2) is a server-side PHP program designed as a personal online bookmarking system. Have a website that you want to store bookmarks on? OB2 is what you're looking for.

Features:

  • One click bookmark add button to browsers toolbar
  • Download and display favicons
  • Public bookmarks and folders
  • Folder structure in arbitrary depth
  • Multi-user
  • Import/export

Requirements

  • Webserver with PHP >= 4.3.0
  • MySQL >= 4.1 or MariaDB

Optionally:

  • ImageMagick for favicons

Setup

Installation

  1. Download OB2 and unpack the tarball in your webservers documentroot directory.
  2. Go to http://www.yourserver.com/online-bookmarks/ which will show installation instructions if /config/config.php is missing. Delete install.php after setting up.
  3. Try logging in!

Upgrade

  1. Move old files mv /path/to/online-bookmarks \ /path/to/online-bookmarks-backup
  2. Backup the database mysqldump --user=bookmarkmgr \ --password=password_of_bookmarkmgr \ bookmarks \ > /some/path/online-bookmarks-backup.sql
  3. Upgrade; do a regular install, the install script will take note of an existing install. Don't forget to copy favicons: cp -a /path/to/online-bookmarks-backup/favicons/* \ /path/to/online-bookmarks/favicons/

Bookmark any Homepage with one click

Open the "Settings" page in Online-Bookmarks you will find a bookmarklet link called bookmark. Drag this link to your browsers "Personal Toolbar" and a button with the correct settings will be created. The code beind the button is a simple JavaScript line. You can choose between opening the bookmarklet in a new window or in the same window.

History

Online Bookmarks 2 (OB2) is a fork of online-bookmarks written by Stefan Frech.

The original source code was stored in CVS but thanks to crap it was possible to convert it to Git.

Online-bookmarks was released as Free Software by Frech under the GPLv2. Online Bookmarks 2 will continue to release further changes under GPLv2.

Why?

Unlike another fork, openbookmark, OB2 does not aim to overhaul or add 'modern' (read: bloated) javascript libraries. In addition, the other fork did not convert the CVS repository to Git, effectively removing the true history of online-bookmarks in their fork. In addition, openbookmarks uses the term "Open Source" when even the creator of online-bookmarks - Stefan Frech - uses the term "Free Software", as well as not adding proper licensing to neither COPYING/LICENSE or source files.

Attribution

Copyright © 2008 Stefan Frech

Copyright © 2017 Nichlas Severinsen

Development

Clone this repo and cd into it.

You're gonna need an empty favicon folder, as well as ImageMagick installed, if you've enabled favicon. In addition you need a config/config.php file, you have to make it yourself. We might consider making the file ourselves if PHP supports it.

Add $development = true; in config/config.php to circumvent the 'you have to remove install.php' message.

Then just run

php -S localhost:8000

TODO

  • Add COPYING
  • Better README
  • CRITICAL - ONGOING - Fix for php7..
  • URGENT - switch md5 out with bcrypt
  • Check for and remove any proprietary parts (probably none)
  • Proper GPL usage
  • Remove unnecessary Javascript
  • Redesign UI & CSS
  • Add tests (if possible)
  • Proper commenting and docstrings
  • Decide on (small) css framework to replace old styles, alternatives: