An open API service indexing awesome lists of open source software.

https://github.com/mikael-ros/tool-card

πŸ”¨ A card for putting the list of tools you use, in your GitHub readme, or elsewhere
https://github.com/mikael-ros/tool-card

github-profile github-profile-card github-readme profile profile-readme

Last synced: 8 months ago
JSON representation

πŸ”¨ A card for putting the list of tools you use, in your GitHub readme, or elsewhere

Awesome Lists containing this project

README

          

> [!WARNING]
> This project is deprecated. I refer you to [profile-card](https://www.github.com/mikael-ros/profile-card) instead.

---

# πŸ”¨ GitHub Tool Card
![](./tool-card.svg)

This is a profile card made in a SVG, that can be imported into a GitHub profile readme (or elsewhere). It works by using a ``foreignObject`` inside of an SVG, which allows you to use HTML and CSS beyond what the GitHub sanitization process allows.

This is based on my other profile project, [GitHub Language Card](https://github.com/mikael-ros/profile-card). The main difference is the layout, which here is designed to be wider and more accomodating, since tools are likely to be a longer list.

---

## πŸ”¨ Usage
To use the card, either copy the contents of [``tool-card.svg``](./tool-card.svg) or download it. Then paste it into your profile git repository, and add an image tag in your profile readme, displaying the SVG, like this: ``![](path/to/tool-card.svg)``. The path can also be to the raw file, if hosted in a seperate repository.

### πŸͺš How to modify
Simply go into the SVG and add entries accordingly. There are 6 proficiencies, all identified by ids; see the SVG as an example.

> [!TIP]
> When editing the SVG, open the file locally in the browser. It is a more accurate preview of how it will look in the real world.

#### πŸ“ Card
The entire thing is contained within an ```` tag, which is necessary to make it display properly on all GitHub themes. See the minimal example further down.

#### ⌨️ Typing animation
The typing animation is **implemented with keyframes**, changing the content each keyframe. You can with some effort change this text. _If your text is the same length or shorter you can get away with less editing._

> [!TIP]
> Divide 100% by the amount of letters you want to type and increment the keyframe by that. You can experiment a lot with this though.
> Also see [this code example](https://codepen.io/alvaromontoro/pen/rNwVpdd) if you want to change the type of typing marker. Default is ``_``.

#### πŸ—‚ Categories
Every category is contained in it's own ```` element and an ``

    `` element.

    ```html


    πŸ”΅ Category



    • 🦝 Racoon Tool

    • πŸ’… Girlboss

    ```

    ##### πŸ—ƒοΈ Nested categories
    You can also nest categories, by putting an ``

      `` inside of one of the ``
    • ``. This works infinitely, though I wouldn't reccomend it. You can both color the whole ``
        `` the same color and have specific elements be a certain color.
        ```html


        πŸ”΅ Category



        • 🦝 Racoon Tools

          • πŸ˜‹ Silly

          • πŸ‡ Grapes



        ```
        To make it display in a vertical column, add the class ``vertical`` to the inner ``

          `` element. This simply sets the ``flex-direction`` property to ``column``.

          ##### 😜 Emojis/icons
          Either put the emoji inline, in the ``

          `` tag or put it inside ``😎``. The ``emoji`` class will make it into it's own little "bubble".

          _Unfortunately it's not trivial to include any old icon (you have to convert it into BASE64) which is why I've opted for emojis._

          #### πŸ’Ό Proficiencies
          There are 6 levels built-in. They are as follows:
          - πŸ’ͺ ``proficient``: Tools you can use with your **eyes (almost) closed**
          - πŸ‘ ``good``: Tools you know well
          - πŸ‘Œ ``average``: Tools you are average in, **about as competent as most people**
          - 🀏 ``below average``: You aren't fully comfortable in this tool, but **you can hack something together with it given some effort**
          - πŸ’‘ ``accquainted``: You have come across and had to use this tool as part of a course or job, but didn't get the hang of it. Despite, **you can still use it for basic things**
          - 🧠 ``learning``: What it **says on the tin**

          These are marked by wrapping the corresponding skill in an ``


        • `` element with the class set to one of the above, like:
          ```html

        • 🦝 Racoon Tool

        • ```
          Though you can put this class on any element, as it just changes the ``background-color`` property.
          ##### πŸ–Œ Colors
          There are 6 colors corresponding to the 6 proficiencies, which you can change easily by editing CSS variables at the top of the SVG.

          ### πŸ—’ Minimal example
          > [!NOTE]
          > This does not include the rest of the SVG, you also need the headings and style. See the SVG file.
          ```html



          πŸ”΅ Category



          • 🦝 Racoon.js

          • πŸ’… Girlboss




          πŸ—ΊοΈ Legend



          • πŸ’ͺ Proficient

          • πŸ‘ Good

          • πŸ‘Œ Average

          • 🀏 Below average

          • πŸ’‘ Accquainted

          • 🧠 Learning


          ```

          > [!TIP]
          > Don't forget to change the SVG height and width at the top of the file, or it might either be too large or get cut off. Also set the ``language-card`` height.

          ---

          ## πŸ‘₯️ Contributing

          Feel free to contribute, though I would prefer you not change the contents of the list in this repository as the SVG hosted here is used on my profile.

          ---

          ## πŸ‘‹ Attributing

          While it is not necessary, **I would be happy if you referred** to this repo when using the card. I would also love to see what you create with it!

          > [!IMPORTANT]
          > This repository is licensed under the [MIT license](LICENSE), please accquaint yourself with it before using this code.

          ---

          ## 🫑 Acknowledgements
          > [!IMPORTANT]
          > While making the typing animation, I used [this CSS animation](https://codepen.io/alvaromontoro/pen/rNwVpdd) and [this guide](https://css-tricks.com/snippets/css/typewriter-effect/), for reference - though it has since strayed from those roots. Otherwise **everything else is my own work.**

          ---
          > This repository is updated in conjunction with my profile, mainly so it is easier to maintain. Not every commit is therefore relevant functionality - some are simply me updating my profile.