Skip to content

About

Making privacy policies more accessible with generative AI

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

50 Commits

Folders and files

Repository files navigation

Privacy Policy Summarizer

Making privacy policies more accessible with generative AI

Implementation

Features:

Other considerations:

Installation

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.ts

If completions aren't working, ensure you have a .env file formatted like so:

API_KEY=...

Authentication Setup

This application uses GitHub OAuth for authentication. To set it up:

  1. Go to GitHub.com and sign in
  2. Navigate to Settings > Developer settings > OAuth Apps
  3. Click "New OAuth App"
  4. Fill in the application details:
    • Application name: "Privacy Policy Summarizer"
    • Homepage URL: http://localhost:8000
    • Authorization callback URL: http://localhost:8000/oauth/callback
  5. Click "Register application"
  6. Copy the Client ID
  7. Generate and copy a new Client Secret
  8. Create a .env file 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.

Useful Resources

Privacy

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.

About

Making privacy policies more accessible with generative AI

Resources

Stars

1 star

Watchers

1 watching

Forks

Used by

Contributors

Languages