Skip to content
A utility for resolving Twitter avatar URLs from their Twitter handles, built on the JAMstack
CSS JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
README.md
eleventy.js
gulpfile.js
netlify.toml
package.json
yarn.lock

README.md

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.
You can’t perform that action at this time.