{"id":15718464,"url":"https://github.com/justintime50/assets","last_synced_at":"2026-04-30T00:05:15.577Z","repository":{"id":46129423,"uuid":"402660084","full_name":"Justintime50/assets","owner":"Justintime50","description":"A repo containing assets such as images and gifs used in my GitHub project's README files.","archived":false,"fork":false,"pushed_at":"2024-03-13T16:57:01.000Z","size":10474,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-06T03:31:55.711Z","etag":null,"topics":["assets","gifs","git","images","repo"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Justintime50.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["Justintime50"]}},"created_at":"2021-09-03T05:44:30.000Z","updated_at":"2021-12-09T16:17:13.000Z","dependencies_parsed_at":"2024-10-24T15:25:33.522Z","dependency_job_id":"b0c34cb7-14cc-4396-8fef-10fdc6d6c416","html_url":"https://github.com/Justintime50/assets","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Justintime50%2Fassets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Justintime50%2Fassets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Justintime50%2Fassets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Justintime50%2Fassets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Justintime50","download_url":"https://codeload.github.com/Justintime50/assets/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246387730,"owners_count":20769064,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["assets","gifs","git","images","repo"],"created_at":"2024-10-03T21:53:08.046Z","updated_at":"2026-04-30T00:05:10.559Z","avatar_url":"https://github.com/Justintime50.png","language":"Shell","funding_links":["https://github.com/sponsors/Justintime50"],"categories":[],"sub_categories":[],"readme":"# Assets\n\nA repo containing assets such as images and gifs used in my GitHub project's README files.\n\n[![Build](https://github.com/Justintime50/assets/workflows/build/badge.svg)](https://github.com/Justintime50/assets/actions)\n\nI'm storing non-code assets here because assets increase the Git repo size and are not easily removable from Git history. This means that clone sizes are permanently inflated; this grows quickly if ever an image is swapped out or removed, it remains in the history. By storing assets separately, we can easily swap the files whenever we want and keep Git repo sizes smaller.\n\n## Usage\n\nSimply add assets to a folder under `src` named the same as the repo to which they belong and then reference them with a link such as:\n\n`https://raw.githubusercontent.com/justintime50/assets/main/src/repo-name/showcase.png`\n\n## Development\n\n### Assets\n\nIt's important to optimize assets for the web. This will help load times as well as keep sizes small. Here are a few things to keep in mind:\n\n1. When possible, images should be `png` to support transparency. This will make them load well on a README\n1. Images should pop and have a nice color-palette. This is especially true now that GitHub supports light and dark themes. Dark icons will not show up well on the GitHub dark theme\n1. Showcase images that appear on README files should have `20-30 pixels of padding` around the image and the canvas size should traditionally not exceed `256x256` pixels (if they are icons). Images of the console should be taken of that single window\n1. Images should not exceed `2mb` in size and videos or gifs should not exceed `5mb`\n\n```bash\n# Run linting on this repo\n./utils/image-linter.sh\n```\n\n### Cleaning up Old Asset Directories\n\nDuring the process of switching assets over from being housed in a repo to being housed here, use the accompanying `asset-cleaner` tool to clean up Git history and reduce the sizes of repos (effectively clearing these assets from the repos history. Take care when passing the name of your repo as [changing git history can be dangerous](https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository).)\n\n```bash\n# Clean a repo of it's `asset` directory\n./utils/asset-cleaner.sh my-repo-name\n```\n\n## Attribution\n\n* Icons made by \u003ca href=\"https://www.flaticon.com/authors/freepik\" title=\"Freepik\"\u003eFreepik\u003c/a\u003e from \u003ca href=\"https://www.flaticon.com/\" title=\"Flaticon\"\u003ewww.flaticon.com\u003c/a\u003e\n* Icons made by \u003ca href=\"https://www.flaticon.com/free-icon/chemist_2646063?term=chemist\u0026related_id=2646063\" title=\"ultimatearm\"\u003eultimatearm\u003c/a\u003e from \u003ca href=\"https://www.flaticon.com/\" title=\"Flaticon\"\u003ewww.flaticon.com\u003c/a\u003e\n* Icons made by \u003ca href=\"https://www.flaticon.com/authors/becris\" title=\"Becris\"\u003eBecris\u003c/a\u003e from \u003ca href=\"https://www.flaticon.com/\" title=\"Flaticon\"\u003e www.flaticon.com\u003c/a\u003e\n* Icons made by \u003ca href=\"\" title=\"srip\"\u003esrip\u003c/a\u003e from \u003ca href=\"https://www.flaticon.com/\" title=\"Flaticon\"\u003ewww.flaticon.com\u003c/a\u003e\n* Icons made by \u003ca href=\"\" title=\"xnimrodx\"\u003exnimrodx\u003c/a\u003e from \u003ca href=\"https://www.flaticon.com/\" title=\"Flaticon\"\u003ewww.flaticon.com\u003c/a\u003e\n* Icons made by \u003ca href=\"https://www.flaticon.com/authors/pixel-perfect\" title=\"Pixel perfect\"\u003ePixel perfect\u003c/a\u003e from \u003ca href=\"https://www.flaticon.com/\" title=\"Flaticon\"\u003ewww.flaticon.com\u003c/a\u003e\n* Icons made by \u003ca href=\"https://www.flaticon.com/authors/smashicons\" title=\"Smashicons\"\u003eSmashicons\u003c/a\u003e from \u003ca href=\"https://www.flaticon.com/\" title=\"Flaticon\"\u003ewww.flaticon.com\u003c/a\u003e\n* Icons made by \u003ca href=\"https://www.flaticon.com/authors/creatype\" title=\"Creatype\"\u003eCreatype\u003c/a\u003e from \u003ca href=\"https://www.flaticon.com/\" title=\"Flaticon\"\u003ewww.flaticon.com\u003c/a\u003e\n* \u003ca href=\"https://www.flaticon.com/free-icons/paper\" title=\"paper icons\"\u003ePaper icons created by Freepik - Flaticon\u003c/a\u003e\n* \u003ca href=\"https://www.flaticon.com/free-icons/convert\" title=\"convert icons\"\u003eConvert icons created by Freepik - Flaticon\u003c/a\u003e\n* Docker logo used without modification\n* Golang logo used without modification\n* Laravel logo used without modification\n* Python logo used without modification\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustintime50%2Fassets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustintime50%2Fassets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustintime50%2Fassets/lists"}