r/github • u/Decent_Run9628 • Oct 27 '26
Discussion On GitHub, what shouldn't you forget before releasing a project and spreading it to the public?
As a person who's still learning development, i would like to understand what are your tips and essential checks before making a project visible, based on your own experience
59
Upvotes
77
u/NullPounce Oct 27 '26
set email to private.
35
u/brunocborges Oct 27 '26
NOTICES.txt with all 3rd party software your project uses, and their licenses. Automate this.
LICENSE
CONTRIBUTING.md
Issue and PR templates. Disable PR and/or issues if you don't want to review incoming stuff.
A mailing list or Discord I'd you want to engage community - depends on what type of user your project aims for.
Tight control over GH Actions workflows because you have limited free minutes (unless you are willing to pay for more).
A good website landing page doesn't hurt.
Binaries/releases for low friction evaluation.
13
u/Felfedezni Oct 27 '26
Add a license
11
u/brainExploded99 Oct 27 '26
Don't leave any remnant information about your machine, keys, etc
7
u/Immediate-Welder999 Oct 27 '26
redact secrets before you push your code, you can use prismor for it
8
u/therealkevinard Oct 27 '26
Re-read your commit history because others certainly will.
That one sleepy 2am commit 3 months ago where you included the prod db credentials can bite you.
Depending on what you have in history, imo I wouldn’t rule out a hard re-init.
8
u/throwaroo202020 Oct 27 '26
Squash your commits.
17
u/JacobStyle 29d ago
Everybody in this thread is being so careful. Meanwhile, I dumped all my disorganized, loosely commented, magic number heavy video game cheats on there with nothing but a readme.md saying "These are my video game cheats." Using Github like a 2006 Youtuber.
7
u/Slight-Prize9661 29d ago
Don't upload any .env variables or api keys
4
u/EveningCandle862 Oct 27 '26 edited Oct 27 '26
Double-check your personal email isn't exposed in commits.
(if this matters to you)
Squash will not solve this, you may have to use things like filter-branch/filter-repo to rewrite the commit history for the repository if you already pushed.
And of course, change the privacy settings for your email before this is done under Github account settings.
2
u/KindDigital 29d ago
Dang I’m a newbie and learning lots on this thread
1
u/serverhorror 29d ago
It's a marathon, nit a sprint. No one is looking for your project but for a solution to their problem.
If you want people to use your stuff, make sure your reputation is good (e.g. by having a history in well known open source Projects)
1
u/YourLastCall 29d ago
I honestly thought about just remaking the repo with the clean code once I'm done. Change the name keep my stuff private. Thoughts?