All Projects → darekkay → Static Marks

darekkay / Static Marks

Licence: mit
Shareable bookmarks

Projects that are alternatives of or similar to Static Marks

Nighttab
A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.
Stars: ✭ 598 (+522.92%)
Mutual labels:  bookmarks
Hugonews
hugo theme (based on https://news.ycombinator.com) for https://bookmarks.wews.co.zw
Stars: ✭ 39 (-59.37%)
Mutual labels:  bookmarks
Focusedtask
MacOS menu bar todo app built with Electron, React and Redux. It goals is to help you do deep work.
Stars: ✭ 67 (-30.21%)
Mutual labels:  bookmarks
Gata
Bookmarks made better
Stars: ✭ 17 (-82.29%)
Mutual labels:  bookmarks
Pinku
A Pinboard-to-buku importation utility
Stars: ✭ 30 (-68.75%)
Mutual labels:  bookmarks
Hn Saved Links Export
Export your saved links on HN as JSON or CSV, with only a few keystrokes.
Stars: ✭ 47 (-51.04%)
Mutual labels:  bookmarks
Buku
🔖 Personal mini-web in text
Stars: ✭ 4,825 (+4926.04%)
Mutual labels:  bookmarks
Bookmarks Organizer
With the Bookmarks Organizer it's easy to put order in your bookmarks. The Bookmarks Organizer finds no longer working bookmarks, redirects, duplicates and more!
Stars: ✭ 90 (-6.25%)
Mutual labels:  bookmarks
Bookmark
A reading list for the programmer
Stars: ✭ 31 (-67.71%)
Mutual labels:  bookmarks
Vbookmarks
A successor of Neat Bookmarks.
Stars: ✭ 61 (-36.46%)
Mutual labels:  bookmarks
Yub
yub.js - A command-line for the web
Stars: ✭ 10 (-89.58%)
Mutual labels:  bookmarks
Gold Rush Bookmark
来我们的书签里淘点宝吧!Find some treasure in our bookmarks!
Stars: ✭ 30 (-68.75%)
Mutual labels:  bookmarks
Twitter Bookmarks Search
WebExtension that adds ability search all your bookmarked tweets!
Stars: ✭ 59 (-38.54%)
Mutual labels:  bookmarks
Linkace
Your self-hosted bookmark archive. Free and open source.
Stars: ✭ 657 (+584.38%)
Mutual labels:  bookmarks
Ultimate Resources Android Devs
Compiled & Curated List of Resources for Android Developers
Stars: ✭ 68 (-29.17%)
Mutual labels:  bookmarks
Bookmarks
🔖 Bookmark app for Nextcloud
Stars: ✭ 575 (+498.96%)
Mutual labels:  bookmarks
Dev tools
一些很实用工具或插件(开发或者日常使用)----慢慢更新ing
Stars: ✭ 41 (-57.29%)
Mutual labels:  bookmarks
Reminiscence
Self-Hosted Bookmark And Archive Manager
Stars: ✭ 1,303 (+1257.29%)
Mutual labels:  bookmarks
Snipit
Snipit allows you to capture and save interesting sections from any source of information. Be it textbooks, journals, computer screens, photographs, flyers, writings on a whiteboard, etc.
Stars: ✭ 70 (-27.08%)
Mutual labels:  bookmarks
Notemarks
A git based labeling app to manage notes, documents, and bookmarks.
Stars: ✭ 61 (-36.46%)
Mutual labels:  bookmarks

Static Marks

Build npm license

Convert your plain bookmark files into a static web app.

YAML to App diagram

  • Share your bookmarks app via a single HTML file.
  • Use with any modern browser.
  • Import bookmarks from Chrome, Firefox or Pocket.
  • It's free and open source.

🔖 View Live Demo

Demo

Static Marks Screencast

Features

  • Use custom browser search engines with a ?search=%s URL param (example).
  • Use custom web page templates. If you don't like the default UI, provide your own (example based on this template).

Quickstart

npm install -g static-marks
  • Create a plain text bookmarks.yml YAML file containing your bookmarks. Alternatively, import your existing browser bookmarks:
static-marks import browser-bookmarks.html > bookmarks.yml
  • Build your bookmarks app:
static-marks build bookmarks.yml > bookmarks.html
  • Open bookmarks.html in your browser.

Installation

This tool requires Node.js version 12+.

  • As a globally available CLI tool:
npm install -g static-marks
  • As a local dependency in your project:
npm install --save static-marks
  • Without installing:
npx static-marks <command>

Usage

static-marks [options] <command>

Options:
  -V, --version               output the version number
  -h, --help                  output usage information

Commands:
  build [options] <files...>  build bookmarks app
  import [options] <file>     import bookmarks from chrome, firefox or pocket
  report <files...>           report bookmarks

Run static-marks <command> --help to view the usage of a specific command.

Build bookmarks app

static-marks build [options] <files...>

Options:
  -o, --output [file]     output to a file (use stdout by default)
  -t, --title [title]     set document title
  --template-file [file]  use a custom web page template

Examples:

static-marks build bookmarks.yml > bookmarks.html  # Single file
static-marks build -o bookmarks.html bookmark.yml  # Alt. notation
static-marks build f1.yml f2.yml > bookmarks.html  # Multiple files
static-marks build files/* > bookmarks.html        # All files at path

Import bookmarks

static-marks import [options] <file>

Options:
  -o, --output [file]  output to a file (use stdout by default)

Examples:

static-marks import exported.html > imported.yml

View a report for your bookmarks

Currently, the report contains only the total bookmarks count. In the future, it might be used for detecting duplicate and dead links.

static-marks report [options] <files...>

Examples:

static-marks report bookmarks.yml
static-marks report files/*

File format

Bookmark files are written in YAML. There are multiple levels of hierarchy:

Collection:
  - Bucket:
      - Link: https://example.com

A link URL can be expressed either as an item property or as a child item:

- Link 1: https://example.com
- Link 2:
    - https://example.com

Notes and nested links are added as children of a link (the first element is the link URL). If the text is a valid-formatted URL it will be automatically converted to a link:

- Link with notes:
    - https://example.com
    - This is a text note
    - Link note: https://example.com
    - https://example.net

First-level notes can be used to describe or structure a bucket:

- Bucket:
    - Link 1: https://example.com
    - Carpe diem!

Here's a complete example:

Collection:
  - Bucket:
      - Link 1: https://example.com
      - Link 2:
          - https://example.com
      - Link with notes:
          - https://example.com
          - This is a text note
          - Link note: https://example.com
      - First-level note

If multiple files are provided to static-marks, they will become selectable via a menu.

Using Static Marks with Gitlab Pages

You can leverage GitLab Pages to host your Static Marks instance. Check out the example repository and a live demo.

  1. Create a new GitLab repository.
  2. Include the example .gitlab-ci.yml file in the root directory.
  3. Add all your bookmark *.yml files in a bookmarks directory.

After every push to the master branch, your Static Marks page will be rebuilt. By default, it will be available at https://<USERNAME>.gitlab.io/<PROJECTNAME>.

Development and Contribution

The frontend part of Static Mark is maintained in another repository, where a template file (_template.html) is being generated. This approach makes it possible to include the whole application and user-defined bookmarks in a single HTML file.

If you want to provide any frontend-related changes, please create a PR in the other repository. Changes to the core CLI application are handled here instead.

Contributors

Thanks goes to these wonderful people:

darekkay gaerfield kaushalyap k-kalinowski g33k247 dzmitry-lahoda diegombeltran veerreshr nausher acer123acer123
jflip e-minguez

This project follows the all-contributors specification to acknowledge all contributions.

License

This project and its contents are open source under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].