Giter VIP home page Giter VIP logo

openbookmark-ii's Introduction

OpenBookmark-II

OBM II is a rewrite of Brendan LaMarche's fantastic OpenBookmark script, to bring it back to life and run on modern versions of PHP. It retains the same 3-column layout, but has some major changes under the hood. One of them is that favicons are now named with the domain name so that only a single favicon per domain is saved to your drive. This will help keep your inode count low if you save a lot of links. Besides, why save multiple icons when one will do?

Features

  • Handles a wide array of favicon types โ€” including SVG and base64!
  • Saves a single favicon per domain/sub-domain to keep file counts at a minimum.

Bookmarklet

Copy this code to your bookmarks bar for easy bookmarking of interesting sites. Adjust for your domain.

javascript:(function(){bmadd=window.open('https://your.domain.com/bookmarks/new_bookmark.php?title='+encodeURIComponent(document.title)+'&url='+encodeURIComponent(location.href),'bmadd','toolbar=no,location=no,status=no,scrollbars=yes,resizable=yes,width=500,height=500,left=50,top=50');setTimeout(function(){bmadd.focus();});})();

To Do

  • Update CSS
  • Add mobile view
This script works great on the desktop but it's useless on a phone. Since CSS is not my strongsuit, if anyone would like to contribute a mobile view, that would be fantastic. If you decide to submit a pull request, please keep in mind that I'm trying to keep this script as lightweight as possible, so adding jQuery and Bootstrap bundles is out of the question. Also, this script must remain self contained, so no links to 3rd-party scripts.

Requirements

  • PHP 8.0 or higher
  • Imagick
  • convert (linux cli tool)
  • identify (linux cli tool)
  • php-curl extension

Screenshots

Main Screen

Installation

To install, simply copy the files to your server and adjust the values in /config/config.php to match your database and server.

openbookmark-ii's People

Contributors

s22-tech avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.