Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ilyaigpetrov/8cb54be4a9bf770a58cf410905fc1569 to your computer and use it in GitHub Desktop.
Save ilyaigpetrov/8cb54be4a9bf770a58cf410905fc1569 to your computer and use it in GitHub Desktop.
How to publish articles as GitHub Gists πŸ™ https://git.io/gistpub | by https://git.io/ilyaigpetrov

How To Use GitHub Gists For Publishing Articles

GitHub Gists may be used not only for code snippets sharing but as a publishing platform for your articles.

Features And Restrictions Of GitHub Gists

Each gist is a git repo with restrictions and features:

  • You can't create folders in any branch of the repo.
  • Each file in the master branch larger than 1MB risks to be truncated so you can't add zip archive to master. But you may keep additional large files at another branches which can't be viewed on the gist page.
  • If you want to use images in your article but wish non-embedded images to be hidden on the gist page then you may keep them in non-master branch and reference by ./<id of your gist>/raw/<commit hash>/foobar.jpg.
  • You may add download link for an archive of any branch, it looks like https://gist.github.com/<username>/<gist id>/archive/<name of the branch>.zip.

Syndication

RSS is provided for your GH Gist profile so people may subscribe if they don't mind receiving every step you make. RSS address looks like https://gist.github.com/ilyaigpetrov.atom.

Mail subscriptions may be created with rss-to-email services like one provided by MailChimp for free.

Custom Shortened URLs

You may create short links like https://git.io/boost-win10, see instructions here.

Erasing History Of Commits

If you want to wipe clean a gist repo but wish to preserve all the links on it (so you don't want to delete it) then you may apply git push to an empty repo with a force flag.

Files Order

Files on the gist page are ordered alphanumerically. If you wish to change order of files then add prefixes like _0_File One.md or _1_File Two.jpg to filenames.

Examples Of Articles

Generating List Of Gists

You may use https://github.com/ilyaigpetrov/gistpub for generating a list of gists like the one below.

  1. How to publish articles as GitHub Gists πŸ™ https://git.io/gistpub β˜…1 2019-7-11
  2. Fight Cheburnet πŸ”₯ https://git.io/fight-cheburnet ⬀(β—πŸ’‘β—)⬀ β˜…1 2019-6-30
  3. Kodi On Raspian On RPI0 Issues | https://git.io/rpi0-kodi β˜…1 2019-6-29
  4. Raspberry PI Zero Wi-Fi Test | https://git.io/rpi0-wifi β˜…1 2019-6-23
  5. F3 Test of Microdata 32GB Micro SD Card | http://www.ansonchina.com β˜…0 2019-6-22
  6. My Sad Experience With Raspberry Pi Zero WH | https://git.io/ilyaigpetrov-rpi0 β˜…1 2019-6-21
  7. Running IPFS Node On A Raspberry Pi Zero | https://git.io/rpi0-ipfs β˜…1 2019-6-8
  8. Gentoo Xorg Config For Two Layouts on Gentoo β˜…0 2019-5-30
  9. Hosting Simple Static Site on Appengine Standard for Free β˜…1 2019-4-25
  10. Evaluate the Risk of Browser Extension Before Installing It by Reading the Source Code β˜…2 2019-4-24
  11. Request Kitchen Extension For FireFox And Chromium | https://github.com/ilyaigpetrov/request-kitchen β˜…0 2019-3-1
  12. matrix-js-peek-into-room.js β˜…0 2018-11-15
  13. Ways of Handling Rejected Promises in JavaScript | https://git.io/js-rejections β˜…1 2018-8-26
  14. How to Configure Hapi Style Guide β˜…0 2018-5-17
  15. How To Use Golang Framer? https://git.io/how-to-use-golang-framer β˜…0 2018-1-13
  16. Why My .tk Site Was Deleted by Freenom? β˜…0 2017-9-27
  17. ilyaigpetrov β˜… https://git.io/ilyaigpetrov β˜…1 2017-6-12
  18. https://crbug.com/639217 β˜…0 2017-1-28
  19. Win10 for Slow PCs | https://git.io/boost-win10 β˜…10 2016-10-17
  20. АргумСнты ΠΏΡ€ΠΎΡ‚ΠΈΠ² Ρ†Π΅Π½Π·ΡƒΡ€Ρ‹ β˜…1 2015-12-20
  21. Meteor Alternatives Per Feature β˜…120 2015-10-17
  22. Client/Server Data Synchronization Solutions β˜…6 2015-10-16
  23. C vs Java for Graph Traversal β˜…1 2015-9-22
  24. Retrieve .pyc Grammar from Python's Sources β˜…2 2015-8-12
  25. ASP.NET vs Node.js for Backend Programming β˜…164 2015-8-11

Generated by https://github.com/ilyaigpetrov/gistpub

@ilyaigpetrov
Copy link
Author

@mrmedonlinepharmacy, please, publish your article at https://gist.github.com/mrmedonlinepharmacy, not here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment