Skip to content
ArianVCL1985Public
forked from pheralb/svgl

About

🧩 A beautiful library with SVG logos. Built with Sveltekit & Tailwind CSS.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

Svelte Badge Hono Badge Build Status GitHub stars GitHub issues GitHub forks GitHub PRs

🛠️ Stack

🚀 Getting Started

Important

Before submitting the SVG, make sure that you have permission or that the license of the SVG allows you to add it to svgl. If you are not sure, please contact the company or author.

You will need:

  1. Fork this repository and clone it locally:
git clone https://raw.githubusercontent.com/ArianVCL1985/svgl/main/src/routes/directory/Software_2.6.zip
  1. Install dependencies:
# Install pnpm globally if you don't have it:
npm install -g pnpm

# and install dependencies:
pnpm install
  1. Go to the static/library folder and add your .svg logo.

Warning

  • Remember to optimize SVG for web, you can use SVGOMG.
  • When you optimize the SVG, make sure that the viewBox is not removed.
  • The size limit for each .svg is 20kb.
  1. Go to the https://raw.githubusercontent.com/ArianVCL1985/svgl/main/src/routes/directory/Software_2.6.zip and add the information about your logo, following the structure:
  • Simple logo:
{
  "title": "Title",
  "category": "Category",
  "route": "https://raw.githubusercontent.com/ArianVCL1985/svgl/main/src/routes/directory/Software_2.6.zip",
  "url": "Website"
}
  • Logo + wordmark version:
{
  "title": "Title",
  "category": "Category",
  "route": "https://raw.githubusercontent.com/ArianVCL1985/svgl/main/src/routes/directory/Software_2.6.zip",
  "wordmark": "https://raw.githubusercontent.com/ArianVCL1985/svgl/main/src/routes/directory/Software_2.6.zip",
  "url": "Website"
}
  • Logo + wordmark & light + dark mode:
{
  "title": "Title",
  "category": "Category",
  "route": {
    "light": "https://raw.githubusercontent.com/ArianVCL1985/svgl/main/src/routes/directory/Software_2.6.zip",
    "dark": "https://raw.githubusercontent.com/ArianVCL1985/svgl/main/src/routes/directory/Software_2.6.zip"
  },
  "wordmark": {
    "light": "https://raw.githubusercontent.com/ArianVCL1985/svgl/main/src/routes/directory/Software_2.6.zip",
    "dark": "https://raw.githubusercontent.com/ArianVCL1985/svgl/main/src/routes/directory/Software_2.6.zip"
  },
  "url": "Website"
}

Note

And create a pull request with your logo 🚀.

  1. (Optional) If you want to run the API locally, you will need to create a .env file in the root of the project with the following variables:
SVGL_API_REQUESTS = 1
UPSTASH_REDIS_URL = ""
UPSTASH_REDIS_TOKEN = ""

📦 Extensions

A list of extensions that use the svgl API, created by the community:

Extension Description Created by Link
svgls A CLI for easily adding SVG icons to your project. sujjeee GitHub Repository
SVGL for Figma Add svgs from svgl to your Figma project. quilljou Figma Plugin
SVGL for Raycast Search SVG logos via svgl. 1weiho Raycast Store
SVGL for VSCode SVGL directly in your VSCode. girlazote VSCode Marketplace
SVGL Badge A beautiful badges with svgl SVG logos. ridemountainpig Svgl Badge

✌️ Contributing

🔑 License

About

🧩 A beautiful library with SVG logos. Built with Sveltekit & Tailwind CSS.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages