Making privacy policies more accessible with generative AI
Features:
Other considerations:
Note: If using VSCode, it is important to install the vscode_deno extension from the Extensions page in the text editor. (deno docs)
Once the extension is installed, run the following command to interact with the application as you are programming:
deno run --allow-net --allow-read --allow-env --watch main.tsIf completions aren't working, ensure you have a .env file formatted like so:
API_KEY=...This application uses GitHub OAuth for authentication. To set it up:
- Go to GitHub.com and sign in
- Navigate to Settings > Developer settings > OAuth Apps
- Click "New OAuth App"
- Fill in the application details:
- Application name: "Privacy Policy Summarizer"
- Homepage URL:
http://localhost:8000 - Authorization callback URL:
http://localhost:8000/oauth/callback
- Click "Register application"
- Copy the Client ID
- Generate and copy a new Client Secret
- Create a
.envfile in the project root:REDIRECT_URI= GOOGLE_SCOPE= GOOGLE_CLIENT_ID= GOOGLE_CLIENT_SECRET= API_KEY=
For production deployment, set these environment variables in your hosting
platform instead of using a .env file.
- Hono web framework documentation: https://hono.dev/docs/
- JSR for packages: https://jsr.io/
- Deno documentation: https://docs.deno.com/
By continuing, Google will share your name, email address, language preference, and profile picture with Privacy Policy Summarizer. See Privacy Policy Summarizer’s Privacy Policy and Terms of Service.