• Stars
    star
    266
  • Rank 154,103 (Top 4 %)
  • Language
    Ruby
  • Created over 16 years ago
  • Updated over 13 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

NO LONGER UNDER DEVELOPMENT

NO LONGER UNDER ACTIVE DEVELOPMENT¶ ↑

Webby is no longer under active development. If you would like to take over the project, please contact me via the GitHub message and notification system.

For similar functionality, please look into the nanoc project of Denis Defreyne.

Webby¶ ↑

DESCRIPTION:¶ ↑

Webby is a fantastic little website management system. It would be called a *content management system* if it were a bigger kid. But, it’s just a runt with a special knack for transforming text. And that’s really all it does - manages the legwork of turning text into something else, an *ASCII Alchemist* if you will.

Webby works by combining the contents of a page with a layout to produce HTML. The layout contains everything common to all the pages - HTML headers, navigation menu, footer, etc. - and the page contains just the information for that page. You can use your favorite markup language to write your pages; Webby supports quite a few.

Install Webby and try it out!

FEATURES:¶ ↑

  • choose your templating language: ERB, Textile, Markdown, HAML, SASS

  • support for UltraViolet and CodeRay syntax highlighting

  • embeddable DOT scripts for Graphviz graphs

  • LaTeX snippets for mathematical formulas

  • automatically clean up generated content using Tidy

  • quick and speedy - only builds pages that have changed

  • deploy anywhere - it’s just HTML, no special server stuff required

  • happy Rake tasks for deploying your website to a server

  • build new pages from templates for quicker blog posts and news items

But Wait! There’s More!

Webby has a great autobuild feature that continuously generates HTML whenever the pages or layouts change. The HTML is served up via WebBrick, a simple webserver that comes with Ruby. Whenever you change a page, you can immediately see those changes without having to run any commands.

$ webby autobuild
[10:21:26]  INFO: starting autobuild (Ctrl-C to stop)
[10:21:26]  INFO: creating output/index.html
[10:22:57]  INFO: creating output/index.html

Webby is not limited to producing HTML. By no means! Do you ever get tired of repeating the same color code #D3C4A2 in your CSS files? Webby can help. Need some customized JavaScript for your website. Webby can help. Anytime you find yourself repeating the same bit of text over and over, then you should be using Webby.

INSTALL:¶ ↑

gem install webby

EXAMPLE:¶ ↑

$ webby-gen website my_site
creating my_site

$ cd my_site

$ webby create:page 'new page'
creating content/new-page.txt

$ webby create:page 'another/new page'
creating content/another/new-page.txt

$ webby autobuild
[10:21:26]  INFO: starting autobuild (Ctrl-C to stop)
[10:21:26]  INFO: creating output/index.html
[10:21:26]  INFO: creating output/new-page.html
[10:21:26]  INFO: creating output/another/new-page.html

REQUIREMENTS:¶ ↑

  • directory_watcher

  • hpricot

  • logging

  • rake

  • rspec

  • bones

LICENSE:¶ ↑

MIT License Copyright © 2007 - 2008

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sub-license, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

logging

A flexible logging library for use in Ruby programs based on the design of Java's log4j library.
Ruby
523
star
2

servolux

Threads : Servers : Forks : Daemons
Ruby
197
star
3

bones

Mr Bones is a handy tool that creates new projects from a code skeleton
Ruby
121
star
4

inifile

Native Ruby package for reading and writing INI files
Ruby
95
star
5

logging-rails

Railtie for integrating the Logging framework with Rails
Ruby
81
star
6

directory_watcher

Event notification for file system changes
Ruby
73
star
7

little-plugger

A gems based plugin framework for Ruby
Ruby
31
star
8

loquacious

tell everyone how to configure your project
Ruby
19
star
9

dotfiles

my dotfiles
Vim Script
18
star
10

jquery-ui.flipbook

jQuery UI FlipBook image viewer
JavaScript
11
star
11

pixel_pi

A library for controlling NeoPixels via Ruby on the RaspberryPi
C
8
star
12

polylog

Logging Framework Abstraction Layer
Ruby
8
star
13

bitwise

Packed binary data manipulation library for Ruby
Ruby
7
star
14

spawner

Manage a collection of child processes in a cross platform fashion
Ruby
7
star
15

mmap

Guy Decuox's mmap library for ruby
C
6
star
16

miscellanea

fun, exciting, and useful chunks of text and software
Tcl
6
star
17

logging-email

An email appender for the Ruby Logging framework
Ruby
5
star
18

expiration-date

auto expiring / auto refreshing attributes for all your ruby classes
Ruby
5
star
19

elasticon-2015

Talk for Elastic{on} 2015
4
star
20

githubbub

making rubyforge and github play together
Ruby
4
star
21

pdf_merge

OS X utility for merging PDF documents
Ruby
4
star
22

enigma

Presentation for the Boulder Ruby Users Group
Ruby
3
star
23

bones-git

Ruby
3
star
24

heap_hop

Ruby heap parser and analyzer
Ruby
3
star
25

bones-rspec

Mr Bones plugin for RSpec
Ruby
3
star
26

bones-extras

Extra plugins for Mr Bones
Ruby
2
star
27

bones-rcov

Mr Bones plugin for rcov tasks
Ruby
2
star
28

logtastic

A web application for storing, searching, and viewing log events
JavaScript
2
star
29

pixelbot

Tasty integration of neopixels and web services
Ruby
2
star
30

bones-yard

Mr Bones plugin for the Yard documentation gem
Ruby
1
star
31

MacCraft

tools for the private MacOS Minecraft server
Ruby
1
star
32

bones-rubyforge

Mr Bones plugin for the Rubyforge gem
Ruby
1
star
33

roadie

environment based configuration
Ruby
1
star
34

bones-zentest

Mr Bones plugin for the ZenTest gem
Ruby
1
star
35

twp.github.io

Pea53 GitHub Pages
CSS
1
star