Return-Path: X-Original-To: python-announce-list@python.org Delivered-To: python-announce-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'offline': 0.03; 'url:pypi': 0.03; 'static': 0.04; 'conventions': 0.07; 'json': 0.07; 'pypi': 0.07; '[1]:': 0.09; '[2]:': 0.09; '[3]:': 0.09; 'subject:build': 0.09; 'subject:using': 0.09; 'url:github': 0.09; 'url:blog': 0.10; 'cheers': 0.12; 'mostly': 0.14; '[4]:': 0.16; 'finds': 0.16; 'gpg': 0.16; 'to:addr:python-announce-list': 0.16; 'basically': 0.19; 'everyone,': 0.19; 'source': 0.25; 'downloaded': 0.26; 'idea': 0.28; '[1]': 0.29; 'thus': 0.29; '[2]': 0.30; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'posting': 0.31; 'bunch': 0.31; 'file': 0.32; 'run': 0.32; 'url:python': 0.33; 'minimal': 0.33; 'basic': 0.35; 'info': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'templates': 0.36; 'url:org': 0.36; 'so,': 0.37; 'list': 0.37; 'embedded': 0.39; 'hosted': 0.39; 'to:addr:python.org': 0.39; 'here': 0.66; 'ships': 0.84; 'lot,': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=ulmR7+ZwTncgMgihncKF2dzw3F5EvpvG3Wiv4P8+RuI=; b=zzTeTOF3kKRPzXwpXjg1nyPXdS5m2ejK86Vm0WiOrtNZ8zWqKKh2zNDAibBkBO3mE5 rlQfYgjSj3LCB5HZdaFcsK4Jr21TEsdrVjAaSDtkfIR05K+AdeIY7YrXfED4nrd7mxFk 6Mt96zxh5w97/u98aJB8jtGlO+bdxqOP61NPKomuSIF+gYut/DblheVZILV0coJPt3wD 29pUM/bmHihtPzQfrBql7IUOT/vF+vX/j2SlCn1AZeibIjAXcsVZ5Vn7fH8roLK9B8id lkC4BCrmjHAwjWnG768KYrAUbSmtTToN2XUlq5gNHI4bLdLTRv0FnFTVAFS/Vt3pt+fD vsRw== X-Received: by 10.49.41.104 with SMTP id e8mr16602217qel.1.1386877419827; Thu, 12 Dec 2013 11:43:39 -0800 (PST) MIME-Version: 1.0 From: Tasos Latsas Date: Thu, 12 Dec 2013 21:43:19 +0200 Subject: wigiki - build static html sites using github gists as pages To: python-announce-list@python.org Content-Type: text/plain; charset=UTF-8 X-Mailman-Approved-At: Fri, 13 Dec 2013 09:41:46 +0100 X-BeenThere: python-announce-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: python-list@python.org List-Id: Announcement-only list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Approved: python-announce-list@python.org Newsgroups: comp.lang.python.announce Message-ID: Lines: 31 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1386924108 news.xs4all.nl 2968 [2001:888:2000:d::a6]:46329 X-Complaints-To: abuse@xs4all.nl Path: csiph.com!usenet.pasdenom.info!news.stben.net!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Xref: csiph.com comp.lang.python.announce:1160 Hello everyone, Posting here in case someone else finds this interesting. Wigiki is still work in progress (version 0.6) but is currently usable. I use Github's Gists a lot, mostly for note-taking and I wanted a painless way to group some of these notes into a wiki-like site. So, the main idea is that you write a json file with a list of gist ids and some other info and then run wigiki to build a static html site. The gists are not currently downloaded but they are embedded [1] thus the generated site is not suitable for offline reading. It ships with a very basic and minimal theme but I have also started working on a bootstrap-based one. A theme is basically a bunch of jinja2 templates following some conventions so that other people can hack/contribute themes. Wigiki source code [2] and documentation [3] are hosted on github. You can download from there or from pypi [4]. Cheers [1]: https://github.com/blog/122-embedded-gists [2]: https://github.com/tlatsas/wigiki [3]: http://tlatsas.github.io/wigiki/ [4]: https://pypi.python.org/pypi/wigiki -- Tasos Latsas GPG Key : 0x414301DF