Giter VIP home page Giter VIP logo

capsule's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.