shatty 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +21 -22
  2. data/shatty.gemspec +4 -1
  3. metadata +50 -2
data/README.md CHANGED
@@ -2,32 +2,30 @@
2
2
 
3
3
  share tty.
4
4
 
5
- ## Play a demo recording
5
+ Install with 'gem install shatty'
6
6
 
7
- ```
8
- % ruby shatty.rb play examples/output.shatty
9
- ```
10
-
11
- ## Recording
7
+ ## start sharing
12
8
 
13
9
  ```
14
- % shatty.rb record <command>
10
+ shatty share
15
11
  ```
16
12
 
17
- By default will record to 'output.shatty'
13
+ The defaults will:
18
14
 
19
- ## Playback
15
+ * Run $SHELL
16
+ * Generate a random endpoint on the shatty service
20
17
 
21
- ```
22
- % shatty.rb play output.shatty
23
- ```
18
+ Here's an example:
24
19
 
25
- ## Sharing
20
+ % shatty share
21
+ Sending output to: http://shatty.semicomplete.com:8200/s/88326b7f-f43e-4192-8987-c496b985abc1
22
+ View commands
23
+ wget -qO- http://shatty.semicomplete.com:8200/s/88326b7f-f43e-4192-8987-c496b985abc1
24
+ curl -Lso- http://shatty.semicomplete.com:8200/s/88326b7f-f43e-4192-8987-c496b985abc1
25
+ shatty play http://shatty.semicomplete.com:8200/s/88326b7f-f43e-4192-8987-c496b985abc1
26
26
 
27
- TBD.
28
-
29
- * read-only
30
- * read/write
27
+ This lets you share a terminal over http. It's built such that wget and curl
28
+ can act as viewers so whoever is viewing will not require the shatty player.
31
29
 
32
30
  ## Tricks
33
31
 
@@ -40,7 +38,6 @@ TBD.
40
38
 
41
39
  The '--headless' is required otherwise you end up tmux printing to tmux and you get a loop.
42
40
 
43
-
44
41
  ## TODO
45
42
 
46
43
  * Improved player
@@ -48,12 +45,14 @@ The '--headless' is required otherwise you end up tmux printing to tmux and you
48
45
  * Tunable playing speed (1x, 2x, etc)
49
46
  * Search.
50
47
  * Pause/rewind/etc live while viewing or recording.
51
- * Online sharing
52
- * Live sharing
53
- * Multiuser
54
- * Sharing recorded sessions
48
+ * Sharing recorded sessions
49
+ * pastebin, gist, etc?
55
50
  * Terminal size options
56
51
  * Currently stuck at default 80x24, fix that.
57
52
  * Improve & document recording format
58
53
  * Currently a sequence of [play_time, length, data].pack("GNA*")
59
54
  * Implement a terminal emulator so we can calculate key frames to better support playback/rewind
55
+
56
+ ## web server
57
+
58
+ You can run the webserver (basically a thin proxy) with 'ruby web.rb'
@@ -2,13 +2,16 @@ Gem::Specification.new do |spec|
2
2
  files = %x{git ls-files}.split("\n")
3
3
 
4
4
  spec.name = "shatty"
5
- spec.version = "0.0.7"
5
+ spec.version = "0.0.8"
6
6
  spec.summary = "shatty"
7
7
  spec.description = "shatty"
8
8
  spec.license = "none chosen yet"
9
9
 
10
10
  # Note: You should set the version explicitly.
11
11
  spec.add_dependency "cabin", ">0" # for logging. apache 2 license
12
+ spec.add_dependency "clamp", ">0"
13
+ spec.add_dependency "ftw", ">0"
14
+ spec.add_dependency "uuidtools", ">0"
12
15
  spec.files = files
13
16
  spec.require_paths << "lib"
14
17
  spec.bindir = "bin"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shatty
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-08 00:00:00.000000000 Z
12
+ date: 2012-11-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cabin
@@ -27,6 +27,54 @@ dependencies:
27
27
  - - ! '>'
28
28
  - !ruby/object:Gem::Version
29
29
  version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: clamp
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>'
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>'
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: ftw
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>'
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>'
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: uuidtools
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>'
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :runtime
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>'
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
30
78
  description: shatty
31
79
  email:
32
80
  - jls@semicomplete.com