Git Product home page Git Product logo

justin-brazil / bookmarks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dyu/bookmarks

0.0 1.0 0.0 1.14 MB

a simple self-hosted bookmarking app that can import bookmarks from delicious and chrome

Home Page: https://apps.dyuproject.com/bookmarks/

License: Apache License 2.0

Java 29.43% Shell 4.70% TypeScript 27.78% Vue 0.28% CSS 31.07% HTML 1.89% JavaScript 4.82% VBScript 0.02%

bookmarks's Introduction

bookmarks app

a simple self-hosted bookmarking app that can import bookmarks from delicious and chrome

Quickstart

mkdir -p target/standalone && cd target/standalone
wget https://cdn.jsdelivr.net/npm/[email protected]/bin/bookmarks-linux-standalone-x64.tar.gz
tar -xzf bookmarks-linux-standalone-x64.tar.gz
./start.sh

screenshot

Here's the demo with a matching bookmarklet

To import from delicious and/or chrome, see bookmarks-importer/README.md

Server runtime dependencies

  • jdk7

Desktop runtime dependencies

  • jdk7
  • nwjs 0.19.5 or higher

    (optional, you can launch the app via node bookmarks-ts/chrome-app.js)

Dev requirements

  • node 6.9.0 or higher
  • yarn (npm install -g yarn)
  • jdk7 (at /usr/lib/jvm/java-7-oracle)
  • maven
  • protostuffdb (downloaded below)

Setup

mkdir -p target/data/main
echo "Your data lives in user/ dir.  Feel free to back it up." > target/data/main/README.txt

# download protostuffdb
yarn add [email protected] && mv node_modules/protostuffdb/dist/* target/ && rm -f package.json yarn.lock && rm -r node_modules

wget -O target/fbsgen-ds.jar https://repo1.maven.org/maven2/com/dyuproject/fbsgen/ds/fbsgen-ds-fatjar/1.0.10/fbsgen-ds-fatjar-1.0.10.jar
./modules/codegen.sh
mvn install

cd bookmarks-ts
yarn install

Dev mode

# produces a single jar the first time (bookmarks-all/target/bookmarks-all-jarjar.jar)
./run.sh

# on another terminal
cd bookmarks-ts
# serves the ui via http://localhost:8080/
yarn run dev

Production mode

If run.sh is still running, stop that process (ctrl+c)

cd bookmarks-ts
# produces js/assets in bookmarks-ts/dist/
./build.sh
# finally, run your production app
nw .
# or
node chrome-app.js

To setup the bookmarklet

# close the nw window if you ran 'nw .' prior to this
nw . b
# or
node chrome-app.js b

Packaging for desktop (nwjs)

Exec

./scripts/archive.sh

That script generates:

  • target/bookmarks-linux-x64.tar.gz
  • target/bookmarks-win-x64.zip

bookmarks's People

Contributors

dyu 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.