rubyworks / smeagol

Read-Only Gollum Server
http://rubyworks.github.com/smeagol
Other
92 stars 5 forks source link

Smeagols Think Alike #35

Closed trans closed 13 years ago

trans commented 13 years ago

Well, it just goes to show... '-)

I just came upon your project today. I started much the same thing around the same time. And, yep, I gave it the same name:

https://github.com/rubyworks/smeagol

So I'm curious about the differences. When I started Smeagol I wanted to allow a Gollum wiki to render as a typical website, without all the wiki editing and layout trimmings, but still allow an admin to edit the site as a wiki. In other words I wanted to create a CMS on top of Gollum. Is that basically what your Smeagol project is doing too?

I got as far as getting the barest essentials working but never got any further b/c time constraints forced me to use Radiant for the site I was planning to use my Smeagol on, and I never got back to it b/c of other projects. Now that I've discovered your Smeagol I'm satisfied to discontinue my project if yours essentially achieves the same thing.

benbjohnson commented 13 years ago

This aim of this project is to mirror a Gollum wiki as a web site. The changes to the wiki content can be done through the GitHub Wiki interface and then updates can be performed at regular intervals or by navigating to the Smeagol server's /update page.

It's not really a CMS since the editing takes place on GitHub. Hopefully that answers your question.

trans commented 13 years ago

Yes. That helps. So it seems like it is almost, but not quite, what I was trying to achieve.

What do you think of making it an option to not have to depend on GitHub? In other words, while one could of course use the GitHub wiki, one could also opt to run one's own Gollum wiki which Smeagol utilizes?

Also, to clarify, one can customize the resulting website in any way one desires, correct?

benbjohnson commented 13 years ago

Well, it doesn't technically depend on GitHub. That's just the typical usage. It'll work with any Gollum repo.

The generated web site uses Mustache templates so it gives you some flexibility to provide a custom skin. From there you can do anything you want with the web site.

trans commented 13 years ago

Oh, so it doesn't run on Gollum, so to speak, it just generates a static site (essentially) from the wiki repo. Is that right?

benbjohnson commented 13 years ago

Sorry, I meant that the generated code uses mustache. It's a standalone server that runs on top of Gollum. However, @kylef just added a feature that allows for static site generation.