cil-resume is a sinatra backed application. It can pull information from your LinkedIn profile or you can put additional information that's not on your profile.
Fork and then clone the repo:
git clone git@github.com:goyalankit/cli-resume
Make a developer app on LinkedIn at LinkedIn Developer Network and get the following parameters. Either export the values or set them directly in linkedin_config.rb
api_key = ENV['API_KEY']
api_secret = ENV['API_SECRET']
user_token = ENV['USER_TOKEN']
user_secret = ENV['USER_SECRET']
Protip: Don't commit your api keys
Modify projects.yml to include your own projects.
To add new commands, simply create a method with command name in LinkedIn Class
To add it to the help menu, add the command in message created in help method in LinkedIn Class.
# to install the dependencies, only need to do it once.
bundle install
# start the server
rackup
- Check jcubic for the terminal javascript library
- Check modularize_sinatra for the project's directory structure.
- You can refer to LinkedIn Profile Api for possible information that you can retrieve.