Skip to content
/ capsule Public

HTML snippet extractor/cypherspace re-transmitter

Notifications You must be signed in to change notification settings

du5t/capsule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

capsule

cypherspace re-transmitter

screenshot

how to use

set up a URI handler for protocol ssb-capsule

put something like this in ~/.local/share/applications (linux):

[Desktop Entry]
Name=capsule
GenericName=capsuleURI
X-GNOME-FullName=capsule URI handler
Comment=send capsule URI text to sbot
Exec=/home/user/capsule/os/parser %u
Terminal=false
NoDisplay=true
Type=Application
StartupNotify=true
MimeType=x-scheme-handler/ssb-capsule
Categories=Network;P2P

run the following command to associate the handler with the ssb-capsule protocol:

xdg-mime default ssb-capsule.desktop x-scheme-handler/ssb-capsule

to check: if xdg-mime query default x-scheme-handler/ssb-capsule outputs ssb-capsule.desktop when you run it, you should be all set.

install addon and use

  1. git clone
  2. npm install
  3. visit chrome extensions menu (chrome://extensions)
  4. check developer mode checkbox
  5. load unpacked extension from capsule/chromium
  6. visit a tab
  7. select some things
  8. click the addon icon
  9. type some fun comments
  10. choose a channel/topic it should be filed under
  11. hit send
  12. share your new cypherspace reblogging exploits

TODO

  • strip out non-UI code from addon
  • build proper fork of ssbify that takes an html string
  • write parser/handler script using above fork
  • add comment field to serialiser and parser
  • automate xdg-open/open/windows registry horror registration
  • document
  • release
  • dance

credits

About

HTML snippet extractor/cypherspace re-transmitter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published