jayesh0012/text-integrity-studio
0
Text Integrity Studio
A web app with:
- Frontend text utility interface
- Node backend API
- Private model-service scaffold for your own trained humanizer model
- Local plagiarism-style similarity scanner
Run The Web App
npm startOpen:
http://localhost:4173Connect Your Own Model
The web backend calls your private model through MODEL_ENDPOINT.
Example:
$env:MODEL_ENDPOINT="http://localhost:8080/humanize"
npm startWhen deployed, set MODEL_ENDPOINT to your hosted model-service URL.
Train Your Model
Put training pairs in model-service/dataset.jsonl:
{"input":"AI-looking text here","output":"Your preferred human-written version here"}Install model dependencies in a Python GPU environment, then run:
cd model-service
pip install -r requirements.txt
python train_lora.py --dataset dataset.jsonl --output-dir trained-humanizerIf you have AI-vs-human CSV files, rebuild the prepared datasets:
cd model-service
node generate_dataset.js
node prepare_real_datasets.js "C:\Users\ASUS\Downloads\ai_human_detection_v1.csv" "C:\Users\ASUS\Downloads\ai_vs_human_text.csv"Then serve it:
uvicorn serve:app --host 0.0.0.0 --port 8080Google Deployment Shape
Deploy two services:
text-integrity-studio: Node web appmodel-service: Python model API, preferably on GPU infrastructure
Set this environment variable on the Node web app:
MODEL_ENDPOINT=https://YOUR-MODEL-SERVICE-URL/humanizeSet the public website URL too, so canonical tags and the sitemap use your real domain:
PUBLIC_SITE_URL=https://yourdomain.comSEO Setup
The app includes:
- SEO title and meta description on the home page
- Structured data for the web writing app
- Crawlable content pages for writing and originality topics
robots.txtsitemap.xml- About, Contact, Privacy Policy, and Terms pages
After deployment:
- Replace
support@example.comwith your real business email. - Set
PUBLIC_SITE_URLto your real domain. - Submit
https://yourdomain.com/sitemap.xmlin Google Search Console. - Add real articles based on actual user questions, not copied or mass-produced text.
- Add Google AdSense only after the site has useful content and a privacy policy.
Commercial Readiness
See COMMERCIAL_READINESS.md for the current launch status, model quality gates, and what still needs to happen before public monetization.
