Skip to the content.

FigletAPI

Overview

The Figlet API allows you to generate ASCII art from text using different fonts. You can specify the font and the text you want to convert into ASCII art.

API Endpoints

Generate ASCII Art

List Available Fonts

Examples

To generate ASCII art, use a curl command like this:

curl "https://figletapi.vercel.app/api/figlet/Slant?text=Hello%20World"

To list available fonts, use:

curl "https://figletapi.vercel.app/api/fonts"

Development

To run the API locally:

  1. Clone the repository:
git clone https://github.com/linuxfandudeguy/figlet-api.git
  1. Change to the project directory:
cd figlet-api
  1. Install dependencies:
npm install
  1. Start the server:
npm start

License

This project is licensed under the MIT License. See the LICENSE file for details.

Download Archive

Tarball(.tar.gz):

Download API