obscrd
v0.2.5
Published
CLI for Obscrd — content protection SDK
Downloads
792
Maintainers
Readme
obscrd
CLI for Obscrd — content protection SDK for React.
Usage
npx obscrd init
Generate a cryptographic seed and write it to your .env.local (or .env):
npx obscrd init
# ✓ Generated seed: a7f3b2c8e1d9f4a6...
# ✓ Written to .env.local as OBSCRD_SEEDThen add it to your provider:
import { ObscrdProvider } from '@obscrd/react'
<ObscrdProvider seed={process.env.OBSCRD_SEED}>
{/* your app */}
</ObscrdProvider>npx obscrd seed
Print a random seed to stdout (useful for piping):
npx obscrd seedWhat is the seed?
The seed enables deterministic obfuscation — the same content always scrambles to the same output, ensuring consistent behavior across renders and users. It's a 32-character hex string generated from 16 random bytes.
Packages
| Package | Description | |---------|------------| | @obscrd/core | Content protection engine (obfuscation, honeypots, clipboard, devtools) | | @obscrd/react | React components (ProtectedText, ProtectedEmail, etc.) | | @obscrd/robots | AI crawler blocking (robots.txt, middleware) |
Links
License
MIT
