-
Notifications
You must be signed in to change notification settings - Fork 3
/
env.local.txt
44 lines (31 loc) · 1.99 KB
/
env.local.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
The below keys are must have keys
// Supabase envs
// once you create a project you need to add the following keys that is given by supabase to the project
// supabase for production
// when in production the app will point out to these keys
SUPABASE_JWT_SECRET_KEY
SUPABASE_SERVICE_KEY
NEXT_PUBLIC_SUPABASE_ANON_KEY
NEXT_PUBLIC_SUPABASE_URL
// urls
NEXT_PUBLIC_VERCEL_URL -> the url after app is deployed on vercel
The envs marked as OPTIONAL are not needed for the app the run
NEXT_PUBLIC_SITE_URL -> the url after app is deployed on vercel, used for sitemap (OPTIONAL, if not given then the site map will not be generated)
// for image caption generation
IMAGE_CAPTION_TOKEN -> https://api-inference.huggingface.co/models/nlpconnect/vit-gpt2-image-captioning (this is the hugging face model used) (OPTIONAL, if not given then the image caption will not be generated)
IMAGE_CAPTION_URL -> hugging face api key (OPTIONAL, if not given then the image caption will not be generated)
// invite email, add the keys from sentry
SENDGRID_KEY (OPTIONAL, if this is not there then sendgrid will not work)
SENTRY_DSN (OPTIONAL, if this is not there then sentry will not work)
// token for screenshot
SCREENSHOT_API as per https://github.com/timelessco/screenshot-api (OPTIONAL, if this is not there then the bookmarks screenshots will not work)
SCREENSHOT_TOKEN as per https://github.com/timelessco/screenshot-api (OPTIONAL, if this is not there then the bookmarks screenshots will not work)
// if you want the app to point out to different supabase projects based on dev and prod then you can use these below env variables
// all the env variables in the below OPTIONAL will only point out in dev mode
OPTIONAL keys:
DEV_SUPABASE_JWT_SECRET_KEY
DEV_SUPABASE_SERVICE_KEY
NEXT_PUBLIC_DEV_SUPABASE_ANON_KEY
NEXT_PUBLIC_DEV_SUPABASE_URL
RECOLLECT_SERVER_API (OPTIONAL, this is the recollect server url where some BE services are hosted)
GOOGLE_GEMINI_TOKEN (OPTIONAL, this is used to generate the embeddings for AI related tasks)