How to host text files on Github

Continuing the discussion from How to embed files hosted on Github:

If your favourite plugin is not on Github, how do you upload and host CSS and JS files on Github?

1. Register an account on Github

So you can update/manage your hosted files.

2. Go to https://gist.github.com

3. Paste filename including extension

4. Paste file contents

5. Click “Create secret gist”

6. Click on “Raw”

7. Follow instructions from How to embed files hosted on Github

Note that you can only host text files, if a plugin requires images or other assets, you have to find a different host for the plugin.


See also:

How to embed files hosted on Github

Also, feel free to contact me for further code help and/or customization of third-party plugins

11 Likes