Skip to main content

How to give credit to open source you've used

In your source code

Check this blog's LICENSE.md. It has some lines that follow this structure:

[This thingy I used] is made by [person or team], available under [licence].

That is how Creative Commons suggests you do it.

I put a lot of links in, but that's a bonus, not super needed.

You might want LICENSE.md to be just the licence for your own work. In that case, put these credits in README.md or somewhere else easy to find.

It's common not to give credit to things you use that aren't actually in the source code:

I think it's nice to say thanks to those people anyway.

In distribution

If you've made your project into a binary and other people see it, they should still be able to access the same credits somewhere. (This is required if your dependencies use something like MIT, but not if they use something like zlib. Can you spot the difference in wording?)

You could include the same LICENSE.md/README.md together with the binary.

Or you might make a 'proper' credits page inside the binary itself. This makes sense if it's a game. But it's a bit more effort.