Initial commit

This commit is contained in:
TYt50
2026-01-17 16:34:39 +08:00
commit 73b8a6d23f
72 changed files with 45972 additions and 0 deletions

73
docs/COPYRIGHT Normal file
View File

@@ -0,0 +1,73 @@
LittleWhiteBox (小白X) - Copyright and Attribution Requirements
================================================================
Copyright 2025 biex
This software is licensed under the Apache License 2.0
with additional custom attribution requirements.
MANDATORY ATTRIBUTION REQUIREMENTS
==================================
1. AUTHOR ATTRIBUTION
- The original author "biex" MUST be prominently credited in any derivative work
- This credit must appear in:
* Software user interface (visible to end users)
* Documentation and README files
* Source code headers
* About/Credits sections
* Any promotional or marketing materials
2. PROJECT ATTRIBUTION
- The project name "LittleWhiteBox" and "小白X" must be credited
- Required attribution format: "Based on LittleWhiteBox by biex"
- Project URL must be included: https://github.com/RT15548/LittleWhiteBox
3. SOURCE CODE DISCLOSURE
- Any modification, enhancement, or derivative work MUST be open source
- Source code must be publicly accessible under the same license terms
- All changes must be clearly documented and attributed
4. COMMERCIAL USE
- Commercial use is permitted under the Apache License 2.0 terms
- Attribution requirements still apply for commercial use
- No additional permission required for commercial use
5. TRADEMARK PROTECTION
- "LittleWhiteBox" and "小白X" are trademarks of the original author
- Derivative works may not use these names without explicit permission
- Alternative naming must clearly indicate the derivative nature
VIOLATION CONSEQUENCES
=====================
Any violation of these attribution requirements will result in:
- Immediate termination of the license grant
- Legal action for copyright infringement
- Demand for removal of infringing content
COMPLIANCE EXAMPLES
==================
✅ CORRECT Attribution Examples:
- "Powered by LittleWhiteBox by biex"
- "Based on LittleWhiteBox (https://github.com/RT15548/LittleWhiteBox) by biex"
- "Enhanced version of LittleWhiteBox by biex - Original: [repository URL]"
❌ INCORRECT Examples:
- Using the code without any attribution
- Claiming original authorship
- Using "LittleWhiteBox" name for derivative works
- Commercial use without permission
- Closed-source modifications
CONTACT INFORMATION
==================
For licensing inquiries or attribution questions:
- Repository: https://github.com/RT15548/LittleWhiteBox
- Author: biex
- License: Apache-2.0 WITH Custom-Attribution-Requirements
This copyright notice and attribution requirements must be included in all
copies or substantial portions of the software.

33
docs/LICENSE.md Normal file
View File

@@ -0,0 +1,33 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
Copyright 2025 biex
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
ADDITIONAL TERMS:
In addition to the terms of the Apache License 2.0, the following
attribution requirement applies to any use, modification, or distribution
of this software:
ATTRIBUTION REQUIREMENT:
If you reference, modify, or distribute any file from this project,
you must include attribution to the original author "biex" in your
project documentation, README, or credits section.
Simple attribution format: "Based on LittleWhiteBox by biex"
For the complete Apache License 2.0 text, see:
http://www.apache.org/licenses/LICENSE-2.0

95
docs/NOTICE Normal file
View File

@@ -0,0 +1,95 @@
LittleWhiteBox (小白X) - Third-Party Notices and Attributions
================================================================
This software contains code and dependencies from various third-party sources.
The following notices and attributions are required by their respective licenses.
PRIMARY SOFTWARE
================
LittleWhiteBox (小白X)
Copyright 2025 biex
Licensed under Apache-2.0 WITH Custom-Attribution-Requirements
Repository: https://github.com/RT15548/LittleWhiteBox
RUNTIME DEPENDENCIES
====================
This extension is designed to work with SillyTavern and relies on the following
SillyTavern modules and APIs:
1. SillyTavern Core Framework
- Copyright: SillyTavern Contributors
- License: AGPL-3.0
- Repository: https://github.com/SillyTavern/SillyTavern
2. SillyTavern Extensions API
- Used modules: extensions.js, script.js
- Provides: Extension framework, settings management, event system
3. SillyTavern Slash Commands
- Used modules: slash-commands.js, SlashCommandParser.js
- Provides: Command execution framework
4. SillyTavern UI Components
- Used modules: popup.js, utils.js
- Provides: User interface components and utilities
BROWSER APIS AND STANDARDS
==========================
This software uses standard web browser APIs:
- DOM API (Document Object Model)
- Fetch API for HTTP requests
- PostMessage API for iframe communication
- Local Storage API for data persistence
- Mutation Observer API for DOM monitoring
JAVASCRIPT LIBRARIES
====================
The software may interact with the following JavaScript libraries
that are part of the SillyTavern environment:
1. jQuery
- Copyright: jQuery Foundation and contributors
- License: MIT License
- Used for: DOM manipulation and event handling
2. Toastr (if available)
- Copyright: CodeSeven
- License: MIT License
- Used for: Notification display
DEVELOPMENT TOOLS
=================
The following tools were used in development (not distributed):
- Visual Studio Code
- Git version control
- Various Node.js development tools
ATTRIBUTION REQUIREMENTS
========================
When distributing this software or derivative works, you must:
1. Include this NOTICE file
2. Maintain all copyright notices in source code
3. Provide attribution to the original author "biex"
4. Include a link to the original repository
5. Comply with Apache-2.0 license requirements
6. Follow the custom attribution requirements in LICENSE.md
DISCLAIMER
==========
This software is provided "AS IS" without warranty of any kind.
The author disclaims all warranties, express or implied, including
but not limited to the warranties of merchantability, fitness for
a particular purpose, and non-infringement.
For complete license terms, see LICENSE.md
For attribution requirements, see COPYRIGHT
Last updated: 2025-01-14