Licenses
What otok generates is yours
Section titled “What otok generates is yours”otok is licensed under the GNU General Public License, version 3, with an additional permission, the Otok Output Exception. The exception gives you a perpetual, irrevocable, royalty-free permission to use, change and distribute everything otok generates when it runs, under terms of your choice, proprietary software included, and free of the GPL’s conditions:
Package.swift, module maps, shims and wrappers,otok-config.cmakeand other build files;- generated headers, toolchain files,
Info.plistfiles and privacy manifests; Acknowledgements.mdand.plist,otok.lock, the output ofotok metadata;- the packaged libraries as otok packaged them.
Using otok to build your app, closed-source or not, puts no obligation of the GPL on your app.
What keeps its own license
Section titled “What keeps its own license”- The libraries keep their licenses: OpenSSL’s Apache 2.0, Boost’s BSL, and so on. otok collects their license
files into the output and into
Acknowledgements.mdandAcknowledgements.plist, for the notices your app must show.[policy] deny-licensesorallow-licensesinotok.tomlkeeps licenses you cannot accept out of your project, andotok auditchecks the lock against them. - Recipes are licensed by their publishers. The recipes of
apotocki/…are in otok-dev/recipes. - The index’s data (the entries, library and publisher files) is public domain (CC0).
- Your project’s files, and anything you put into the output yourself, are yours as before.
otok itself
Section titled “otok itself”If you change otok and distribute your version, the GPL applies to it: its source must be available under the same
terms. The source of every release is at otok-dev/otok, and otok licenses
shows the licenses of the libraries built into otok.
This documentation is licensed under CC BY 4.0, and its examples are public domain (CC0): copy them into your projects.
© 2026 Alexander A Pototskiy and contributors. Text CC BY 4.0; examplesCC0.