Add cxyz Android project structure and initial configuration

- Introduced a new Flutter project for the cxyz Android manga/comic reader, including essential files such as pubspec.yaml, AndroidManifest.xml, and Gradle configuration.
- Added .gitignore files to exclude unnecessary files and directories for both the main project and Android-specific files.
- Implemented initial README.md with project description, features, setup instructions, and API details for ComicLand, MangaRead, and MangaTown.
- Configured analysis options and dependencies in pubspec.yaml to support Flutter development.
- Established a pnpm workspace and lockfile for dependency management.
- Included various Android resources such as icons, styles, and launch backgrounds for a complete application setup.
This commit is contained in:
2026-08-29 17:50:31 +07:00
parent 6e7f1ced35
commit a7c6058540
105 changed files with 16721 additions and 275 deletions
@@ -0,0 +1,33 @@
// ComicLand API / CDN constants (port of cxyz `src/comicland/constants.js`).
const comicLandHosts = <String>['comicland.org', 'www.comicland.org'];
const comicLandOrigin = 'https://comicland.org/';
const comicLandApiOrigin = 'https://api.comicland.org';
/// Axios-style base used by the SPA: `https://api.comicland.org/api`.
const comicLandApiBase = '$comicLandApiOrigin/api';
const comicLandDefaultListing =
'https://comicland.org/comic/the-delinquent-girl';
const comicLandUserAgent =
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 '
'(KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36';
const comicLandApiHeaders = <String, String>{
'Accept': 'application/json,text/plain,*/*',
'Accept-Language': 'en-US,en;q=0.9',
'Origin': 'https://comicland.org',
'Referer': comicLandOrigin,
'User-Agent': comicLandUserAgent,
};
const comicLandCdnHeaders = <String, String>{
'Accept': 'image/avif,image/webp,image/apng,image/*,*/*;q=0.8',
'Accept-Language': 'en-US,en;q=0.9',
'Referer': comicLandOrigin,
'Origin': 'https://comicland.org',
'User-Agent': comicLandUserAgent,
};