Hansei Proprietary License

Copyright (c) 2026 masshirodev (https://github.com/masshirodev)
All rights reserved.

1. Ownership

   Hansei, meaning the source code in this repository and every build made
   from it (the desktop application, its command-line and overlay helpers,
   the server, the web client, and their assets and documentation), is the
   property of masshirodev. It is licensed, not sold.

2. No licence unless granted

   Except as section 3 allows, or as masshirodev agrees in writing, you are
   granted no right to use, copy, modify, merge, publish, distribute,
   sublicense, sell, or make derivative works of Hansei, in source or binary
   form. Having access to the source code, for example as a collaborator on
   this repository, does not grant a licence of its own.

3. Using a released build

   If you obtained a build of the Hansei desktop application from an
   official channel (hansei.xyz, dl.hansei.xyz, or the hansei-bin package
   on the Arch User Repository), you may install it and run it on devices
   you own or control, use it with the Hansei service, and receive updates
   through its built-in updater.

   You may not:

   a. redistribute, sell, rent, lend, or sublicense it;
   b. remove or alter any copyright, licence, or attribution notice in it;
   c. circumvent the service's authentication, or the limits of any plan,
      such as storage quotas;
   d. decompile, disassemble, or reverse engineer it, except as section 4
      allows or as applicable law permits despite this restriction.

4. Third-party components

   Hansei includes, or is distributed with, third-party software under its
   own licences, among them FFmpeg, WebKitGTK, GTK, GStreamer and
   gtk-layer-shell. Each build lists those components and carries their
   licence texts (usr/share/licenses in the AppImage, licenses/ in the
   Windows installation). This licence does not limit any right those
   licences give you.

   In particular, for every library licensed under the GNU Lesser General
   Public License, you may modify that library, replace it in your
   installation with your modified version, and reverse engineer Hansei to
   the extent needed to debug such modifications.

5. The Hansei service

   Accounts, uploads, sessions and other use of the hosted service are also
   governed by any terms published for that service.

6. Termination

   This licence ends automatically if you break any of its terms. When it
   ends, you must stop using Hansei and delete every copy you have.

7. No warranty

   HANSEI IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.

8. Limitation of liability

   TO THE EXTENT PERMITTED BY LAW, IN NO EVENT SHALL MASSHIRODEV BE LIABLE
   FOR ANY CLAIM, DAMAGES, LOSS OF DATA OR RECORDINGS, OR OTHER LIABILITY,
   WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
   OR IN CONNECTION WITH HANSEI OR THE USE OF OR OTHER DEALINGS IN IT.

Questions about licensing: https://github.com/masshirodev
