Leverage Unkey’s short-lived keys to grant temporary access to digital content (e.g., e-books, videos, or streams), expiring after a set duration.
Leverage Unkey’s short-lived keys to grant temporary access to digital content (e.g., e-books, videos, or streams), expiring after a set duration.
Many platforms lack simple time-based access controls or rely on complex, time-consuming setups. Unkey offers a quick, dynamic solution for trial versions, short-term access, or educational content management.
Ideal for educational platforms, research papers, and subscription-based news services.
This demo provides time-limited access to specific pages of a PDF, without allowing full downloads. Each page request is authenticated with Unkey, ensuring access is controlled and expires as needed. The app streams individual PDF pages as users navigate through them.
create_key
, read_key
, encrypt_key
and decrypt_key
.1git clone git@github.com:unrenamed/unkey-pdf-view2cd unkey-pdf-view
1pnpm install
.env
or .env.local
file and add the following:1UNKEY_ROOT_KEY=your-root-key2UNKEY_EBOOK_API_ID=your-ebook-api-id
1pnpm dev
2500 verifications and 100K successful rate‑limited requests per month. No CC required.