Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Generate cards for Twitter, Facebook, Slack, etc

License

Notifications You must be signed in to change notification settings

watershed-climate/social-cards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

213 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Watershed Social Cards

A service that generates dynamic social media/Open Graph images for Watershed.

Adapted from Vercel’s system.

Adding a theme

  1. Add new 2048 x 1170px background to public/_themes directory.
  2. Open web/index.ts & add the name to the THEMES array.
  3. Open api/_lib/types.ts & add the name to the THEMES array. (These are separate because the client & server don’t share code.)
  4. Open api/_lib/template.ts & add the desired background/foreground to the themes object.

MIT License

About

Generate cards for Twitter, Facebook, Slack, etc

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors