Open source license help needed
5th November 2004
Every now and then, I get an e-mail asking me to clarify the license associated with code that I’ve posted on this site, such as my date parsing script. I’m looking for an open source license that I can start slapping on things to ensure people that they can use it for whatever they want, but wading through the list of licenses is no fun at all. Here are the features I’m looking for:
- Minimal boiler-plate. I don’t want to have to copy and paste dozens of lines of legalese in to a 30 line long example script; my ideal license would allow me to “link it in” in a single line (“(c) Simon Willison 2004, released under [X] license”).
- Allows commercial use. I don’t care if people make money off something I’ve published here.
- Encourages attribution. I don’t want people feeling they have to credit me if they reuse five lines of Python I posted as an example somewhere, but I’m not averse to getting credited for more substantial contributions. I don’t want to make attribution a requirement though as I’d rather people used my code and failed to attribute me than didn’t use it at all.
- Is compatible with other licenses. I often get asked if people can include my code in other open source projects—whatever license I use needs not to get in the way of other people’s licensing aims for their own projects.
I’m tempted to just slap a note saying “this code is in the public domain” on everything and have done, but I’m not sure if there are unpleasant side effects to doing so. The only thing I want to avoid is people explicitly claiming my work as their own.
More recent articles
- llm cmd undo last git commit - a new plugin for LLM - 26th March 2024
- Building and testing C extensions for SQLite with ChatGPT Code Interpreter - 23rd March 2024
- Claude and ChatGPT for ad-hoc sidequests - 22nd March 2024
- Weeknotes: the aftermath of NICAR - 16th March 2024
- The GPT-4 barrier has finally been broken - 8th March 2024
- Prompt injection and jailbreaking are not the same thing - 5th March 2024
- Interesting ideas in Observable Framework - 3rd March 2024
- Weeknotes: Getting ready for NICAR - 27th February 2024
- The killer app of Gemini Pro 1.5 is video - 21st February 2024
- Weeknotes: a Datasette release, an LLM release and a bunch of new plugins - 9th February 2024