ff-ruyijs Source Available License v1.0
=======================================

Copyright (c) 2026 cutetailbud (https://github.com/cutetailbud)

TERMS AND CONDITIONS
--------------------

1. Definitions

   "Software" means the ff-ruyijs source code, documentation, and
   accompanying files in this repository.

   "Author" means cutetailbud and any future copyright holders listed
   in this file.

   "Modification" means any derivative work based on, incorporating,
   or formed by modifying the Software, in whole or in part.

   "Distribution" means making the Software or any Modification
   available to third parties, whether by copying, publishing, hosting,
   sublicensing, or any other means of transfer.

   "Commercial Use" means any use of the Software or a Modification
   intended for or directed toward commercial advantage or monetary
   compensation, including but not limited to: selling, licensing for
   a fee, embedding in a commercial product or service, or using the
   Software to generate revenue.

   "Non-Commercial Use" means personal learning, academic research,
   evaluation, or internal testing that does not constitute Commercial
   Use.

2. Grant of Rights — Non-Commercial Use

   Subject to the terms of this License, the Author grants you a
   worldwide, royalty-free, non-exclusive, non-transferable license to
   use, copy, and modify the Software for Non-Commercial Use only.

3. Distribution of Modifications

   If you distribute a Modification, you MUST:

   (a) make the complete source code of the Modification publicly
       available under the terms of this License or a compatible
       open-source license approved by the Author;

   (b) include a prominent notice stating that you have modified the
       Software, along with a description of the changes;

   (c) retain this License file and all original copyright and
       attribution notices.

4. Commercial Use Requires Authorization

   Commercial Use of the Software or any Modification is NOT permitted
   unless you have obtained prior written authorization from the Author.

   To request a commercial license, contact the Author at:
     GitHub:  https://github.com/cutetailbud

   The Author reserves the right to grant or deny commercial licenses
   at their sole discretion and to set terms and fees for such licenses.

5. Restrictions

   You may NOT:

   (a) remove or alter any copyright, trademark, or attribution notices;

   (b) use the name, trademarks, or branding of the Author or the
       Software to endorse or promote products derived from this
       Software without prior written permission;

   (c) sublicense, sell, or redistribute the Software or Modifications
       for Commercial Use without authorization under Section 4.

6. Disclaimer of Warranty

   THE SOFTWARE 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
   NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
   CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
   TORT, OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION WITH THE
   SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

7. Limitation of Liability

   UNDER NO CIRCUMSTANCES SHALL THE AUTHOR BE LIABLE FOR ANY INDIRECT,
   INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES, OR ANY LOSS
   OF PROFITS OR REVENUE, WHETHER INCURRED DIRECTLY OR INDIRECTLY.

8. Termination

   This License and the rights granted hereunder will terminate
   automatically if you fail to comply with any of its terms. Upon
   termination, you must cease all use and distribution of the Software
   and destroy all copies in your possession.

9. Governing Law

   This License shall be governed by and construed in accordance with
   the laws of the jurisdiction in which the Author resides, without
   regard to conflict-of-law principles.

---

SUMMARY (for convenience, not legally binding):

  +  Free for personal learning, research, and non-commercial use
  +  Modifications MUST be open-sourced when distributed
  -  Commercial use REQUIRES written authorization from the Author
  -  You may NOT remove copyright or attribution notices
