• Stars
    star
    845
  • Rank 53,541 (Top 2 %)
  • Language
    Python
  • License
    MIT License
  • Created almost 2 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Full-color SVG icons of homelab-related software, products, and brands

homelab-svg-assets

Total Icons Repo Size

Lint Lint

Latest GitHub Tag Latest Packagist Version Latest NPM Version

Over 500 full-color SVG icons of homelab-related software, products, and brands in a normalized size.

Table of Contents

Usage

⚠️ All users should read the disclaimer before using this project. ⚠️

General usage

Icons as SVGs are available in the assets directory. See ICONS.md for a preview of all icons.

Diagrams.net usage

In a Diagrams.net project, go to File-->Open Library from-->URL and paste in the URL below (it will take a second to load)

https://raw.githubusercontent.com/loganmarchione/homelab-svg-assets/main/homelab-svg-assets.xml

You can also start brand new project with the library built-in to the URL by using this link (also below)

https://app.diagrams.net/?clibs=Uhttps%3A%2F%2Fraw.githubusercontent.com%2Floganmarchione%2Fhomelab-svg-assets%2Fmain%2Fhomelab-svg-assets.xml

If you self-host Diagrams.net (it is available as a Docker container), you can replace the domain with your custom domain

https://drawio.yourdomain.com/?clibs=Uhttps%3A%2F%2Fraw.githubusercontent.com%2Floganmarchione%2Fhomelab-svg-assets%2Fmain%2Fhomelab-svg-assets.xml

CDN usage

Icons are available via jsDelivr.

Replace the icon name as needed. You can also replace latest with a specific version.

<img height="48" width="48" src="https://cdn.jsdelivr.net/npm/@loganmarchione/homelab-svg-assets@latest/assets/linux.svg"/>

PHP usage

Icons are available in PHP as a package on Packagist.

Run composer require loganmarchione/homelab-svg-assets, or add the package to your composer.json file (below)

{
    "require": {
        "loganmarchione/homelab-svg-assets"
    }
}

Icons will be available at ./vendor/loganmarchione/homelab-svg-assets/assets/linux.svg

NPM usage

Icons are available as a package on NPM.

Run npm install @loganmarchione/homelab-svg-assets, or add the package to your package.json file (below)

{
  "dependencies": {
    "@loganmarchione/homelab-svg-assets": "*"
  }
}

Icons will be available at ./node_modules/@loganmarchione/homelab-svg-assets/assets/linux.svg

Hugo usage

There is a go.mod file, so this icon pack can be used as a Hugo module. You need to be using at least Hugo 0.56.0.

In your Hugo site directory, initialize your site as a module:

hugo mod init foo

In your config.yaml (adjust for .json or .toml configuration files), add the section below:

module:
  imports:
    - path: github.com/loganmarchione/homelab-svg-assets
      mounts:
        - source: assets
          target: assets/svg/homelab-svg-assets

Download the module:

hugo mod get -u

Create a shortcode in the location below:

layouts/shortcodes/homelab.html

Copy/paste the following code into the shortcode (you can apply custom CSS using the class blah in the example):

{{/*Get the parameters */}}
{{ $path := (.Get "src") }}

{{/* Concat to create the correct path */}}
{{- $icon := resources.Get (print "svg/homelab-svg-assets/" $path ".svg" ) -}}

<span class="blah">{{- $icon.Content | safeHTML -}}</span>

Finally, in your markdown files, you can reference the icon:

{{< homelab src="linux" >}}

Legal

See DISCLAIMER.md

Other icon sets

It would be remiss of me if I did not mention other great icons sets

TODO

See TODO.md

More Repositories

1

k8s_homelab

A K3s cluster defined as code.
Shell
38
star
2

docker-php-startpage

Runs a PHP-based startpage in Docker
PHP
36
star
3

hassos-addons

Home Assistant Add-ons
Shell
31
star
4

Firefox-tweaks

Firefox user.js settings file
JavaScript
21
star
5

docker-postfixrelay

Runs Postfix (as a relay) in Docker
Shell
20
star
6

ansible-arch-linux

Ansible playbook to setup my Arch Linux machines
Jinja
15
star
7

docker-webdav-nginx

Runs a Nginx WebDav server in Docker
Shell
13
star
8

telegraf-nut-input

Gets data from Network UPS Tools (NUT), sends the results to InfluxDB via Telegraf
Python
11
star
9

docker-speedtest-influxdbv2

Runs Ookla's Speedtest CLI program in Docker, sends the results to InfluxDB
Python
9
star
10

dccd

Bash tool for Docker Compose that does Continous Deployment (DCCD)
Shell
8
star
11

graylog-edgerouter-lite

Ubiquiti EdgeRouter Lite (ERL3) Grok Extractors
6
star
12

docker-bitcoind-status

Uses Bitcoin's RPC interface to get node data and display it in a Python Flask application
HTML
6
star
13

terraform-aws-static-site

Terraform module to create a static site in AWS using CloudFront, S3, ACM, Route53, etc...
HCL
5
star
14

m5stack-slack-status-updater

Update your Slack status using an M5Stack Core2
C++
5
star
15

disable-webrtc

WebExtension that disables WebRTC
JavaScript
4
star
16

loganmarchione.com

Contains the source for https://loganmarchione.com, built via Hugo
HTML
4
star
17

dotfiles

My dotfiles
Shell
2
star
18

bash-github-backup

Bash script to backup all GitHub repositories for a given username to a tar.gz file
Shell
1
star
19

disable-ctrl-q

WebExtension that disables Ctrl+Q
JavaScript
1
star
20

certcheck

Bash script to check expiration date on SSL certificates
Shell
1
star
21

r-random

WebExtension that loads r/random from Reddit.
JavaScript
1
star