Skip to content

threads-scheduler is a ready-to-use SaaS platform to schedule and automate your posts on Meta’s Threads app (database, Stripe billing, authentication, backend infrastructure).

License

Notifications You must be signed in to change notification settings

nicolasmondain/threads-scheduler

Repository files navigation

threads-scheduler

threads-scheduler is a ready-to-use SaaS platform to schedule and automate your posts on Meta’s Threads app (database, Stripe billing, authentication, backend infrastructure).

development

dev

mongod --config /opt/homebrew/etc/mongod.conf --fork
npm run dev

build

npm run build:production
npm run start

local configuration

mongodb
brew tap mongodb/brew
brew update
brew install [email protected]
Component Intel Processor Apple Silicon Processor
Configuration file /usr/local/etc/mongod.conf /opt/homebrew/etc/mongod.conf
Log directory /usr/local/var/log/mongodb /opt/homebrew/var/log/mongodb
Data directory /usr/local/var/mongodb /opt/homebrew/var/mongodb
mongod --config /opt/homebrew/etc/mongod.conf --fork
etc/hosts
127.0.0.1 dev.company.com

ssl

In private create a file dev.company.com.ext:

authorityKeyIdentifier=keyid,issuer
basicConstraints=CA:FALSE
extendedKeyUsage=serverAuth,clientAuth
keyUsage = digitalSignature, nonRepudiation, keyEncipherment, dataEncipherment
subjectAltName = @alt_names
[alt_names]
DNS.1 = dev.company.com
openssl genrsa -des3 -out company.key 2048
openssl req -x509 -new -nodes -key company.key -sha256 -days 825 -out company.pem
openssl genrsa -out dev.company.com.key 2048
openssl req -new -key dev.company.com.key -out dev.company.com.csr
openssl x509 -req -in dev.company.com.csr -CA company.pem -CAkey company.key -CAcreateserial \
-out dev.company.com.crt -days 825 -sha256 -extfile dev.company.com.ext

Extra steps for Mac Import the CA cert at "File > Import file", then also find it in the list, right click it, expand "> Trust", and select "Always" Add extendedKeyUsage=serverAuth,clientAuth below basicConstraints=CA:FALSE, and make sure you set the "CommonName" to the same as dev.company.com when it asks for setup.

https://stackoverflow.com/questions/7580508/getting-chrome-to-accept-self-signed-localhost-certificate

resources

facebook

THREADS_APP_ID
THREADS_SECRET_KEY

Make sure that you are using the APP ID and Secret defined for the Threads API of your app. These ARE not the same as the regular app ID and app secret.

About

threads-scheduler is a ready-to-use SaaS platform to schedule and automate your posts on Meta’s Threads app (database, Stripe billing, authentication, backend infrastructure).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published