You must first have bun installed with the following command:
curl -fsSL https://bun.sh/install | sh
Then install the dependencies with the following command:
bun i
This will export/merge the launches to a
launches.json
file in the root directory of the project for the given day, without overwriting any existing launches
bun run get_launches.ts
Important
Ensure you set the DAY
and MONTH
variables in get_launches.ts
to the day and month you want to collect launches for
Run the following command to generate the twitter DMs and comments with OpenAI
bun run generation.ts
Note
This script will not generate comments or DMs for launches that have been already generated
Run the following command to start the outreach process
bun run helper.ts
Note
The following script will:
- load the
launches.json
file - for each
launch
without comments sent- copies launch comment to the clipboard
- Open the launch page in the browser, where you will paste the comment and upvote the post
- for each
maker
with a twitter profile- copies twitter pre-launch DM to the clipboard
- open the twitter profile in the browser for you to DM
Note
- This script will not comment on the launches that already have comments sent
- The script will not DM the makers that already have a DM sent
Warning
This script will mark launches and maker DMs as sent in the launches.json
file for each iteration. Ensure you post/dm the necessary clipboard content before continuing in the program.
Caution
You must run this script until you have run the generation step