readme html doc
This commit is contained in:
parent
cbd811d2c6
commit
118812c504
33
BOOKMARKS
33
BOOKMARKS
@ -1056,26 +1056,19 @@ Tags: css,
|
||||
Date: 1704903444
|
||||
|
||||
URL: https://constantvzw.org/wefts/cc4r.en.html
|
||||
Name: Signet.sh is released under CC4r license
|
||||
Name: signet.sh is released under CC4r license
|
||||
Description: Copyleft Attitude with a difference - version 1.0
|
||||
Tags: license
|
||||
Date: 0
|
||||
Color: pink
|
||||
|
||||
URL: at the top of this page
|
||||
URL: on top of this page
|
||||
Name: The blank line is a search bar
|
||||
Description:
|
||||
Tags: fzf
|
||||
Date: 0
|
||||
Color: darkkhaki
|
||||
|
||||
URL: https://tools.suckless.org/dmenu/
|
||||
Name: It works with dmenu or your own integration
|
||||
Description: a fast and lightweight dynamic menu (MIT/X)
|
||||
Tags: interractive, dmenu
|
||||
Date: 0
|
||||
Color: darkseagreen
|
||||
|
||||
URL: Paste URL from clipboard
|
||||
Name: Add a name or let the tool pick the title of the page for you
|
||||
Description: A description
|
||||
@ -1090,18 +1083,26 @@ Tags: lightblue, #F2C500, rgb(0,255,0)
|
||||
Date: 0
|
||||
Color: lightblue
|
||||
|
||||
URL: https://tools.suckless.org/dmenu/
|
||||
Name: It works with dmenu or your own integration
|
||||
Description: a fast and lightweight dynamic menu (MIT/X)
|
||||
Tags: interractive, dmenu
|
||||
Date: 0
|
||||
Color: darkseagreen
|
||||
|
||||
URL: !
|
||||
Name: A text file based bookmark manager rendered as a web page
|
||||
Description: It is local first, the data lives on your computer and can be then shared elsewhere.
|
||||
Tags: text, shell, awk
|
||||
Description: The bookmarks live on your computer and can be then shared elsewhere.
|
||||
Tags: convivialist, local first
|
||||
Date: 0
|
||||
Color: fuchsia
|
||||
Color: plum
|
||||
|
||||
URL: http://www.g-r-g.fr/
|
||||
Name: Garage de Recherches Graphiques | Home
|
||||
URL: https://git.vvvvvvaria.org/clemtre/signet.sh/
|
||||
Name: → signet.sh
|
||||
Description:
|
||||
Tags: people
|
||||
Date: 1704903917
|
||||
Tags: text, shell, awk, html, css, js
|
||||
Date: 0
|
||||
Color: greenyellow
|
||||
|
||||
URL: http://www.g-r-g.fr/lab/imprimantesanscontact
|
||||
Name: Garage de Recherches Graphiques | Imprimantesanscontact
|
||||
|
22
README.md
22
README.md
@ -11,7 +11,7 @@ called BOOKMARKS or by running the provided script called
|
||||
edit_bookmarks_dmenu.sh (requires dmenu). The script can be ran from the
|
||||
command line but I suggest to bind it to a keystroke combination.
|
||||
|
||||
If you want to try with an example BOOKMARKS database :
|
||||
If you want to try with an example BOOKMARKS database (32kb) :
|
||||
```
|
||||
curl -O https://martinlemaire.fr/signet.sh/BOOKMARKS
|
||||
```
|
||||
@ -79,6 +79,26 @@ Only a Url is required, the rest of the fields are optional :
|
||||
* Date : posix time of the bookmarked link
|
||||
* Color : css color (name, hex, rgb etc...)
|
||||
|
||||
## index.html structure
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>⛵ → $(date "+%g-%m-%d, %H:%M")</title>
|
||||
<script defer src="jquery-3.6.4.js"></script>
|
||||
<script defer src="script.js"></script>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta charset="utf-8" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="cc"></div>
|
||||
<textarea autofocus></textarea>
|
||||
<nav>
|
||||
<p>tag ()</p>
|
||||
<p>tag ()</p>
|
||||
<p>tag ()</p>
|
||||
<p>tag ()</p>
|
||||
<p>tag ()</p>
|
||||
<p>tag ()</p>
|
||||
# Usage
|
||||
## Add a bookmark :
|
||||
|
||||
|
@ -10,9 +10,11 @@ dmenu_style() {
|
||||
echo "-fn $font -nb $normal_bg -nf $normal_fg -sb $selected_bg -sf $selected_fg"
|
||||
}
|
||||
|
||||
# Make it POSIX friendlier and run with #!/bin/sh
|
||||
|
||||
BOOKMARKS="BOOKMARKS"
|
||||
|
||||
local url=$(xclip -o -selection clipboard)
|
||||
url=$(xclip -o -selection clipboard)
|
||||
|
||||
url_regex="^(https?|ftp|file)://[-A-Za-z0-9+&@#/%?=~_|!:,.;]*[-A-Za-z0-9+&@#/%=~_|]"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user