Skip to content

About

Backend server for TLDR Terms extension

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

TLDR Terms Server

Server used by the TLDR Terms extension for hiding API keys, rate limiting and caching. This server is used to make requests to the Gemini API and return the data to the client.

Features

  • API Key Protection: Hides your API keys from client-side code
  • Rate Limiting: Prevents abuse of your API keys
  • MongoDB Caching: Stores API responses to reduce API usage and improve response times
  • Unique Key Identification: Uses a unique tosKey from each request to identify and cache responses

Usage

Install dependencies

npm install

Set up MongoDB

This server uses MongoDB for caching API responses. You need to have MongoDB installed and running.

For detailed MongoDB setup instructions, see MongoDB Setup Guide.

Configure environment variables

Rename .env.example to .env and edit the values:

npm run dev

About

Backend server for TLDR Terms extension

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages