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
- Host: GitHub
- URL: https://github.com/mikael-ros/tool-card
- Owner: mikael-ros
- License: mit
- Created: 2024-03-30T15:45:57.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-14T21:20:06.000Z (almost 2 years ago)
- Last Synced: 2024-09-15T05:48:45.632Z (over 1 year ago)
- Topics: github-profile, github-profile-card, github-readme, profile, profile-readme
- Homepage: https://github.com/mikael-ros/mikael-ros/blob/main/tools.md
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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

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: ````. 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.
- π¦ Racoon Tool
- π Girlboss
- ``. 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.
- π¦ Racoon Tools
- π Silly
- π Grapes
- `` element with the class set to one of the above, like:
```html - π¦ Racoon Tool
- π¦ Racoon.js
- π Girlboss
- πͺ Proficient
- π Good
- π Average
- π€ Below average
- π‘ Accquainted
- π§ Learning
```html
π΅ Category
```
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 ``
```
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
πΊοΈ Legend
```
> [!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. - π¦ Racoon Tools
```html
π΅ Category
```
##### ποΈ Nested categories
You can also nest categories, by putting an ``
- `` inside of one of the ``