Add icon, tweak example config, update README
This commit is contained in:
parent
1d0c97cc94
commit
75c781fbf0
@ -5,7 +5,7 @@ A utility to create and upload quick markdown posts to static websites. Specify
|
||||
Right now this script has no data validation or error handling, and it doesn't sanitize input. If you screw up something in your front matter and your site fails to build, it will fail silently.
|
||||
|
||||
## Usage
|
||||
Clone the repo, update `./config/config.json` per your requirements, cd into `./Poaster` and run `ruby ./poaster`.
|
||||
Clone the repo, create `./config/config.json` per your requirements, cd into `./Poaster` and run `ruby ./poaster`.
|
||||
|
||||
## Config
|
||||
The config object must contain the following keys:
|
||||
|
@ -18,9 +18,9 @@
|
||||
"name": "time"
|
||||
}
|
||||
],
|
||||
"postDirectory": ""
|
||||
"postDirectory": "/home/me/my-website/now-burning/"
|
||||
}
|
||||
],
|
||||
"uploadCommand": "",
|
||||
"siteDirectory": ""
|
||||
"uploadCommand": "rsync ...",
|
||||
"siteDirectory": "/home/me/my-website/"
|
||||
}
|
151
poaster_icon.svg
Normal file
151
poaster_icon.svg
Normal file
@ -0,0 +1,151 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="47.380001mm"
|
||||
height="44.400002mm"
|
||||
viewBox="0 0 47.379998 44.400001"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
xml:space="preserve"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"><defs
|
||||
id="defs1"><linearGradient
|
||||
id="linearGradient25"><stop
|
||||
style="stop-color:#3d3d3d;stop-opacity:0.68829763;"
|
||||
offset="0"
|
||||
id="stop25" /><stop
|
||||
style="stop-color:#3d3d3d;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop26" /></linearGradient><linearGradient
|
||||
id="linearGradient17"><stop
|
||||
style="stop-color:#e39f9f;stop-opacity:1;"
|
||||
offset="0.2418005"
|
||||
id="stop18" /><stop
|
||||
style="stop-color:#ffffff;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop17" /></linearGradient><linearGradient
|
||||
id="linearGradient15"><stop
|
||||
style="stop-color:#696969;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop16" /><stop
|
||||
style="stop-color:#000000;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop15" /></linearGradient><linearGradient
|
||||
id="linearGradient13"><stop
|
||||
style="stop-color:#ffffff;stop-opacity:0;"
|
||||
offset="0.20648703"
|
||||
id="stop14" /><stop
|
||||
style="stop-color:#ffffff;stop-opacity:0.37068471;"
|
||||
offset="1"
|
||||
id="stop13" /></linearGradient><linearGradient
|
||||
id="a"
|
||||
y1="17"
|
||||
y2="31"
|
||||
x1="40"
|
||||
x2="54"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(22,-26)"><stop
|
||||
stop-color="#060606"
|
||||
id="stop1" /><stop
|
||||
offset="1"
|
||||
stop-opacity="0"
|
||||
id="stop2" /></linearGradient><linearGradient
|
||||
id="b"
|
||||
y1="392.35999"
|
||||
y2="336.35999"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x2="0"
|
||||
gradientTransform="translate(-26,-358.36)"><stop
|
||||
stop-color="#ffffff"
|
||||
stop-opacity="0"
|
||||
id="stop3" /><stop
|
||||
offset="1"
|
||||
stop-color="#ffffff"
|
||||
stop-opacity=".2"
|
||||
id="stop4" /></linearGradient><path
|
||||
id="c"
|
||||
d="M 32,35 V -23 H 62 L 76,-9 V 35 H 62 Z" /><linearGradient
|
||||
xlink:href="#linearGradient13"
|
||||
id="linearGradient14"
|
||||
x1="83.656845"
|
||||
y1="121.18259"
|
||||
x2="113.76315"
|
||||
y2="91.076279"
|
||||
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||
xlink:href="#linearGradient15"
|
||||
id="linearGradient16"
|
||||
x1="116.89544"
|
||||
y1="99.943977"
|
||||
x2="123.10123"
|
||||
y2="109.87531"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-1.0583333,-1.199468)" /><linearGradient
|
||||
xlink:href="#linearGradient17"
|
||||
id="linearGradient18"
|
||||
x1="95.091324"
|
||||
y1="106.76978"
|
||||
x2="102.32864"
|
||||
y2="79.75975"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(57.810917,-7.9392441)" /><linearGradient
|
||||
xlink:href="#linearGradient25"
|
||||
id="linearGradient26"
|
||||
x1="98.914108"
|
||||
y1="92.710625"
|
||||
x2="98.914108"
|
||||
y2="89.555305"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.0853404,0,0,2.2724088,-8.4413734,-117.96581)" /></defs><g
|
||||
id="layer1"
|
||||
transform="translate(-77.474104,-74.93708)"><g
|
||||
id="g30"
|
||||
transform="translate(0.05558062,-0.215426)"><g
|
||||
id="g23"
|
||||
transform="translate(-57.606813,7.3851119)"><rect
|
||||
style="fill:url(#linearGradient18);fill-opacity:1;stroke:#3c3c3c;stroke-width:3.78354;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:stroke markers fill"
|
||||
id="rect19"
|
||||
width="25.660978"
|
||||
height="31.324169"
|
||||
x="143.69043"
|
||||
y="69.663422"
|
||||
ry="0" /><path
|
||||
fill="#6c7a89"
|
||||
d="m 147.69405,74.426829 v 8.82685 h 2.20673 v -5.708766 l 2.20673,2.206714 2.20668,-2.206714 v 5.708766 h 2.20673 v -8.82685 h -2.20673 l -2.20451,2.204505 -2.20448,-2.204505 z m 13.24028,0 v 4.413425 h -2.20668 l 3.31007,4.413425 3.31007,-4.413425 h -2.20673 v -4.413425 z"
|
||||
id="path1"
|
||||
style="display:inline;fill:#3d3d3d;fill-opacity:1;stroke-width:1.10336" /></g><rect
|
||||
style="fill:url(#linearGradient26);stroke:none;stroke-width:5.94189;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:stroke markers fill"
|
||||
id="rect24"
|
||||
width="27.850897"
|
||||
height="7.1701679"
|
||||
x="84.988655"
|
||||
y="85.540451"
|
||||
ry="0" /><g
|
||||
id="g24"><path
|
||||
d="m 86.205074,92.71062 c -4.865857,0 -8.783443,3.917586 -8.783443,8.78344 v 4.62814 c 0,0.0342 1.3e-4,0.0687 5.17e-4,0.10284 -3.87e-4,0.0248 -5.17e-4,0.0495 -5.17e-4,0.0744 v 8.6062 c 0,2.57207 2.07054,4.64261 4.642611,4.64261 h 33.291508 c 2.57207,0 4.64261,-2.07054 4.64261,-4.64261 v -8.6062 c 0,-0.0249 -1.3e-4,-0.0496 -5.2e-4,-0.0744 3.9e-4,-0.0341 5.2e-4,-0.0686 5.2e-4,-0.10284 v -4.62814 c 0,-4.865854 -3.91707,-8.78344 -8.78293,-8.78344 z"
|
||||
style="display:inline;fill:#db3333;fill-opacity:1;stroke-width:0.254915;stroke-linecap:round;stroke-linejoin:round;paint-order:stroke markers fill"
|
||||
id="path12" /><rect
|
||||
style="display:inline;fill:#861717;fill-opacity:1;stroke:none;stroke-width:3.24967;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:stroke markers fill"
|
||||
id="rect16"
|
||||
width="3.0442932"
|
||||
height="15.520646"
|
||||
x="115.22038"
|
||||
y="99.758194"
|
||||
ry="1.0045962" /><path
|
||||
fill="#723838"
|
||||
color="#000000"
|
||||
stroke-width="3.54031"
|
||||
d="m 95.009034,95.684247 v 3.54033 h 1.770131 v -3.54033 z m 5.310456,0 v 3.54033 h 1.77013 v -3.54033 z m 6.86289,1.75956 -1.5808,2.665843 1.54889,0.88506 1.58079,-2.720693 z m -17.283831,0.12043 -1.493954,0.88506 1.639141,2.665903 1.494021,-0.88513 z m 1.570156,3.430543 -3.540322,3.54033 10.62092,12.39105 10.620907,-12.39112 -3.54026,-3.54033 z m 0.775344,1.7702 h 5.421988 v 1.77006 h -7.192186 z m 7.192119,0 h 5.421982 l 1.77013,1.77013 h -7.192112 z m -7.689546,3.54026 h 5.919415 v 6.88061 z m 7.689546,0 h 5.919412 l -5.919412,6.88061 z"
|
||||
id="path1-8"
|
||||
style="fill:#341a1a;fill-opacity:1" /><path
|
||||
d="m 86.205074,92.71062 c -4.865857,0 -8.783443,3.917586 -8.783443,8.78344 v 4.62814 c 0,0.0342 1.3e-4,0.0687 5.17e-4,0.10284 -3.87e-4,0.0248 -5.17e-4,0.0495 -5.17e-4,0.0744 v 8.6062 c 0,2.57207 2.07054,4.64261 4.642611,4.64261 h 33.291508 c 2.57207,0 4.64261,-2.07054 4.64261,-4.64261 v -8.6062 c 0,-0.0249 -1.3e-4,-0.0496 -5.2e-4,-0.0744 3.9e-4,-0.0341 5.2e-4,-0.0686 5.2e-4,-0.10284 v -4.62814 c 0,-4.865854 -3.91707,-8.78344 -8.78293,-8.78344 z"
|
||||
style="display:inline;fill:url(#linearGradient14);fill-opacity:1;stroke-width:0.254915;stroke-linecap:round;stroke-linejoin:round;paint-order:stroke markers fill"
|
||||
id="path13" /><rect
|
||||
style="fill:url(#linearGradient16);fill-opacity:1;stroke-width:0.264583;stroke-linecap:round;stroke-linejoin:round;paint-order:stroke markers fill"
|
||||
id="rect2"
|
||||
width="11.710845"
|
||||
height="4.8795238"
|
||||
x="113.08457"
|
||||
y="101.27039"
|
||||
ry="2.4397619" /></g></g></g></svg>
|
After Width: | Height: | Size: 7.3 KiB |
Loading…
x
Reference in New Issue
Block a user