firelinks 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +17 -6
- data/lib/firelinks.rb +1 -1
- data/lib/firelinks/version.rb +1 -1
- metadata +3 -5
data/README.markdown
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
# Firelinks
|
2
2
|
|
3
|
-
Firelinks
|
3
|
+
Firelinks automatically mirrors your Firefox browsing session in elinks.
|
4
4
|
|
5
|
-
<a href="https://github.com/danchoi/firelinks/raw/master/screens/
|
5
|
+
<a href="https://github.com/danchoi/firelinks/raw/master/screens/firelinks1.png" rel="lightbox[screens]"><img src="https://github.com/danchoi/firelinks/raw/master/screens/firelinks1c.png" /></a>
|
6
6
|
|
7
7
|
Benefits:
|
8
8
|
|
9
9
|
* Use Firefox's graphical interface to navigate the web visually
|
10
10
|
* Use elinks' austere textual interface to read content with more concentration and less distraction
|
11
|
-
* Save plain text versions of webpages with elinks' "Save formatted document" command
|
11
|
+
* Save clean plain text versions of webpages with elinks' "Save formatted document" command
|
12
12
|
|
13
13
|
|
14
14
|
## Prerequisites
|
15
15
|
|
16
16
|
* Supported platforms: Linux and OS X
|
17
17
|
* [elinks][elinks]
|
18
|
-
* Firefox 3 or higher
|
18
|
+
* Firefox 3 or higher (tested on Firefox 5)
|
19
19
|
* sqlite3 version 3.7.4 or higher
|
20
20
|
* Ruby (tested on 1.9.2)
|
21
21
|
|
@@ -25,7 +25,7 @@ Benefits:
|
|
25
25
|
|
26
26
|
gem install firelinks
|
27
27
|
|
28
|
-
Try running it by typing `firelinks` on the command line.
|
28
|
+
Try running it by typing `firelinks` on the command line. If you get an error
|
29
29
|
message saying that `firelinks` is missing, then you probably have a `PATH`
|
30
30
|
issue. Try one of these workarounds:
|
31
31
|
|
@@ -43,11 +43,22 @@ Start Firefox. Then start Firelinks by opening a terminal and typing
|
|
43
43
|
Firelinks starts Ruby process in your Terminal window, which in turn starts and
|
44
44
|
manages an `elinks` session that displays the current webpage.
|
45
45
|
|
46
|
-
As you visit pages in Firefox, you should see them
|
46
|
+
As you visit pages in Firefox, you should see them load
|
47
47
|
automatically in the elinks session.
|
48
48
|
|
49
49
|
To quit Firelinks, just press `CTRL-C` (instead of the normal quit key sequence for elinks).
|
50
50
|
|
51
|
+
## Troubleshooting
|
52
|
+
|
53
|
+
If Firelinks starts an elinks session but doesn't seem to be updating it as
|
54
|
+
you hit new pages in Firefox, you may be missing sqlite3 or in need of a newer version.
|
55
|
+
|
56
|
+
Run `sqlite3 -version` to make sure you have a recent version of sqlite3 (3.7.4 or later).
|
57
|
+
|
58
|
+
Also, note that elinks keeps its own cookies and session data separately from
|
59
|
+
Firefox. So if you're logged into nytimes.com in Firefox, you'll need to log in
|
60
|
+
at nytimes.com in elinks to ensure that you can access the same content in
|
61
|
+
both browsers.
|
51
62
|
|
52
63
|
|
53
64
|
## Bug reports and feature requests
|
data/lib/firelinks.rb
CHANGED
@@ -10,7 +10,7 @@ end
|
|
10
10
|
`killall elinks`
|
11
11
|
|
12
12
|
paths = ["#{ENV['HOME']}/.mozilla/firefox", "#{ENV['HOME']}/Library/Application Support"]
|
13
|
-
history_path = `find #{paths.map {|p| "'#{p}'"}.join(' ')} -name places.sqlite`.chomp
|
13
|
+
history_path = `find #{paths.map {|p| "'#{p}'"}.join(' ')} -mmin -20 -name places.sqlite`.split("\n")[0].chomp
|
14
14
|
|
15
15
|
puts "Using Firefox database: #{history_path.inspect}"
|
16
16
|
|
data/lib/firelinks/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: firelinks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,8 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
13
|
-
default_executable:
|
12
|
+
date: 2012-10-23 00:00:00.000000000 Z
|
14
13
|
dependencies: []
|
15
14
|
description: Mirror Firefox in elinks
|
16
15
|
email:
|
@@ -30,7 +29,6 @@ files:
|
|
30
29
|
- screens/firelinks1.png
|
31
30
|
- screens/firelinks1b.png
|
32
31
|
- screens/firelinks1c.png
|
33
|
-
has_rdoc: true
|
34
32
|
homepage: http://danielchoi.com/software/firelinks.html
|
35
33
|
licenses: []
|
36
34
|
post_install_message:
|
@@ -51,7 +49,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
51
49
|
version: '0'
|
52
50
|
requirements: []
|
53
51
|
rubyforge_project: firelinks
|
54
|
-
rubygems_version: 1.
|
52
|
+
rubygems_version: 1.8.23
|
55
53
|
signing_key:
|
56
54
|
specification_version: 3
|
57
55
|
summary: Mirror Firefox in elinks
|