Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 1.57 KB

README.md

File metadata and controls

46 lines (36 loc) · 1.57 KB

Open Source

A repository to share resources across different modules

To source data from this repository please use any of the following links

For images and other data-types

https://raw.githubusercontent.com/thevickypedia/open-source/main/images/

[OR]

https://thevickypedia.github.io/open-source/images/

Alternatively, the following can be used which will eventually redirect to raw.githubusercontent.com

It is always wise to add a fallback source when used for img tags in HTML

<img src="https://raw.githubusercontent.com/thevickypedia/open-source/main/images/no_auth.gif"
    onerror="this.src='https://example.com/no_auth.gif'"
    width="200" height="170" alt="Image" class="center">

For CSS and JS

Format:

https://[username].github.io/[repository]/[filename].js
<script src="https://thevickypedia.github.io/open-source/nightmode/night.js" defer></script>
<link rel="stylesheet" href="https://thevickypedia.github.io/open-source/nightmode/night.css">

Without GitHub pages!

  • raw.github.com cannot be used for web UI, since GitHub changed the Content-Type
  • Users may also experience (failed)net::ERR_BLOCKED_BY_ORB