From: Ron G. <ro...@fl...> - 2009-02-21 18:28:02
|
Gents, I've written a small experimental wiki called µWiki (pronounced micro- wiki) that uses code that you've written: markdown.py, showdown, Yaro and Selector. The wiki itself is only about 100 LOC. More information can be found here: http://www.flownet.com/ron/code/uwiki.html This is an alpha-test version. Any comments, feedback or suggestions any of you may have would be much appreciated. Thanks, Ron Garret ro...@fl... |
From: Yuri T. <qar...@gm...> - 2009-02-21 18:52:22
|
Sounds like fun! Can you put up a demo online and perhaps add more documentation? Does the wiki use markdown.py and showdown in combination, or does the user choose between the two? - yuri On Sat, Feb 21, 2009 at 10:27 AM, Ron Garret <ro...@fl...> wrote: > Gents, > I've written a small experimental wiki called µWiki (pronounced micro-wiki) > that uses code that you've written: markdown.py, showdown, Yaro and > Selector. The wiki itself is only about 100 LOC. More information can be > found here: > http://www.flownet.com/ron/code/uwiki.html > This is an alpha-test version. Any comments, feedback or suggestions any of > you may have would be much appreciated. > Thanks, > Ron Garret > ro...@fl... > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Python-markdown-discuss mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-markdown-discuss > > -- http://spu.tnik.org/ |
From: Ron G. <ro...@fl...> - 2009-02-21 19:12:16
|
On Feb 21, 2009, at 10:52 AM, Yuri Takhteyev wrote: > Sounds like fun! Can you put up a demo online and perhaps add more > documentation? There's no authentication built in yet, so I'm a tad leery about leaving a public demo running. It's a pretty big security hole. But it takes literally less than a minute to get it up and running on your system. Download, unpack, run driver.py, and point a browser at localhost:8080. There are (or at least should be) no external dependencies other than Python. > Does the wiki use markdown.py and showdown in combination, or does the > user choose between the two? It uses markdown on the back-end and showdown to provide a live update as you edit. It's really pretty cool. rg |
From: Yuri T. <qar...@gm...> - 2009-02-21 20:34:26
|
> There's no authentication built in yet, so I'm a tad leery about leaving a > public demo running. Actually, the main missing feature is revision control, if you ask me. A wiki can still be useful without authentication, but a wiki without revision control cannot be of any practical use, IMHO. What is your goal? Are you looking to build something that could be used as a wiki in practice? If so, I am guessing it won't stay <100 LOC for long. One can do a basic wiki in <100 LOC (actually, one can do that in just 5), but I don't believe one can do a practical wiki in under 500. I went through all of this with Sputnik over the past year and a half. It started with the goal of being small, 1000 LOC written in one evening, but then there is always one next feature that people can't live without. You need authentication, you need permissions, you need configuration, etc. I had to redefine "small" as meaning "small relative to what it can do". :) - yuri -- http://spu.tnik.org/ |
From: Ron G. <ro...@fl...> - 2009-02-21 23:25:19
|
On Feb 21, 2009, at 12:34 PM, Yuri Takhteyev wrote: >> There's no authentication built in yet, so I'm a tad leery about >> leaving a >> public demo running. > > Actually, the main missing feature is revision control, if you ask me. > A wiki can still be useful without authentication, but a wiki without > revision control cannot be of any practical use, IMHO. > > What is your goal? Are you looking to build something that could be > used as a wiki in practice? If so, I am guessing it won't stay <100 > LOC for long. One can do a basic wiki in <100 LOC (actually, one can > do that in just 5), but I don't believe one can do a practical wiki in > under 500. > > I went through all of this with Sputnik over the past year and a half. > It started with the goal of being small, 1000 LOC written in one > evening, but then there is always one next feature that people can't > live without. You need authentication, you need permissions, you need > configuration, etc. I had to redefine "small" as meaning "small > relative to what it can do". :) At this point it's more of an exercise than anything else. But the long-term goal is to have a wiki written in Python to be part of a larger system. I tried MoinMoin and Trac and neither one met my needs. Architecturally the goal is to make it as modular as possible. If you look at the source code you will see that the filestore is already separated. The interface is just a dictionary, and in fact you can stick a Python dictionary in place of the fdict objects and it will work. (You will lose all the state as soon as you quit the process, so this is only good for testing and demo purposes.) I have a modular authentication system all ready to plug in as well, but that currently relies on MySQL and I wanted to minimize dependencies in the first release. I agree that revision control is crucial, I just haven't settled on a design yet. In particular, I haven't decided whether on not to punt on conflict resolution, which is a whole can o' worms in an of itself. My plan was to add a MySQL storage engine, and then use that for revision control. I could also extend fdicts to keep track of revisions. As long as you're willing to punt on conflict resolution (which for small groups I think is not an unreasonable tradeoff) it can stay pretty simple. rg |
From: Ron G. <ro...@fl...> - 2009-04-04 20:11:50
|
Gents, I've just released µWiki version 0.2. The main change from 0.1 is that it now has revision control (based on Bazaar's merge3 code). Also, it no longer uses markdown.py (sorry guys). All markdown-to- html conversion is now done in Javascript using Showdown. This is so I don't have to maintain two parallel converters to support syntax extensions. Comments and feedback are welcome. rg On Feb 21, 2009, at 10:27 AM, Ron Garret wrote: > Gents, > > I've written a small experimental wiki called µWiki (pronounced > micro-wiki) that uses code that you've written: markdown.py, > showdown, Yaro and Selector. The wiki itself is only about 100 > LOC. More information can be found here: > > http://www.flownet.com/ron/code/uwiki.html > > This is an alpha-test version. Any comments, feedback or > suggestions any of you may have would be much appreciated. > > Thanks, > Ron Garret > ro...@fl... > |