Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Appearance

Unlicense Yourself

Set Your Code Free

What is the Unlicense?

The Unlicense is a template fordisclaiming copyright monopoly interest in software you've written; in other words, it is a template for dedicating your software to thepublic domain. It combines a copyright waiverpatterned after thevery successful public domainSQLite project with the no-warranty statement from the widely-usedMIT/X11 license.

Why Use the Unlicense?

Because you have more important things to do than enriching lawyers or imposing petty restrictions on users of your code. How often have you passed up on utilizing and contributing to a great software library just because itsopen source license was not compatible with your own preferredflavor of open source? How many precious hours of your life have you spent deliberating how to license your software or worrying about licensing compatibility with other software? You will never get those hours back, but here's your chance to start cutting your losses. Life's too short, let's get back to coding.

The Unlicense

To opt out of the copyright industry's game altogether and set your code free, put your next software project into thepublic domain using the following (un)licensing statement:

This is free and unencumbered software released into the public domain.Anyone is free to copy, modify, publish, use, compile, sell, ordistribute this software, either in source code form or as a compiledbinary, for any purpose, commercial or non-commercial, and by anymeans.In jurisdictions that recognize copyright laws, the author or authorsof this software dedicate any and all copyright interest in thesoftware to the public domain. We make this dedication for the benefitof the public at large and to the detriment of our heirs andsuccessors. We intend this dedication to be an overt act ofrelinquishment in perpetuity of all present and future rights to thissoftware under copyright law.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OFMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OROTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OROTHER DEALINGS IN THE SOFTWARE.For more information, please refer to <https://unlicense.org/>

TIP

In a saner world, you would only need the first one or two paragraphs. For the time being you'll probablywant to retain the whole shebang. (You should feel free, though, to leave out the last line containing the link to this site, if that's your preference.)

You would traditionally put the above statement into a file namedCOPYING orLICENSE. However, to explicitly distance yourself from the whole concept of copyright licensing, we recommend that you put your unlicensing statement in a file namedUNLICENSE. Doing so also means that your project can more easily be found on e.g.GitHub orBitbucket, enabling others to reuse your code in their own unencumbered public domain projects. When publishing your code to registries such as NPM or PyPI, set the license field toUnlicense to mark the usage of this license.

For a comprehensive listing of software using the Unlicense,google for the first line of the Unlicense. It was purposely worded uniquely, which means that all the returned search results are likely to relate to the Unlicense in some way.

Unlicensing Contributions

In order to ensure your project remains completely free and unencumbered by anyone's copyright monopoly, it is advisable that you ask any major contributors to explicitly dedicate their code-base contributions to the public domain.

This removes any possible ambiguity as to what terms somebody might have thought they were contributing under, in case of a future dispute. These concerns are not unique to public domain software. Most large, established open-source projects have a Contributor License Agreement (CLA) process, of varying degrees of formality.

At minimum, you might ask your contributors to accompany anynon-trivial patches with a simple statement like the following:

I dedicate any and all copyright interest in this software to thepublic domain. I make this dedication for the benefit of the public atlarge and to the detriment of my heirs and successors. I intend thisdedication to be an overt act of relinquishment in perpetuity of allpresent and future rights to this software under copyright law.

Better yet is to ask the major contributors todigitally sign a more explicit copyright release (see an exampleWAIVER file), and then to keep a record of such signatures in anAUTHORS file accompanying your software. UsingGnuPG, contributors can sign a copyright waiver file as follows:

$ gpg --no-version --armor --sign WAIVER

Note that if a contributor makes significant changes or enhancements in their capacity as an employee of some formal organization, then the above may be insufficient and you would additionally need to ask for a copyright disclaimer signed by a company officer. For more information, have a look athow the SQLite project handles this. The Free Software Foundation (FSF) alsoprovides an example of a simple copyright disclaimer to be signed by an employer.

TIP

For a concrete example of this contributor process, seehow the unlicensed RDF.rb project has handled this.

Unlicensed Free Softwarewip

Here follows a sampling of some excellent software projects that have already adopted the Unlicense or a derivative thereof:

ProjectSummaryLinks
ASIMOV PlatformA polyglot development platform for trustworthy, neurosymbolic AI.🔗⬇️
furlURL parsing and manipulation made easy.🔗⬇️
gl3wSimple OpenGL core profile loader.🔗⬇️
jslintThe JavaScript code quality and coverage tool.🔗⬇️
KakouneAn experimental text editor heavily inspired by Vim.🔗⬇️
MinizA single-source-file, high-performance deflate/inflate compression library with a zlib-compatible API.🔗⬇️
NearDropA partial implementation of Google's Nearby Share/Quick Share for macOS.🔗⬇️
node-rdfAn ECMAScript/Node.js library for handling RDF data.🔗⬇️
PoolboyA hunky Erlang worker pool factory.🔗⬇️
Postgres.jsThe fastest full-featured PostgreSQL client for Node.js, Deno, Bun, and Cloudflare.🔗⬇️
ProtoflowProtoflow implements flow-based programming (FBP) for Rust using Protocol Buffers messages.🔗⬇️
pytubeA lightweight, dependency-free Python library (and command-line utility) for downloading YouTube videos.🔗⬇️
RDF.rbA Ruby library for working with Resource Description Framework (RDF) data.🔗⬇️
RDF.rsA Rust library for working with Resource Description Framework (RDF) data.🔗⬇️
ripgrepA line-oriented search tool that recursively searches the current directory for a regex pattern.🔗⬇️
RSS-BridgeA PHP web application that generates RSS feeds for websites that don't have one.🔗⬇️
stbA set of single-file public domain libraries for C/C++.🔗⬇️
Tor.rbA Ruby library for interacting with the Tor anonymity network.🔗⬇️
Translate ShellA command-line translator powered by Google Translate, Bing Translator, Yandex.Translate, and Apertium.🔗⬇️
Tween-o-MaticA macOS application for designing CAMediaTimingFunction animation curves.🔗⬇️
UNAiming to write a public domain all-purpose standard library for Java.🔗⬇️
WjCryptLibA collection of cryptographic functions written in C.🔗⬇️
xsvA command-line program for indexing, slicing, analyzing, splitting, and joining CSV files.🔗⬇️
youtube-dlA command-line program to download videos from YouTube.com and a few more sites.🔗⬇️
yt-dlpA feature-rich command-line audio/video downloader.🔗⬇️

For more projects,search GitHub for repositories using the Unlicense. (As of November 2024, this search returned 358,000+ distinct repositories.)

For the most comprehensive listing of software using the Unlicense,google for the first line of the Unlicense.

TIP

If you would like your own project to be potentially added to this list, pleasecreate a pull request on theRegistry of Unencumbered Software Projects or tweet an addition suggestion to@bendiken on X.

Public Domain Software

Some examples of well-known public domain orlicense-free software libraries and applications:

  • CERN httpd, the original World Wide Web daemon developed by Tim Berners-Lee, wasin the public domain.
  • SQLite, themost widely-deployed SQL database in the world, isin the public domain.
  • qmail, thesecond-most popular MTA on the Internet, isin the public domain.
  • djbdns, thesecond-most popular DNS server software on the Internet, is in the public domain.
  • libdjb, a project aiming to make the excellent libraries from Dan Bernstein available to a wider public by extracting them from his packages and providing a minimal Makefile for each library.
  • NaCl, an easy-to-use high-speed software library for network communication, encryption, decryption, signatures, etc.,is in the public domain.
  • BLAST, one of the most widely used bioinformatics programs, is in the public domain.
  • dlmalloc, a widely-used memory allocator implementation for C, is in the public domain.
  • I2P, an anonymous overlay network implementation, is largelyin the public domain.
  • HLA, a high-level assembler for the x86 architecture, is in the public domain.
  • CMUCL, a popular implementation of theCommon Lisp programming language, is mostly in the public domain.
  • SBCL, another popular Common Lisp implementation, is likewise mostlyin the public domain.
  • CLIPS, a widely-used forward-chaining, rule-based inference engine, is in the public domain.
  • byacc, the BerkeleyYacc parser generator, is in the public domain.
  • Lemon, a thread-safe LALR(1) parser generator, is in the public domain.
  • re2c, a high-performance lexer generator, is in the public domain.
  • Docutils, the Python text-processing system, is mostly in the public domain.
  • LibTomCrypt, a portable cryptographic toolkit for C, is in the public domain.
  • LibTomMath, a portable number theoretic multiple-precision integer library for C, is in the public domain.
  • C++ Big Integer Library, a library for integer arithmetic, is in the public domain.
  • PyCrypto, the Python cryptography toolkit, is largely in the public domain.
  • Crypto++, a cryptographic library for C++, is mostly in the public domain.
  • MPICH2, a high-performance implementation of theMPI standard, is largely in the public domain.
  • MinGW's runtime, which provides POSIX compatibility for Windows, isin the public domain.
  • Phyz, a soft body dynamics physics engine for Windows, is in the public domain.
  • NBDS, a C library for various lock-free algorithms (including a lock-free hash table), is in the public domain.
  • Djehuty, a fully-verifiable operating system written in the D programming language, is in the public domain.
  • XOS, a multitasking operating system for the x86 architecture, is in the public domain.
  • snafu, a small operating system written in assembly language, is in the public domain.
  • PDCLib, a minimal C standard library implementation, is in the public domain.
  • PDPCLIB, another C standard library implementation, is in the public domain.
  • PDOS, a DOS-compatible operating system, is in the public domain.
  • SubC, a fast and simple compiler for a clean subset of the C programming language, is in the public domain.
  • WPDCC, a C preprocessor and compiler implementation, is in the public domain.
  • c11threads.h, a simple C11 threads implementation based on POSIX threads, is in the public domain.
  • mpkg, a minimalist package manager for *nix systems, is in the public domain.

For other listings of public domain software, seeWhoow,Wikipedia,SourceForge,Freecode,Ohloh,Google Code Hosting,Alioth,Savannah,Launchpad,CodePlex,RubyForge and thePython Cheeseshop.

Other Popular Unlicenses

Some other ways to set your code free:

Unlicensing Resources

If setting your code entirely free still seems a somewhat daunting prospect, try these perspectives on for size:

Find and follow us onTwitter,Facebook,Reddit, andTumblr.


[8]ページ先頭

©2009-2025 Movatter.jp