Skip to content

ztcollazo/joke.svg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

joke.svg

Random joke

Welcome to Joke.SVG! Joke.SVG is an api wrapper for puns.dev that returns a programming joke as an SVG image. It's really good for Readmes.

Features:

  • Random Joke
  • Specific joke
  • Search jokes
  • Themes

API

The root URL is https://jokesvg.ztco.workers.dev

Common params

Param Optional Description
theme True Which theme to use
bg True Override the theme's background color
border True Override the theme's border color
color True Override the theme's text color

Paths

/

Redirects to this page.

/random

Returns a random joke.

/get?id={jokeId}

Returns the joke at the given ID.

Params
Param Optional Description
id False The ID of the joke

/search?q={term}&i={index}

Param Optional Description
q False The search term
i True Index of array to return

Themes

Default

The Default Theme

Nord

The Nord Theme

Dark

The Dark Theme

About

An SVG API built on puns.dev (great for Readmes)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published