Skip to content

A command line application to send SMS from console.

License

Notifications You must be signed in to change notification settings

oakejp12/PushConsole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PushConsole

Send text messages from a registered device to any number using the Pushbullet API so that you don't have to break flow from using the command line.

Known Vulnerabilities

Use

Use

Clone the repository: git clone https://github.com/oakejp12/PushConsole.git

Run NPM: npm install

Send a message to (555) 555-5555 (do not put special characters in number): node src/index.js -m "555 555 5555" -m "Hey, what's up?!"

Configuration

  1. Establish an account on Pushbullet and register a device.
  2. Make a config.js file in parent directory.
  3. Retrieve access token from account settings.
  4. Retrieve target device identity.

Template for config.js file:

module.exports = {
  "auth" : {
    "access_token" : "<your-access-token>",
    "target_device_iden": "<target-device-sending-message>"
  }
}

The target_device_iden (device sending out the messages) can be found by curl --header 'Access-Token: <your-token>' https://api.pushbullet.com/v2/devices. You'll receive a JSON response with a list of devices that are signed up to use Pushbullet. Select one of the device's identities as your target device. OR...you could run the application with the -d flag instead to view the devices listed on your account: node src/index.js -d.

Roadmap

Includes a list of features I would like to implement
  • Create an executable named pushconsole
  • Integrate with Google Contacts API
  • Create argument flag to query phone number based on names (pushconsole -m "Hey!" -p "Johan Oakes")
  • Clean up CLI code for safer, smarter use

About

A command line application to send SMS from console.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published