• Stars
    star
    204
  • Rank 192,063 (Top 4 %)
  • Language
    Ruby
  • License
    Other
  • Created about 14 years ago
  • Updated over 6 years ago

Reviews

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

Repository Details

Green Shoes is one of the colorful Shoes written in pure Ruby.

Green Shoes

Let's have fun with Ruby and Shoes! :-D

ashbb

Green Shoes is a Ruby domain specific language for beautiful Desktop Applications. The Green Shoes dsl is so simple, even your pointy haired boss can understand it. The Green Shoes project is based on _why-the-lucky-stiff's Shoes, except for the following:

  • Green Shoes source code is all Ruby, so even you can contribute.
  • Green Shoes takes the Ruby DSL block-style approach, so all you have to do is write what you know: Ruby.

Examples

Here is a quick example to get the juices flowing:

require 'green_shoes'

Shoes.app( :width => 250, :height => 250 ) do
  para 'Hello, world!'
  image 'images/shoes.png'
end

There are a lot of samples here in the sample box.

Installation

Since Green Shoes is a Ruby Gem, all you need to install are:

  1. Ruby 1.9 or above
  2. Gems 1.5 or above
  3. ruby-gtk2 package 0.90.7 or above

Once you have all three requirements, you can simply install with this command:

gem install green_shoes

Documentation

Read the Manual for all sorts of shoe-like good-ness

Check the Wiki for extra documentation and details.

Please contribute to documentation whenever you can.

Bugs & Requests

See Issues for any bugs or feature requests.

Note on Patches/Pull Requests

  • (create your github account)
  • Fork the project green_shoes to your github account
  • Clone the fork to your home machine : git clone http://[email protected]/youraccount/green_shoes
  • Make your features additions or bug fix ( additions to lib/plugins or lib/ext, bug fix directly in sources)
  • Add a sampleXX.rb in sample dir (if feature addition) for a demo of your feature(s)
  • Commit your fork : git commit -a -m "..." ; git push origin master
  • Send me a pull request : on GitHub on your green_shoe fork, click 'pull request' on the head of the page

License

Copyright (c) 2010-2011 ashbb

Except:

  • hh/static/(all).png (c) 2008 why the lucky stiff
  • lib/ext/hpricot/(all) (c) 2008 why the lucky stiff
  • lib/ext/projector/(all).rb (c) 2010 MIZUTANI Tociyuki
  • lib/ext/highlighter/(all) (c) 2008 why the lucky stiff and 2011 Steve Klabnik
  • lib/plugins/(httpd.rb, systray.rb, thread.rb) (c) 2011 Regis d'Aubarede
  • samples/akatsukiface.png (c) 2010 MIZUTANI Tociyuki
  • samples/class-book.yaml (c) 2008 why the lucky stiff
  • samples/splash-hand.png (c) 2008 why the lucky stiff
  • samples/loogink.png (c) 2008 Anita Kuno
  • samples/cy.png (c) 2008 Anita Kuno
  • samples/sample54.rb (c) 2011 Regis d'Aubarede
  • samples/face-crying.png (c) 2011 Regis d'Aubarede
  • samples/face-smile-big.png (c) 2011 Regis d'Aubarede
  • static/Coolvetica.ttf (c) 1999 Ray Larabie
  • static/Lacuna.ttf (c) 2003 Glashaus, designed by Peter Hoffman
  • static/gshoes-icon.png (c) 2010 Zachary Scott
  • static/gshoes-heading-icon.png (c) 2010 Zachary Scott
  • static/code_highlighter.js (c) 2005 Dan Webb
  • static/code_highlighter_ruby.js (c) 2008 why the lucky stiff
  • static/manual.css (c) 2008 why the lucky stiff

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, sublicense, 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 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.

Credits

More Repositories

1

ruby_learning_participants

RubyLearning.org Participants Information
Ruby
75
star
2

ruby_metaprogramming_study_note

Ruby Metaprogramming Study Note
Ruby
68
star
3

shoes_tutorial_html

Shoes Tutorial Note : HTML version
Ruby
37
star
4

shoes_tutorial_walkthrough

Shoes - THE TUTORIAL WALKTHROUGH written by _why
Ruby
27
star
5

purple_shoes

Porting Green Shoes with JRuby and SWT
Ruby
22
star
6

shoes_hack_note

Curious about Shoes inside. Taking some notes.
Ruby
13
star
7

dwemthys_array_study_note

Dwemthy's Array Study Note
Ruby
9
star
8

sudoku_on_shoes

Sudoku on Shoes is a simple puzzle game
Ruby
9
star
9

orange_shoes

Just a trial to traslate Shoes like app written in Ruby into HTML5 Canvas element written in JavaScript.
Ruby
9
star
10

shoes_tutorial

Shoes Tutorial Note - for the Shoes App Rookie Creators -
Ruby
9
star
11

code_wrapper_on_shoes

Code Wrapper on Shoes for posting your code to the forum of RubyLearning.org
Ruby
7
star
12

teeny-weeny_mp3_player

A Teeny-weeny mp3 player using Ruby and Shoes
Ruby
6
star
13

code_review

code review
Ruby
6
star
14

ashbb.github.com

ashbb's github page
JavaScript
6
star
15

shoes_gallery

Shoes Gallery: List of Tiny Demo Videos
6
star
16

gangsclock2

Gangs Clock 2nd
Ruby
5
star
17

first_step_on_ruby_metaprogramming

First Step on Ruby Metaprogramming.
Ruby
5
star
18

shoes_twitter_search

Shoes Twitter Search
Ruby
5
star
19

easy_ebook_maker

Easy eBook Maker - for the very simple eBook on Github -
Ruby
5
star
20

shoes_manual

The Shoes Manual for printing.
Ruby
4
star
21

shoes_tips_board

Shoes Tips Board for the participants of Ruby Programming with Shoes Course on RubyLearning.
Ruby
4
star
22

extending_ruby_with_c

This site is my study note about Extending Ruby with C.
C
4
star
23

cold-sky-27

Simple Twitter Client on Heroku. First Step in Ruby DSL.
Ruby
4
star
24

zombie_dice

Zombie Dice on Green Shoes
Ruby
3
star
25

gangsclock3

Gangs Clock 3rd
Ruby
3
star
26

einstein_s_riddle

Einstein's Riddle
Ruby
3
star
27

piano

Simple Piano in Shoes
Ruby
3
star
28

samegame_on_shoes

SameGame on Green Shoes
3
star
29

labyrinth

The world has begun with a word.... Labyrinth.
Ruby
3
star
30

shoes_translator

Mouseover Dictionary on Shoes!
Ruby
3
star
31

unblockme

Unblock Me on Colorful Shoes, Red, Green and Purple.
Ruby
3
star
32

bshoes

Baby Shoes. To learn Shoes Inside from scratch. For fun!
C
3
star
33

morse-code-translator

Just a simple ruby code to translate morse codes
Ruby
3
star
34

farkle

Farkle on Shoes: Simple Dice Game with Shoes
Ruby
3
star
35

ruby_magnets_on_shoes

Ruby Magnets on Shoes
2
star
36

shoes_tone_matrix

Shoes Tone Matrix
Ruby
2
star
37

rwviewer

Viewer for Ruby Warrior with Green Shoes
Ruby
2
star
38

doraemon_ekaki-uta

Shoes fun app: Do you know DORAEMON? He is the famous character in Japan. ‘ekaki-uta’ means Drawing Song.
Ruby
2
star
39

shoes_mandelbrot

Mandelbrot Set. What a mysterious pattern on Shoes!
Ruby
2
star
40

shoesgem

Shoes is a tiny graphical app kit. ShoesGem is a gem of Shoes.
2
star
41

shoes_3d_art_stereogram

3D Art Stereogram on Shoes
Ruby
1
star
42

hacketyhack_lesson_viewer

Hackety Hack Lesson Viewer with Green Shoes
Ruby
1
star
43

shoes_app_launcher

A launcher for Shoes applications.
1
star
44

blu_tuner

Blu Tuner is a tiny Shoes app for bloopsaphone. You can listen and create .blu sounds with Shoes.
1
star
45

advgame

RubyLearning.org Ruby Programming Core Course Mini Project: A Tiny Adventure Game
1
star
46

pacman_on_shoes

PAC-MAN on Shoes: This is a tiny Shoes app written under 99 steps for the 30th anniversary of PAC-MAN.
1
star
47

green_shoes_portuguese_manual

Portuguese translation of the green_shoes manual. Tradução em Português do manual do green_shoes.
Ruby
1
star