<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: wikis</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/wikis.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2024-10-09T15:22:04+00:00</updated><author><name>Simon Willison</name></author><entry><title>otterwiki</title><link href="https://simonwillison.net/2024/Oct/9/otterwiki/#atom-tag" rel="alternate"/><published>2024-10-09T15:22:04+00:00</published><updated>2024-10-09T15:22:04+00:00</updated><id>https://simonwillison.net/2024/Oct/9/otterwiki/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/redimp/otterwiki"&gt;otterwiki&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
It's been a while since I've seen a new-ish Wiki implementation, and this one by  Ralph Thesen is really nice. It's written in Python (Flask + SQLAlchemy + &lt;a href="https://github.com/lepture/mistune"&gt;mistune&lt;/a&gt; for Markdown + &lt;a href="https://github.com/gitpython-developers/GitPython"&gt;GitPython&lt;/a&gt;) and keeps all of the actual wiki content as Markdown files in a local Git repository.&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://otterwiki.com/Installation"&gt;installation instructions&lt;/a&gt; are a little in-depth as they assume a production installation with Docker or systemd - I figured out &lt;a href="https://github.com/redimp/otterwiki/issues/146"&gt;this recipe&lt;/a&gt; for trying it locally using &lt;code&gt;uv&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;git clone https://github.com/redimp/otterwiki.git
cd otterwiki

mkdir -p app-data/repository
git init app-data/repository

echo "REPOSITORY='${PWD}/app-data/repository'" &amp;gt;&amp;gt; settings.cfg
echo "SQLALCHEMY_DATABASE_URI='sqlite:///${PWD}/app-data/db.sqlite'" &amp;gt;&amp;gt; settings.cfg
echo "SECRET_KEY='$(echo $RANDOM | md5sum | head -c 16)'" &amp;gt;&amp;gt; settings.cfg

export OTTERWIKI_SETTINGS=$PWD/settings.cfg
uv run --with gunicorn gunicorn --bind 127.0.0.1:8080 otterwiki.server:app
&lt;/code&gt;&lt;/pre&gt;

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="https://news.ycombinator.com/item?id=41749680"&gt;Hacker News&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/flask"&gt;flask&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/git"&gt;git&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/python"&gt;python&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/sqlalchemy"&gt;sqlalchemy&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/sqlite"&gt;sqlite&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/markdown"&gt;markdown&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/wikis"&gt;wikis&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/uv"&gt;uv&lt;/a&gt;&lt;/p&gt;



</summary><category term="flask"/><category term="git"/><category term="python"/><category term="sqlalchemy"/><category term="sqlite"/><category term="markdown"/><category term="wikis"/><category term="uv"/></entry><entry><title>Are there any wikis that allow the use of JavaScript on wiki pages?</title><link href="https://simonwillison.net/2011/Jan/10/are-there-any-wikis/#atom-tag" rel="alternate"/><published>2011-01-10T14:24:00+00:00</published><updated>2011-01-10T14:24:00+00:00</updated><id>https://simonwillison.net/2011/Jan/10/are-there-any-wikis/#atom-tag</id><summary type="html">
    &lt;p&gt;&lt;em&gt;My answer to &lt;a href="https://www.quora.com/Are-there-any-wikis-that-allow-the-use-of-JavaScript-on-wiki-pages/answer/Simon-Willison"&gt;Are there any wikis that allow the use of JavaScript on wiki pages?&lt;/a&gt; on Quora&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Such a wiki would be grossly insecure. That said, take a look at TiddlyWiki - it's implemented entirely in client-side JavaScript and allows plugins to be implemented by pasting JavaScript in to a textarea.&lt;/p&gt;
    
        &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/javascript"&gt;javascript&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/quora"&gt;quora&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/wikis"&gt;wikis&lt;/a&gt;&lt;/p&gt;
    

</summary><category term="javascript"/><category term="quora"/><category term="wikis"/></entry><entry><title>InfoWorld: Year of the enterprise Wiki</title><link href="https://simonwillison.net/2005/Jan/6/infoworld/#atom-tag" rel="alternate"/><published>2005-01-06T16:42:57+00:00</published><updated>2005-01-06T16:42:57+00:00</updated><id>https://simonwillison.net/2005/Jan/6/infoworld/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.infoworld.com/article/04/12/30/01FEtoycollab_1.html"&gt;InfoWorld: Year of the enterprise Wiki&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Wikis for business collaboration make a whole ton of sense.

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="http://weblog.infoworld.com/udell/2005/01/06.html"&gt;Jon Udell&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/jon-udell"&gt;jon-udell&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/wikis"&gt;wikis&lt;/a&gt;&lt;/p&gt;



</summary><category term="jon-udell"/><category term="wikis"/></entry><entry><title>Some notes on Wikipedia</title><link href="https://simonwillison.net/2004/Dec/23/wikilove/#atom-tag" rel="alternate"/><published>2004-12-23T00:57:42+00:00</published><updated>2004-12-23T00:57:42+00:00</updated><id>https://simonwillison.net/2004/Dec/23/wikilove/#atom-tag</id><summary type="html">
    &lt;p&gt;I've been driving myself crazy with coursework over the past couple of weeks, and since it's always good to have something to take your mind off things I've also been spending a fair amount of time lurking around the &lt;a href="http://www.tbray.org/ongoing/When/200x/2004/08/31/Wikipedia" title="Tim Bray, eloquent as always"&gt;beautiful&lt;/a&gt; &lt;a href="http://en.wikipedia.org/"&gt;Wikipedia&lt;/a&gt;. Here are a few things about Wikipedia you may have missed:&lt;/p&gt;

&lt;ul&gt;
 &lt;li&gt;It's not just Wikipedia any more; there's also &lt;a href="http://en.wiktionary.org/"&gt;Wiktionary&lt;/a&gt; (a multi-lingual dictionary), &lt;a href="http://en.wikibooks.org/"&gt;Wikibooks&lt;/a&gt; (developing open content books on various topics), &lt;a href="http://en.wikiquote.org/"&gt;Wikiquote&lt;/a&gt; (quotations), &lt;a href="http://wikisource.org/wiki/Main_Page:English"&gt;Wikisource&lt;/a&gt; (a repository of public domain source texts), &lt;a href="http://species.wikipedia.org/wiki/Main_Page"&gt;Wikispecies&lt;/a&gt; (a biological species database), &lt;a href="http://commons.wikimedia.org/"&gt;Wikicommons&lt;/a&gt; (free images and other media) and &lt;a href="http://en.wikinews.org/"&gt;Wikinews&lt;/a&gt; (a new Wikipedia-style news site). Not to mention the huge numbers of projects &lt;a href="http://meta.wikimedia.org/wiki/Complete_list_of_Wikimedia_projects" title="Complete list of Wikimedia projects"&gt;in other languages&lt;/a&gt;.&lt;/li&gt;
 &lt;li&gt;You can view live stat graphs of the &lt;a href="http://wikimedia.org/stats/live/index.org.wikimedia.all.squid.html"&gt;Wikipedia squid cache servers&lt;/a&gt; and see an overview of the &lt;a href="http://zwinger.wikimedia.org/ganglia/"&gt;status of all Wikipedia servers&lt;/a&gt;.&lt;/li&gt;
 &lt;li&gt;Last year's &lt;a href="http://wikimediafoundation.org/wiki/Fundraising"&gt;drive for donations&lt;/a&gt; was mostly spent on new hardware, and &lt;a href="http://meta.wikimedia.org/wiki/Wikimedia_servers#Orders_and_detailed_hardware_descriptions"&gt;a detailed list of hardware orders&lt;/a&gt; is available.&lt;/li&gt;
 &lt;li&gt;Wikipedia's awesome &lt;a href="http://meta.wikimedia.org/wiki/Help:Formula" title="Help:Formula"&gt;TeX engine&lt;/a&gt; for presenting mathematical formulae may soon be expanded to support rendering of musical scores, SVG graphics, chemical formulae and more, thanks to the brilliant &lt;a href="http://wikisophia.org/wiki/Wikitex"&gt;Wikitex&lt;/a&gt; module for &lt;a href="http://wikipedia.sourceforge.net/"&gt;MediaWiki&lt;/a&gt;.&lt;/li&gt;
 &lt;li&gt;Wikisource has a &lt;a href="http://wikisource.org/wiki/Author:H._P._Lovecraft"&gt;bunch of stories&lt;/a&gt; by H. P. Lovecraft!&lt;/li&gt;
 &lt;li&gt;Wikipedia's &lt;a href="http://en.wikipedia.org/wiki/Periodic_table_%28standard%29"&gt;Periodic table&lt;/a&gt; links to detailed descriptions of every single element.&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://kohl.wikimedia.org/cgi-bin/rcdumper"&gt;Live recent changes feed&lt;/a&gt; is a page that shows edits to Wikipedia &lt;em&gt;in real time&lt;/em&gt;. It works by keeping the HTTP connection to your browser open and sending updates packaged as JavaScript calls (I think this is the same trick used by &lt;a href="http://cgiirc.sourceforge.net/"&gt;CGI:IRC&lt;/a&gt;).&lt;/li&gt;
 &lt;li&gt;The channel &lt;samp&gt;#enrc.wikipedia&lt;/samp&gt; on &lt;samp&gt;irc.freenode.net&lt;/samp&gt; carries a bot-produced live feed of recent changes to Wikipedia. Edits occur so frequently that the bot had to be split in to five to avoid being flooded off the channel!&lt;/li&gt;
 &lt;li&gt;Wikipedia has a huge &lt;a href="http://en.wikipedia.org/wiki/Wikipedia:Vandalism_in_progress"&gt;vandalism problem&lt;/a&gt;, but malicious edits are cleared up so fast that you'd be hard pressed to spot it.&lt;/li&gt;
 &lt;li&gt;The Wikimedia foundation has an attractive quarterly newsletter, the &lt;a href="http://wikimediafoundation.org/wiki/Wikimedia_Quarto"&gt;Wikimedia Quarto&lt;/a&gt;. September's issue includes an &lt;a href="http://wikimediafoundation.org/wiki/Wikimedia_Quarto/0409/En-5"&gt;interview with Ward Cunningham&lt;/a&gt;.&lt;/li&gt;
 &lt;li&gt;Wikipedia provides a great way to sharpen your language skills; not only does Wikibooks have guides to teaching yourself &lt;a href="http://en.wikibooks.org/wiki/French"&gt;French&lt;/a&gt; and &lt;a href="http://en.wikibooks.org/wiki/German"&gt;German&lt;/a&gt; (among &lt;a href="http://en.wikibooks.org/wiki/Languages_bookshelf" title="Languages bookshelf"&gt;others&lt;/a&gt;) but the multi-lingual versions of Wikipedia provide excellent practise in reading comprehension. Compare the &lt;a href="http://en.wikipedia.org/wiki/Bath" title="Bath, in English"&gt;English&lt;/a&gt; and &lt;a href="http://fr.wikipedia.org/wiki/Bath" title="Bath, in French"&gt;French&lt;/a&gt; entries on Bath, for example.&lt;/li&gt;
 &lt;li&gt;The Wikimedia foundation recently received a small grant to develop a &lt;a href="http://meta.wikimedia.org/wiki/Wikijunior" title="Wikijunior"&gt;series of children's books&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The deeper I dig in to Wikipedia, the more amazed I become. I see it as more than just a collaborative encyclopaedia; it's a testament to humanity's ability to work together for the greater good. I guess you could say I'm in &lt;a href="http://en.wikipedia.org/wiki/Wikipedia:WikiLove"&gt;WikiLove&lt;/a&gt; :)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; Fixed links, thanks to corrections posted in the comments. If this entry had been a wiki page, people could have fixed them themselves...&lt;/p&gt;
    
        &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/tim-bray"&gt;tim-bray&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ward-cunningham"&gt;ward-cunningham&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/wikipedia"&gt;wikipedia&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/wikis"&gt;wikis&lt;/a&gt;&lt;/p&gt;
    

</summary><category term="tim-bray"/><category term="ward-cunningham"/><category term="wikipedia"/><category term="wikis"/></entry><entry><title>Ward talks Wiki</title><link href="https://simonwillison.net/2003/Oct/22/wardTalksWiki/#atom-tag" rel="alternate"/><published>2003-10-22T19:31:02+00:00</published><updated>2003-10-22T19:31:02+00:00</updated><id>https://simonwillison.net/2003/Oct/22/wardTalksWiki/#atom-tag</id><summary type="html">
    &lt;p&gt;Artima have published the first installment of Bill Venners' &lt;a href="http://www.artima.com/intv/wiki.html"&gt;Conversation with Ward Cunningham&lt;/a&gt;, which focuses on the Wiki. When &lt;a href="http://www.artima.com/intv/wiki2.html" title="Page 2: Getting the Big Picture"&gt;asked&lt;/a&gt; how readers can get a bigger picture of what is going on in a Wiki, Ward responds with this:&lt;/p&gt;

&lt;blockquote cite="http://www.artima.com/intv/wiki2.html"&gt;&lt;p&gt;The first thing you have to understand is that because we made wiki easier for authors, we actually made it harder for readers. There is an organization there, and the organization can be improved, but it isn't highly organized. So the feeling for a reader is one of foraging in a wilderness for tidbits of information. You stumble across some great ones and you say, "This is fantastic, why doesn't somebody just make a list of all the great pieces so I don't have to look at the rest." In other words, "Why doesn't somebody organize this so I can get answers to my questions quickly?" Sooner or later they realize, "Gee, I could do that." They put in a month or two of finding what they care about, and then they make a page, which is their take on what the organization of wiki is.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;I think this goes a long way to explaining why a lot of people dislike the Wiki format.&lt;/p&gt;
    
        &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/ward-cunningham"&gt;ward-cunningham&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/wikis"&gt;wikis&lt;/a&gt;&lt;/p&gt;
    

</summary><category term="ward-cunningham"/><category term="wikis"/></entry></feed>