From 3c4ac3666eb5be55c5a135f79b7a7ca85ce24ea4 Mon Sep 17 00:00:00 2001 From: Marcin Kulik Date: Sun, 22 Sep 2013 14:07:42 +0200 Subject: [PATCH] Update copy & code to use the new name --- README.md | 18 ++++++++--------- app/helpers/application_helper.rb | 2 +- app/mailers/user_mailer.rb | 2 +- app/views/asciicasts/show.js.erb | 2 +- app/views/docs/about.html.erb | 20 +++++++++---------- app/views/docs/options.html.erb | 4 ++-- app/views/docs/record.html.erb | 14 ++++++------- app/views/home/show.html.slim | 4 ++-- app/views/layouts/application.html.slim | 2 +- .../user_mailer/new_comment_email.text.erb | 2 +- config/app.yml | 2 +- 11 files changed, 36 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index 19adaf9..9d438a7 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ -# ascii.io [![Build Status](https://secure.travis-ci.org/sickill/ascii.io.png?branch=master)](http://travis-ci.org/sickill/ascii.io) +# asciinema.org [![Build Status](https://secure.travis-ci.org/sickill/ascii.io.png?branch=master)](http://travis-ci.org/sickill/ascii.io) -ASCII.IO is the simplest way to record your terminal and share the recordings +Asciinema is the simplest way to record your terminal and share the recordings with your fellow geeks. Simply record and upload your terminal session with -single command, and ASCII.IO will play it back in your browser. +single command, and Asciinema will play it back in your browser. -This is the source code of ascii.io website and JS player. If you're looking -for ascii.io terminal recorder go here: -[sickill/ascii.io-cli](https://github.com/sickill/ascii.io-cli) +This is the source code of asciinema.org (formerly ascii.io) website and JS +player. If you're looking for asciinema terminal recorder go here: +[sickill/asciinema](https://github.com/sickill/asciinema) ## Setup instructions @@ -15,7 +15,7 @@ it on your local machine or setup your own instance for your organization. ### 1. Install dependencies -ascii.io site is a Ruby on Rails application. You need to have following +asciinema.org site is a Ruby on Rails application. You need to have following dependencies installed: * Ruby 1.9.3+ (Ruby 2.0.0-p247 is recommended) @@ -35,8 +35,8 @@ dependencies installed: Clone git repository: - $ git clone git://github.com/sickill/ascii.io.git - $ cd ascii.io + $ git clone git://github.com/sickill/asciinema.org.git + $ cd asciinema.org ### 3. Prepare database config file diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 313ced5..c28b2bc 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1,6 +1,6 @@ module ApplicationHelper def page_title - title = "ascii.io" + title = "asciinema" if @title title = "#{@title} - #{title}" diff --git a/app/mailers/user_mailer.rb b/app/mailers/user_mailer.rb index 9c4107f..43efb3a 100644 --- a/app/mailers/user_mailer.rb +++ b/app/mailers/user_mailer.rb @@ -1,5 +1,5 @@ class UserMailer < ActionMailer::Base - default :from => "ascii.io " + default :from => "asciinema " helper :application def new_comment_email(user, comment) diff --git a/app/views/asciicasts/show.js.erb b/app/views/asciicasts/show.js.erb index 32dd830..7643b7c 100644 --- a/app/views/asciicasts/show.js.erb +++ b/app/views/asciicasts/show.js.erb @@ -1,4 +1,4 @@ -// ascii.io - embeddable player +// asciinema.org - embeddable player (function() { function receiveSize(e) { diff --git a/app/views/docs/about.html.erb b/app/views/docs/about.html.erb index 2b82cf3..c1b0aa6 100644 --- a/app/views/docs/about.html.erb +++ b/app/views/docs/about.html.erb @@ -2,12 +2,12 @@ # About -ASCII.IO is the simplest way to record your terminal and share the recordings +Asciinema is the simplest way to record your terminal and share the recordings with your fellow geeks. It's a free service built with open-source technologies (check the -[source](https://github.com/sickill/ascii.io) -[code](https://github.com/sickill/ascii.io-cli)) aiming to be a "go to" place +[source](https://github.com/sickill/asciinema.org) +[code](https://github.com/sickill/asciinema)) aiming to be a "go to" place for everyone who want to share his terminal Voodoo. ## Parts @@ -18,11 +18,11 @@ The service consists of two parts: * This site with web based player Terminal recorder is a [Python -script](https://github.com/sickill/ascii.io-cli/blob/master/bin/asciiio) +script](https://github.com/sickill/asciinema/blob/master/bin/asciinema) that acts as a middleman ([pseudo-terminal](http://en.wikipedia.org/wiki/Pseudo_terminal) specifically) between your shell and your terminal, recording all terminal activity and -uploading it to [ascii.io](http://ascii.io) site. +uploading it to [asciinema.org](http://asciinema.org) site. Web based player is a JavaScript implementation of [VT102 ANSI terminal](http://en.wikipedia.org/wiki/VT102), supporting most ANSI @@ -31,17 +31,17 @@ control codes and sequences, all text attributes and ## Authors -ASCII.IO was created by Marcin Kulik with the help of +Asciinema was created by Marcin Kulik with the help of [Michał Wróbel](https://github.com/sparrovv). ## Getting in touch -[twitter.com/asciiio](https://twitter.com/asciiio) | -[twitter.com/sickill](https://twitter.com/asciiio) +[twitter.com/asciinema](https://twitter.com/asciinema) | +[twitter.com/sickill](https://twitter.com/sickill) ## Contributing -[Source code](https://github.com/sickill/ascii.io) | -[Issues](https://github.com/sickill/ascii.io/issues) +[Source code](https://github.com/sickill/asciinema.org) | +[Issues](https://github.com/sickill/asciinema.org/issues) <% end -%> diff --git a/app/views/docs/options.html.erb b/app/views/docs/options.html.erb index ee0d085..89990d3 100644 --- a/app/views/docs/options.html.erb +++ b/app/views/docs/options.html.erb @@ -4,8 +4,8 @@ See the list of available options with: - $ asciiio -h - usage: asciiio [-h] [-i] [-y] [-c ] [-t ] [action] + $ asciinema -h + usage: asciinema [-h] [-i] [-y] [-c <command>] [-t <title>] [action] Asciicast recorder+uploader. diff --git a/app/views/docs/record.html.erb b/app/views/docs/record.html.erb index 4037447..23d9586 100644 --- a/app/views/docs/record.html.erb +++ b/app/views/docs/record.html.erb @@ -6,10 +6,10 @@ ### Linux -To install/update ascii.io recorder, open a terminal and run following +To install/update asciinema recorder, open a terminal and run following command: - $ curl -sL get.ascii.io | bash + $ curl -sL get.asciinema.org | bash ### OSX (via Homebrew) @@ -19,19 +19,19 @@ Install with: Later update with: - $ brew upgrade asciiio + $ brew upgrade asciinema ### OSX (no Homebrew) If you don't use Homebrew then install/update with: - $ curl -sL get.ascii.io | bash + $ curl -sL get.asciinema.org | bash ## 2. Record Open your terminal and run following command: - $ asciiio + $ asciinema New shell instance will be opened and everything you'll do in it will be recorded. When you're ready to upload simply exit the shell with `exit` @@ -39,10 +39,10 @@ command or just hit `<C-d>`. ## 3. Create profile (optional) -If you want your recordings to be assigned to your ascii.io profile and to be +If you want your recordings to be assigned to your asciinema profile and to be able to edit/delete them run this and follow instructions: - $ asciiio auth + $ asciinema auth If you skip this step now, you can always run above command later and all previously recorded asciicasts will get automatically assigned to your new diff --git a/app/views/home/show.html.slim b/app/views/home/show.html.slim index 61ae027..bf7ccd9 100644 --- a/app/views/home/show.html.slim +++ b/app/views/home/show.html.slim @@ -5,10 +5,10 @@ section#about.feature em Record Your Terminal | Share it with no fuss p - ' ASCII.IO is the simplest way to record your terminal and share the + ' Asciinema is the simplest way to record your terminal and share the recordings with your fellow geeks. Simply record and upload your terminal session with - #{link_to 'a single command', docs_path(:record)}, and ASCII.IO will + #{link_to 'a single command', docs_path(:record)}, and Asciinema will play it back in your browser. p = link_to '» Start Recording'.html_safe, docs_path(:record) diff --git a/app/views/layouts/application.html.slim b/app/views/layouts/application.html.slim index f3412f5..d2390ce 100644 --- a/app/views/layouts/application.html.slim +++ b/app/views/layouts/application.html.slim @@ -17,7 +17,7 @@ html[lang="en"] .wrapper h1 a href="/" - ' ascii.io + ' asciinema span.cursor-block .navigation = render :partial => 'layouts/navigation' diff --git a/app/views/user_mailer/new_comment_email.text.erb b/app/views/user_mailer/new_comment_email.text.erb index f333bde..8811b66 100644 --- a/app/views/user_mailer/new_comment_email.text.erb +++ b/app/views/user_mailer/new_comment_email.text.erb @@ -5,4 +5,4 @@ Howdy! <%= indented_text @comment.body, 4 %> --- -http://ascii.io/ +http://asciinema.org/ diff --git a/config/app.yml b/config/app.yml index a322227..bc5feb9 100644 --- a/config/app.yml +++ b/config/app.yml @@ -25,7 +25,7 @@ bugfix: production: <<: *defaults - EMAIL_HOST: "ascii.io" + EMAIL_HOST: "asciinema.org" test: <<: *defaults