Loading repository data…
Loading repository data…
erikaheidi / repository
This project is discontinued due to changes in the Twitter API access for users. Check erikaheidi/gdaisy for the base functionality of generating image banners based on JSON templates.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Dynacover is a PHP GD + TwitterOAuth CLI app to dynamically generate Twitter header images and upload them via the API. This enables you to build cool little tricks, like showing your latest followers or GitHub sponsors, your latest content created, a qrcode to something, a progress bar for a goal, and whatever you can think of.
You can run Dynacover in three different ways:
app/Resources), then build a local copy of the Dynacover Docker image to use your custom changes.php-cli 8.1+, Composer, and a few extensions: php-gd, php-mbstring, php-curl, and php-json. Follow this guide to set it up.To upload your header images, you'll need to register an application within the Twitter Developers Portal and obtain 4 tokens:
Additionally, you can set up a Personal GitHub API key to fetch your sponsors, in case you are enrolled in the GitHub Sponsors program. In this case, you should use the included template. This is optional.
cover_sponsors.jsoncover_basic.jsonThe default template shows latest 5 Twitter followers.
cover_colorful.jsonSimilar to the basic cover, but with a more colorful background. Shows latest 5 Twitter followers.
cover_neon.jsonThis template shows your latest 5 Twitter followers in smaller size, in a blue-neon style header.
cover_sponsors.jsonThis template uses the Github image source to obtain sponsors and include them in the banner. Make sure you have set up your GH token on the credentials.php file.
The "interactions banner" is generated based on your recent interactions and can be limited to only include mutuals (people that follows you and you follow them back).
php dynacover generate interactions
For mutuals only, include the --mutuals flag:
php dynacover generate interactions --mutuals
Please notice that the "mutuals" version may have a limited set of results after filtering your latest interactions (~200 mentions).