An open API service indexing awesome lists of open source software.

https://github.com/dflock/gtg2zim

Exports GTG tasks to Zim Desktop Wiki pages.
https://github.com/dflock/gtg2zim

Last synced: 10 months ago
JSON representation

Exports GTG tasks to Zim Desktop Wiki pages.

Awesome Lists containing this project

README

          




html, body {
color: black;
}

* {
margin: 0;
padding: 0;
}

body {
font: 13.34px helvetica,arial,freesans,clean,sans-serif;
-webkit-font-smoothing: antialiased;
line-height: 1.4;
padding: 3px;
background: #fff;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}

p {
margin: 1em 0;
}

a {
color: #4183c4;
text-decoration: none;
}

em em {
font-style: normal;
}

#wrapper {
background-color: #fff;
border: 3px solid #eee !important;
padding: 0 30px;
/*margin: 15px;*/
max-width: 700px;
margin: 15px auto;
}

#wrapper {
font-size: 14px;
line-height: 1.6;
}

#wrapper>*:first-child {
margin-top: 0!important;
}

#wrapper>*:last-child {
margin-bottom: 0!important;
}

h1,h2,h3,h4,h5,h6 {
margin: 0;
padding: 0;
}

h1 {
margin: 15px 0;
padding-bottom: 2px;
font-size: 24px;
border-bottom: 1px solid #eee;
}

h2 {
margin: 20px 0 10px 0;
font-size: 18px;
}

h3 {
margin: 20px 0 10px 0;
padding-bottom: 2px;
font-size: 14px;
border-bottom: 1px solid #ddd;
}

h4 {
font-size: 14px;
line-height: 26px;
padding: 18px 0 4px;
font-weight: bold;
text-transform: uppercase;
}

h5 {
font-size: 13px;
line-height: 26px;
padding: 14px 0 0;
font-weight: bold;
text-transform: uppercase;
}

h6 {
color: #666;
font-size: 14px;
line-height: 26px;
padding: 18px 0 0;
font-weight: normal;
font-variant: italic;
}

hr {
background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAECAYAAACtBE5DAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZ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AAIMAHNGAzhkPOlYAAAAAElFTkSuQmCC) repeat-x 0 0;border: 0 none;
color: #ccc;
height: 4px;
margin: 20px 0;
padding: 0;
}

#wrapper>h2:first-child,#wrapper>h1:first-child,#wrapper>h1:first-child+h2 {
border: 0;
margin: 0;
padding: 0;
}

#wrapper>h3:first-child,#wrapper>h4:first-child,#wrapper>h5:first-child,#wrapper>h6:first-child {
margin: 0;
padding: 0;
}

h4+p,h5+p,h6+p {
margin-top: 0;
}

li p.first {
display: inline-block;
}

ul,ol {
margin: 15px 0 15px 25px;
}

ul li,ol li {
margin-top: 7px;
margin-bottom: 7px;
}

ul li>*:last-child,ol li>*:last-child {
margin-bottom: 0;
}

ul li>*:first-child,ol li>*:first-child {
margin-top: 0;
}

#wrapper>ul,#wrapper>ol {
margin-top: 21px;
margin-left: 36px;
}

dl {
margin: 0;
padding: 10px 1em 10px;
}

dl dt {
font-size: 14px;
font-weight: bold;
line-height: normal;
margin: 0;
padding: 5px 0 5px;
}

dl dd {
font-size: 13px;
margin: 0;
padding: 0px 1em 0;
}

blockquote {
margin: 14px 0;
border-left: 4px solid #ddd;
padding-left: 11px;
color: #555;
}

tbody {
display: table-row-group;
}

tfoot {
display: table-footer-group;
}

table {
margin-bottom: 2em;
padding: 0;
font-size: 14px;
border-collapse: collapse;

-webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, .35);
-moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, .35);
box-shadow: 1px 1px 2px rgba(0, 0, 0, .35);
width: 70%;
margin: 0 auto 2em auto;
}

table th,table td {
padding: 10px 10px 9px;
line-height: 18px;
text-align: left;
}

table th {
padding-top: 9px;
font-family: LeagueGothic;
font-size: 18px;
font-weight: normal !important;
text-transform: uppercase;
vertical-align: middle;
}

table td {
vertical-align: top;
border-top: 1px solid #ddd;
font-family: fjord,georgia,serif;
font-size: 14px !important;
}

table tbody th {
border-top: 1px solid #ddd;
vertical-align: top;
}

table {
border: 1px solid #ddd;
border-collapse: separate;
*border-collapse: collapse; /* IE7, collapse table to remove spacing */

-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}

table th + th,table td + td,table th + td {
border-left: 1px solid #ddd;
}

table thead tr:first-child th:first-child,table tbody tr:first-child td:first-child {
-webkit-border-radius: 4px 0 0 0;
-moz-border-radius: 4px 0 0 0;
border-radius: 4px 0 0 0;
}

table thead tr:first-child th:last-child,table tbody tr:first-child td:last-child {
-webkit-border-radius: 0 4px 0 0;
-moz-border-radius: 0 4px 0 0;
border-radius: 0 4px 0 0;
}

table tbody tr:last-child td:first-child {
-webkit-border-radius: 0 0 0 4px;
-moz-border-radius: 0 0 0 4px;
border-radius: 0 0 0 4px;
}

table tbody tr:last-child td:last-child {
-webkit-border-radius: 0 0 4px 0;
-moz-border-radius: 0 0 4px 0;
border-radius: 0 0 4px 0;
}

tbody tr:nth-child(odd) {
background-color: rgba(0,0,0,0.03);
}

img {
max-width: 100%;
height: auto
}

p code, p tt {
margin: 0 2px;
padding: 2px 5px;
white-space: nowrap;
border: 1px solid #ccc;
background-color: #f8f8f8;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
font-size: 12px
}

pre>code {
margin: 0;
padding: 0;
white-space: pre;
border: none;
background: transparent;
font-size: 13px
}

#wrapper>pre {
background-color: #f8f8f8;
border: 1px solid #ccc;
font-size: 13px;
line-height: 19px;
overflow: auto;
padding: 6px 10px;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}

#wrapper>pre,#wrapper>div.highlight {
margin: 10px 0 0;
}

pre code,pre tt {
background-color: transparent;
border: none;
}

#wrapper {
background-color: #fff;
border: 1px solid #CACACA;
padding: 30px;
}

pre.poetry {
font-family: Georgia, Garamond, serif !important;
font-style: italic;
font-size: 110% !important;
line-height: 1.6em;
display: block;
margin-left: 1em;
}

pre.poetry code {
font-family: Georgia, Garamond, serif !important;
word-break: break-all;
word-break: break-word; /* Non standard for webkit */
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
white-space: pre-wrap;
}

sup,sub,a.footnote {
font-size: 1.4ex;
height: 0;
line-height: 1;
vertical-align: super;
position: relative;
}

sub {
vertical-align: sub;
top: -1px;
}

@media print {
body {
background: #fff;
}

img, pre, blockquote, table, figure {
page-break-inside: avoid
}

#wrapper {
background: #fff;
border: none;
}

code {
background-color: #fff;
color: #444!important;
padding: 0 .2em;
border: 1px solid #DEDEDE;
}

pre code {
background-color: #fff!important;
overflow: visible;
}

pre {
background: #fff;
}
}

@media screen {

::selection {
background: rgba(157, 193, 200,.5)
}

h1::selection {
background-color: rgba(45, 156, 208, .3)
}

h2::selection {
background-color: rgba(90, 182, 224, .3)
}

h3::selection,
h4::selection,
h5::selection,
h6::selection,li::selection,ol::selection {
background-color: rgba(133, 201, 232, .3)
}

code::selection {
background-color: rgba(0,0,0,.7);
color: #eee
}

code span::selection {
background-color: rgba(0,0,0,.7) !important;
color: #eee !important
}

a::selection {
background-color: rgba(255, 230, 102,.2)
}

td::selection,th::selection,caption::selection {
background-color: rgba(180, 237, 95, .5);
}
}

em em {
font-style: normal;
}

#criticnav {
position: fixed;
top: 0;
left: 0;
width: 100%;
box-shadow: 0 1px 1px 1px #777;
margin: 0;
padding: 0;
background-color: white;
font-size: 12px;
}

#criticnav ul {
list-style-type: none;
width: 90%;
margin: 0 auto;
padding: 0;
}

#criticnav ul li {
display: block;
width: 33%;
text-align: center;
padding: 10px 0 5px!important;
margin: 0 !important;
line-height: 1em;
float: left;
border-left: 1px solid #ccc;
text-transform: uppercase;
}

#criticnav ul li:before {
content: none !important;
}

#criticnav ul li#edited-button {
border-right: 1px solid #ccc;
}

#criticnav ul li.active {
background-image: -webkit-linear-gradient(top, white, #cccccc)
}

.original del {

text-decoration: none;
}

.original ins,
.original span.popover,
.original ins.break {
display: none;
}

.edited ins {

text-decoration: none;
}

.edited del,
.edited span.popover,
.edited ins.break {
display: none;
}

.original mark,
.edited mark {
background-color: transparent;
}

.markup mark {
background-color: #fffd38;
text-decoration: none;
}

.markup del {
background-color: #f6a9a9;
text-decoration: none;
}

.markup ins {
background-color: #a9f6a9;
text-decoration: none;
}

.markup ins.break {
display: block;
line-height: 2px;
padding: 0 !important;
margin: 0 !important;
}

.markup ins.break span {
line-height: 1.5em;
}

.markup .popover {
background-color: #4444ff;
color: #fff;
}

.markup .popover .critic.comment {
display: none;
}

.markup .popover:hover span.critic.comment {
display: block;
position: absolute;
width: 200px;
left: 30%;
font-size: 0.8em;
color: #ccc;
background-color: #333;
z-index: 10;
padding: 0.5em 1em;
border-radius: 0.5em;
}

GtG2Zim


Exports GTG tasks to Zim Desktop Wiki pages.


Usage:


GtG2Zim - Exports GTG tasks to Zim Desktop Wiki pages.

Usage:
gtg2zim.py TAG [-o PATH]
gtg2zim.py (-h | --help)
gtg2zim.py --version

Arguments:
TAG The GTG Tag to filter by - only export tasks with this tag

Options:
-o PATH, --output=PATH The output folder to save the Zim pages to. [default: ./]
-h --help Show this screen.
--version Show version.