forked from VishwaGauravIn/twitter-auto-poster-bot-ai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SECRETS.js
19 lines (16 loc) · 931 Bytes
/
SECRETS.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//? It is advisable to use environment variables instead of directly putting secrets in repository file but I have skipped this part as it would become complicated for many.
//? Alternatively you can download the repository instead or forking and upload it from your account and keep it private, in that way, your secrets will not be exposed to the public.
require("dotenv").config(); // Load environment variables from .env file
// const APP_KEY = "YOUR_TWITTER_APP_KEY";
// const APP_SECRET = "YOUR_TWITTER_APP_SECRET";
// const ACCESS_TOKEN = "YOUR_TWITTER_ACCESS_TOKEN";
// const ACCESS_SECRET = "YOUR_TWITTER_ACCESS_SECRET";
// const GEMINI_API_KEY = "YOUR_GEMINI_API_KEY";
const SECRETS = {
APP_KEY: process.env.APP_KEY,
APP_SECRET: process.env.APP_SECRET,
ACCESS_TOKEN: process.env.ACCESS_TOKEN,
ACCESS_SECRET: process.env.ACCESS_SECRET,
GEMINI_API_KEY: process.env.GEMINI_API_KEY,
};
module.exports = SECRETS;