Skip to content

A utility for resolving Twitter avatar URLs from their Twitter handles, built on the JAMstack

Notifications You must be signed in to change notification settings

philhawksworth/twavatar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twavatar

https://twavatar.netlify.com

Netlify Status

An API to grab Twitter avatars with just their twitter handle. Built as a JAMstack site and served on Netlify, with a sprinkling of serverless functions via Netlify Functions

Usage

// get the URL for the avatar of any twitter user by requesting:
https://twavatar.netlify.com/{small|large}/{handle}

// for example
https://twavatar.netlify.com/large/philhawksworth

One of your very own

Hopefully, this little utility is already useful, but you can also get your own version to deploy and experiment with. It is a useful example for getting started with Netlify Functions

Instructions

To get your own instance of this example site up and running on Netlify very quickly, just click the button below and follow the instructions.

Deploy to Netlify

Wait, what happens when I click that button?

Good question. Here's what it will do...

  1. Netlify will clone the git repository of this project into your Github account. It will be asking for permission to add the repo for you.
  2. We'll create a new site for you in Netlify, and configure it to use your shiny new repo. Right away you'll be able to deploy changes simply by pushing changes to your repo.
  3. That's it really.

About

A utility for resolving Twitter avatar URLs from their Twitter handles, built on the JAMstack

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published