Spaces:
Build error
Build error
UPIF Launch Manual π
You have the code. Now you need a business. Here is your Roadmap to Revenue.
Phase 1: Commercial Setup (Gumroad) π°
- Create Product: Go to Gumroad. Create a product named "UPIF Pro License".
- Type: "Digital Product" or "Membership".
- Price: $99/mo or $500/lifetime.
- Get Keys:
- Go to Settings > Advanced > Application.
- Copy the
Application IDandApplication Secret. - Wait! Our code actually uses the Product Permalink or simple License Key verification endpoint.
- Update Code:
- Open
upif/core/licensing.py. - Update
PRODUCT_PERMALINKwith your Gumroad product URL slug. - (Optional) If you want tighter security, implement
verify_licenseusing the official Gumroad Python client, but our currentrequestsimplementation is standard.
- Open
Phase 2: The AI Brain (The "Pro" Feature) π§
Your NeuralGuard needs a brain. You cannot ship an empty ONNX file.
- Select a Model:
- Recommended:
microsoft/deberta-v3-small(Fast, good at intent) orProtectAI/deberta-v3-base-prompt-injection(Specialized).
- Recommended:
- Convert to ONNX:
pip install optimum[onnxruntime] optimum-cli export onnx --model ProtectAI/deberta-v3-base-prompt-injection upif/data/- Rename the model to
guard_model.onnx.
- Rename the model to
- Ship It:
- Place
guard_model.onnxinsideupif/data/. - Ensure
MANIFEST.inincludes*.onnx.
- Place
Phase 3: Public Release (PyPI) π¦
Distribute the Open Core to the world.
- Build:
python dev_tools/build.py- This creates a
.whlindist/.
- This creates a
- Test Upload (TestPyPI):
pip install twine twine upload --repository testpypi dist/* - Go Live:
twine upload dist/*- Your users can now
pip install upif.
- Your users can now
Phase 4: Marketing π’
- Demo: Use the CLI in your sales videos.
upif scan "Ignore instructions"-> BLOCKED.
- Docs: Host the
INTEGRATION_GUIDE.mdon a nice secure documentation site (GitBook/Mintlify).
Good luck, CEO.