Skip to content

ara-foundation/non-paywall

Repository files navigation

To run:

npx tsx src/index.ts

API

To validate:

http://localhost:3000/validate/medet/https%3A%2F%2Fwww.economist.com%2Fscience-and-technology%2F2024%2F04%2F02%2Fa-stealth-attack-came-close-to-compromising-the-worlds-computers

Use the encodeURIComponent on the validating page

let url = `http://localhost:3000/`;
url += `${user}/`;
url += `${encodeURIComponent(webPage)}/`;
let res = await fetch(url);

About

Non-paywall for certain websites

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published