{"id":18896871,"url":"https://github.com/shakibamoshiri/badge-for-stackoverflow","last_synced_at":"2026-01-25T13:32:12.901Z","repository":{"id":128566532,"uuid":"121960711","full_name":"shakibamoshiri/badge-for-stackoverflow","owner":"shakibamoshiri","description":"badge for stackoverflow users/members","archived":false,"fork":false,"pushed_at":"2018-02-21T09:57:20.000Z","size":113,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-24T07:39:24.379Z","etag":null,"topics":["badge","badge-for-github","badge-for-stackoverflow","stackoverflow"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shakibamoshiri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2018-02-18T14:50:07.000Z","updated_at":"2018-02-21T09:20:54.000Z","dependencies_parsed_at":"2023-08-22T07:46:21.567Z","dependency_job_id":null,"html_url":"https://github.com/shakibamoshiri/badge-for-stackoverflow","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shakibamoshiri/badge-for-stackoverflow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shakibamoshiri%2Fbadge-for-stackoverflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shakibamoshiri%2Fbadge-for-stackoverflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shakibamoshiri%2Fbadge-for-stackoverflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shakibamoshiri%2Fbadge-for-stackoverflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shakibamoshiri","download_url":"https://codeload.github.com/shakibamoshiri/badge-for-stackoverflow/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shakibamoshiri%2Fbadge-for-stackoverflow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28753435,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T10:25:12.305Z","status":"ssl_error","status_checked_at":"2026-01-25T10:25:11.933Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["badge","badge-for-github","badge-for-stackoverflow","stackoverflow"],"created_at":"2024-11-08T08:35:36.074Z","updated_at":"2026-01-25T13:32:12.883Z","avatar_url":"https://github.com/shakibamoshiri.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003ebadge-for-stackoverflow\u003c/h1\u003e\n\n\u003cimg src=\"https://github.com/k-five/badge-for-git/blob/master/res/line/line5-900px-%23F80.svg\" /\u003e\n\n\u003ch1\u003eHi\u003c/h1\u003e\n\nDuring developing my app (= \u003ca href=\"https://github.com/k-five/badge-for-git\" \u003ebadge-for-git\u003c/a\u003e) I realized that I can use these badges (= SVG files) on \u003ca href=\"\"\u003emy stack-overflow profile\u003c/a\u003e  \nSo here is a guide for you that you can use it as well.  \n\n\u003ch3\u003eWhat you need:\u003c/h3\u003e  \n\n 1. an account on **github.com** (for storing the SVG files)  \n 2. create a repository (short name is preferable, mine is \u003ca href=\"https://github.com/k-five/s\"\u003es\u003c/a\u003e)  \n 3. use \u003ca href=\"https://github.com/k-five/badge-for-git\" \u003ebadge-for-git\u003c/a\u003e and create what you want  \n 4. follow the instructions I putted there (= on badge-for-git, step 1 through 6)  \n 5. then follow the below steps  \n\n\n\u003cimg src=\"https://github.com/k-five/badge-for-git/blob/master/res/line/line5-900px-%23E1.svg\" /\u003e\n\n\u003ch3\u003estep.1 click on your own SVG-file\u003c/h3\u003e  \n\n\u003cimg src=\"bfs.1.png\" /\u003e\n\n\u003cimg src=\"https://github.com/k-five/badge-for-git/blob/master/res/line/line5-900px-%23E1.svg\" /\u003e\n\n\u003ch3\u003estep.2 click on \"Raw\" button\u003c/h3\u003e\n\n\u003cimg src=\"bfs.2.png\" /\u003e\n\n\u003cimg src=\"https://github.com/k-five/badge-for-git/blob/master/res/line/line5-900px-%23E1.svg\" /\u003e\n\n\u003ch3\u003estep.3 see the source-code and notice to the \"url\"\u003c/h3\u003e\n\n\u003cimg src=\"bfs.3.png\" /\u003e\n\nIt consists of:  \n\n 1. `https://`  \n 2. `raw.`  \n 3. `github`, `user`, `content` and `.com`. altogether: `githubusercontent.com`  \n 4. your user-name, mine is `k-five`  \n 5. your repository name, mine is `s`  \n 6. branch, mine is `master`  \n 7. directory name, mine is `a`  \n 8. name of the SVG file, mine is `bpy-bfg.svg`  \n\n\u003cimg src=\"https://github.com/k-five/badge-for-git/blob/master/res/line/line5-900px-%23E1.svg\" /\u003e\n\n\u003ch3\u003estep.4  add suffix to the url\u003c/h3\u003e\n\n\u003cimg src=\"bfs.4.png\" /\u003e\n\n 1. suffix: `?sanitize=true`\n 2. press **Enter**\n 3. if want to see a clean source-code, right-click add see: \"view-source-page\" (optional)\n 4. copy the URL\n\n\u003cimg src=\"https://github.com/k-five/badge-for-git/blob/master/res/line/line5-900px-%23E1.svg\" /\u003e\n\n\u003ch3\u003estep.5 \u003c/h3\u003e\n\ngo on your **stack-overflow** account on anywhere you like use an `img` HTML tag or use stack-overflow shortcut: `![file-name](file-URL)`\n\n\n\u003cimg src=\"https://github.com/k-five/badge-for-git/blob/master/res/line/line5-900px-%23F80.svg\" /\u003e\n\n\n\u003ch3\u003eExample 1. img tag\u003c/h3\u003e\n\nfor me:  `\u003cimg src=\"https://raw.githubusercontent.com/k-five/s/master/a/pby-bfg.svg?sanitize=true\" /\u003e`\n\n\u003ch3\u003eExample 2. shortcut\u003c/h3\u003e\n\nfor me:  `![powered-by-badge-for-git](https://raw.githubusercontent.com/k-five/s/master/a/pby-bfg.svg?sanitize=true)`  \n\n\u003ch3\u003eTip. add link to it\u003c/h3\u003e\n\nby default if you add with an `\u003cimg\u003e` tag or even `![]()` shortcut you cannot click on and the SVG file refers to **nowhere**  \nSo if you want to add a link to it:\n\nfor me:  \n```html\n\u003ca href=\"https://github.com/k-five/badge-for-git\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/k-five/s/master/a/pby-bfg.svg?sanitize=true\" /\u003e\n\u003c/a\u003e\n```\n\nwith shortcut:  \n```\n[![](https://raw.githubusercontent.com/k-five/s/master/a/pby-bfg.svg?sanitize=true)]\n(https://github.com/k-five/badge-for-git)\n```\n\n\n\u003ch3\u003eresult\u003c/h3\u003e\n\u003ca href=\"https://stackoverflow.com/users/4643584/shakiba-moshiri?tab=profile\"\u003eMy Profile on Stack-Overflow\u003c/a\u003e\n\n\u003ch1\u003eif\u003c/h1\u003e\n\n 1. you have any questions, ideas, problems, etc raise an issue on \u003ca href=\"https://github.com/k-five/badge-for-git\" \u003ebadge-for-git\u003c/a\u003e\n 2. you are curious about what **sanitize** does see \u003ca href=\"https://www.w3schools.com/php/php_filter.asp\"\u003ew3schools.com\u003c/a\u003e\n\n\u003cimg src=\"https://github.com/k-five/badge-for-git/blob/master/res/line/line5-900px-%23E1.svg\" /\u003e\n\n\u003ch1\u003etroubleshooting\u003c/h1\u003e\n\n - if you did not get the correct result, make user the **URL** is valid and correct, the `?sanitize=true` is vital!  \n - if you changed a file (= SVG) or wanted to replace it, it is better to clean you **cache** otherwise may do do not get the result  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshakibamoshiri%2Fbadge-for-stackoverflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshakibamoshiri%2Fbadge-for-stackoverflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshakibamoshiri%2Fbadge-for-stackoverflow/lists"}