junhoyeo / threads-api

Unofficial, Reverse-Engineered Node.js/TypeScript client for Meta's Threads. Web UI Included.
https://threads.junho.io
MIT License
1.59k stars 134 forks source link

🔏 Add support for .env config out of the box #151

Closed SethuSenthil closed 1 year ago

SethuSenthil commented 1 year ago

This pull request adds built-in support for reading .env configuration files so users can safely pass in their usernames, passwords, and device identifiers without hardcoding them.

The order of precedence is:

Supported .env values

Out of the box, the following .env values are supported: