module
0.0.0-20241212111732-f335ca61657a
Repository: https://github.com/teddydd/scrapbox.git
Documentation: pkg.go.dev
# README
scrapbox
Utils that don't deserve separate repo
httpwd
Create password credentials for htaccess and htpasswd files. Only bcrypt.
md2html
Convert markdown from stdint to html.Uses goldmark
psub
Standalone implementation of Fish shell psub
diff $(sort file1 | psub) $(sort file2 | psub)
# more or less equals
diff <(sort file1) <(sort file2)
Walk
Walk directory tree outputting paths to stdout.
nanoid
Generate nanoid
nanoid -c 16 # 0WDx0Y8QReDJpFzo
tg
Like jo but for HTML
$ tg p This is paragraph of $(tg -a class=foo b text)
<p>
This is paragraph of
<b class="foo" >
text
<b/>
<p/>
$ tg !DOCTYPE -a html | tg html $(tg head | tg body $(tg p hello world))
# ...
# Basic HTML5 template
$ tg p hello world | tg -b -t example
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
example
</title>
</head>
<body>
<p>
hello world
</p>
</body>
</html>
# Packages
No description provided by the author