Lightweight application that clicks the links in an email message given the subject of said email.
- Works only with GMail accounts
- Clickitat is not secure -- I recommended that you use Clickitat only with test gmail accounts
- Clickitat will open the links for the first email it finds, so unique subjects are encouraged
- Pick a GMail account to use. We'll use clicki.example@gmail.com with password
6adpas5W0rd
for this example. - Send an email with links in it to clicki.example@gmail.com. We'll use one with a subject of
ClickitatEmailWithLinks
. - Create an API key. We'll use
ABCD1234
for this example. You should use one with more entropy. - Create file config/config.local.yml with
clicki.example: 6adpas5W0rd
bundle install
in the clickitat directoryexport clickitat_api=<your_api_key>
bundle exec rackup
in the clickitat directorycurl -vvv -H "Authorization: ABCD1234" 'http://localhost:9292/openclick?username=clicki.example&subject=ClickitatEmailWithLinks' >> output.html
open output.html
This application only supports one API key
ENV['clickitat_api']
is compared to theAuthorization
header passed in by the client
bundle install
clickitat_api=<your_api_key> bundle exec rackup
Application available at http://localhost:9292
curl -vvv -H "Authorization: <your_api_key>" 'http://localhost:9292/openclick?username=<gmail_local-part>&subject=<email_subject>'
Built with cuba_genie