Coder Social home page Coder Social logo

blog-cover-generator's Introduction

Blog Cover Generator

Generate blog covers in seconds!

Steps to follow:

Just make a request to https://blog-cover-generator.web.app/generate with a heading query parameter and get your blog cover!

Features:

All properties

You can pass the following properties:

  • heading [optional, defaults to "Hello World!"] : the heading that you want to put on the cover
  • type [optional, defaults to programming] : you can type the category that you are writing the article about it can be business, programming, content, absolutely anything.
  • width [optional, defaults to 1200] : the desired width of the cover
  • height [optional, defaults to 630] : the desired height of the cover
  • darken [optional in the range of 1-10, defaults to 7] : the amount of dark overlay you want to put on the background image
  • persist [optional boolean, defaults to false]: passing true to this will always give you the same image

The full fledged URL would look like below:

https://blog-cover-generator.web.app/generate?heading=Hello%20World&darken=3&height=400&width=1000&type=business

It's written in a manner that you can include it directly as an image source in your code!

Have fun.

blog-cover-generator's People

Contributors

44za12 avatar

Watchers

 avatar

blog-cover-generator's Issues

Add persistence

Currently the app generates a new cover on each hit, there should be a way for user to persist the image once created.

1 way this can be achieved is by expecting a string token in query parameters, if there's a token in parameter in request we store the image on storage and then for each subsequent request we can get the image from storage and return.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.