git ssb

3+

dust / capsule



Commit e01e3e9d149b313350f8192379de989525862cbe

updated README with linux docs

dust committed on 4/5/2016, 6:47:18 AM
Parent: 6aea1b7fdb60e1780423d59193a6c90bb5e517f0

Files changed

README.mdchanged
README.mdView
@@ -1,29 +1,52 @@
11 # capsule
22
33 ## how to use
44
5+### set up a URI handler for protocol ssb-capsule
6+
7+put something like this in ~/.local/share/applications (linux):
8+
9+```
10+[Desktop Entry]
11+Name=capsule
12+GenericName=capsuleURI
13+X-GNOME-FullName=capsule URI handler
14+Comment=send capsule URI text to sbot
15+Exec=/home/user/capsule/os/parser %u
16+Terminal=false
17+NoDisplay=true
18+Type=Application
19+StartupNotify=true
20+MimeType=x-scheme-handler/ssbcapsule
21+Categories=Network;P2P
22+```
23+
24+### install addon and use
25+
526 2. `git clone`
627 1. `npm install`
728 2. `npm build`
829 3. visit chrome extensions menu (chrome://extensions)
930 4. check developer mode checkbox
10-5. load unpacked extension
31+5. load unpacked extension from capsule/chromium
1132 6. visit a tab
1233 7. select some things
13-8. click the addon icon (it's the 'hello' default right now)
34+8. click the addon icon
35+9. type some fun comments
36+10. choose a channel/topic it should be filed under
37+11. hit send
38+12. share your new cypherspace reblogging exploits
1439
15-nothing works past here yet :\
1640
17-
1841 ## TODO
1942
2043 - [x] strip out non-UI code from addon
2144 - [x] build proper fork of [ssbify](https://github.com/krl/ssbify) that takes an
2245 html string
2346 - see [ssbify-string](https://github.com/du5t/ssbify-string)
24-- [ ] write parser/handler script using above fork
25-- [ ] add comment field to serialiser and parser
47+- [x] write parser/handler script using above fork
48+- [x] add comment field to serialiser and parser
2649 - [ ] automate
2750 xdg-open/open/[windows registry horror](https://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx)
2851 registration
2952 - [ ] document
@@ -34,4 +57,5 @@
3457
3558 - icon adapted from
3659 [open clipart](http://colouringbook.org/art/svg/coloring-book/sputnik-comic-satellite-electronics-coloring-book-colouring-scallywag-coloring-book-colouring-sheet-coloring-book-colouring-page-colouringbook-org-svg)
3760 - [ssbify](https://github.com/krl/ssbify)
61+- DOM extractor from [SnappySnippet](https://github.com/kdzwinel/SnappySnippet/)

Built with git-ssb-web