Skip to content

diegolamanno/alfred-bitmoji

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alfred Bitmoji

Alfred workflow to interact with Bitmoji and get comics URLs

Requires Node.js 8+ and the Alfred Powerpack.

Requirements

  • Have a Bitmoji account. If you don't have one already go to: bitmoji.com
  • Have your Bitmoji user ID

How do I get my Bitmoji ID?

The easiest way is to extract it from an image URL generated by the bitmoji extension for google chrome!

Example: These are 4 URLs extracted from the Chrome extension. That's the part of the URL, that's your ID:

Installation

$ npm install --global alfred-bitmoji

Setup

With the package installed and your user ID

Run Bitmoji setup

In Alfred, type bitmoji setup, Enter, and paste your user ID.

This will save it inside the workflow as an environment variable and you are now good to use it.

Usage

Markdown style

In Alfred, type bitmoji, Enter, and search term, to find a bitmoji (terms will match base on bitmojis tags on their own templates).

Select an bitmoji and press Enter to copy the URL to the clipboard wrapped in a markdown syntax ready to be use inside any markdown.

Pure URL

In Alfred, type bitmoji, Enter, and search term, to find a bitmoji (terms will match base on bitmojis tags on their own templates).

Select an bitmoji, hold Command and press Enter to copy the URL it to the clipboard.

Open in Browser

In Alfred, type bitmoji, Enter, and search term, to find a bitmoji (terms will match base on bitmojis tags on their own templates).

Select an bitmoji, hold Option and press Enter to open it in your default browser.

Related

  • libmoji - Library to interact with Bitmoji API
  • alfy - Create Alfred workflows with ease

Shoutouts

  • To @sindresorhus for Alfy and the inspiration for the README of this project
  • To @matthewnau for doing providing a clean API to interact with Bitmojis JSON files
  • To @jpoles1 for friendmojis experiment that help me clear my mind around this.

License

MIT © Diego La Manno