Fontabulous
Command line Ruby application to access information about Typekit kits using Adobe Typekit's public API.
Installation
$ gem install fontabulous
Setup
Create a .fontabulous
config file which contains configuration items to your typekit account. Note that this config file should be created in the home directory.
If this config file is not created you will be asked for the token every time you run a command.
Here is a sample file
typekit_auth_token: df0c9e6b07bf7695adc44cd302b474a9fa424b49
base_uri: https://typekit.com
typekit_auth_token - Is the token generated from your account.
base_uri (optional) - is the base_uri to access Adobes typekit public API. If this is not defined the base uri will default to https://typekit.com
Usage
Available commands
foab kits
- Lists kits owned by the authenticating user.foab kit draft <id>
- Shows draft version of the kit based on the id.foab kit published <id>
- Shows published version of the kit based on the id.foab help
- Shows available commands.
Development
- git clone the repo
bundle
to install dependencies- Use
bundle exec bin/foab <command>
to run the commands during development.
Tests
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/v1nayv/fontabulous.