Giter Site home page Giter Site logo

csperkins / xcallback Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ozbe/xcallback

0.0 1.0 0.0 36 KB

A utility for interacting with local macOS applications using x-callback-url http://x-callback-url.com.

License: Apache License 2.0

Makefile 1.16% Rust 98.84%

xcallback's Introduction

callback

A utility for interacting with local macOS applications using x-callback-url.

Compile from Source

$ git clone [email protected]:ozbe/x-callback-url.git
$ cd x-callback-url
$ make

Install

$ echo "callback() { $(pwd)/callback.app/Contents/MacOS/callback \"\$@\" ;}" >> ~/.zshrc && source ~/.zshrc

Uninstall

$ sed -i old '/^callback\(\)/d' ~/.zshrc && source ~/.zshrc

Usage

Run callback with callback -h or callback --help to view the latest available flags, arguments, and commands.

callback 0.1.0
Interact with x-callback-url APIs

A utility for interacting with local macOS applications using x-callback-url (http://x-callback-url.com).

USAGE:
    callback <scheme> <action> [parameters]...

FLAGS:
    -h, --help       
            Prints help information

    -V, --version    
            Prints version information


ARGS:
    <scheme>           
            Scheme of target app
            
            Unique string identifier of the target app. Example: bear
    <action>           
            Name of action
            
            Action for target app to execute. Example: create
    <parameters>...    
            x-callback and action parameters
            
            Space delimited URL encoded x-callback-url parameters Example: title=My%20Note%20Title text=First%20line

Visit x-callback-url Apps or the corresponding documentation for apps you have installed on your Mac to find x-callback-url APIs you can call with callback.

Troubleshooting

  • Double check the documentation for the callback url you are calling
  • See if callback is running $ ps -ax | grep callback.app
  • Kill any instances of callback $ killall callback

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

xcallback's People

Contributors

ozbe avatar

Watchers

James Cloos avatar

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.