Publishing Code on GitHub

Comments strongly encourage users to publish their code on GitHub or similar platforms instead of Pastebin or Gists, highlighting benefits like community access, contributions, and visibility.

➡️ Stable 0.6x Open Source
3,540
Comments
19
Years Active
5
Top Authors
#2167
Topic ID

Activity Over Time

2008
15
2009
54
2010
76
2011
165
2012
246
2013
267
2014
194
2015
204
2016
190
2017
185
2018
191
2019
207
2020
231
2021
236
2022
310
2023
226
2024
219
2025
292
2026
34

Keywords

turbogist.dev GH HN DUNS CV VCS URL GitHub git.io github.com github code code github repos repo git publish use github reason openness

Sample Comments

RA_Fisher Dec 25, 2018 View on HN

If they're great, why not publish the work to GitHub?

hilop Oct 16, 2016 View on HN

If GitHub censors your code, or even if they don't, you can publish it elsewhere

biot Jul 25, 2011 View on HN

Given that you're releasing this as open source, why not put it into a GitHub account instead of Pastebin?

chris_wot Aug 18, 2018 View on HN

You should definitely put that in GitHub or the like :-)

rekttrader Oct 1, 2024 View on HN

Put the code on GitHub and make it open. It’s a shame, and yet you can ensure it a I’ll get used

dcreater Jan 14, 2024 View on HN

You can just make a GitHub repo with what you have. It'd still be valuable to the community

jewel Dec 30, 2020 View on HN

Yes! Publish them somewhere. Perhaps github or gitlab if you'd like others to also contribute.

kscaldef Mar 31, 2011 View on HN

Surely you've got something you're willing to throw up on github? No one is saying it needs to be particularly useful to anyone else; just some actually code you wrote that people can look at.

Karunamon Sep 24, 2013 View on HN

Uh.. what? Github is probably the place to put your code nowadays.

brunoborges Jan 19, 2026 View on HN

Any particular reason why you shared these files in a gist rather a repo?