Giter Club home page Giter Club logo

badge's Introduction

Example Image

LinkedIn profile badge

This is a tiny web app that puts a badged on your profile picture consistent with LinkedIn style but with your prefered text and colors.

👉Use it live

Why?

The profile picture is the first piece of information that people see.

LinkedIn currently (as of early 2024) only allows #HIRED and #OPENTOWORK in predefined colors. There are some claims that it hurts the job applicants to use the #OPENTOWORK badge.

Regardless of your opinion on the matter, the badge is a great place to spice up your online presence.

How does it work?

This is a very simple application using vanilla JavaScript (no frameworks).

  • The trick is to use a <svg> that overlays the image file that is loaded into an <img>.
  • Upon tweaking the settings a simple JavaScript function updates the relevant element in the <svg>.
  • This also redraws a <canvas> element. The <canvas> is normally hidden (you can make it visible by commenting out the display: none in the CSS).
  • Upon download, the contents of the <canvas> is converted to image/png, put in a the href attribute of a <link> which is then programmatically clicked
  • The code is quick and dirty and I got a bit of help from Copilot too.

How can I support you?

This app took about 5 hours to develop and test. I addressed my own needs via inkscape but I thought this is too good (and probably useful for job seekers) to keep it to myself. So I made this app to streamline the workflow without the need to install anything on your machine or having to learn any graphic design app.

If it saved you time, consider subscribing to my newsletter.

I have ideas or suggestions

Please fork the repo and do whatever you like as long as it complies with the license.

This is not my main engagement and unless there's a serious bug in it, I don't intend to touch it.


🇸🇪 Made in Sweden by Alex Ewerlöf

badge's People

Contributors

alexewerlof avatar

Stargazers

 avatar

Watchers

 avatar

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.