···23232. Install Node.js: `npm i -g ts-node`
24243. In the project folder run: `npm i`
25253. Create an .env file in the project folder by setting the following variables:
2626-- `BLUESKY_USERNAME` = username into which you want to import the tweets (e.g. "test.bsky.social")
2626+- `BLUESKY_USERNAME` = username into which you want to import the posts (e.g. "test.bsky.social")
2727- `BLUESKY_PASSWORD` = account password created via App Password (eg. "pwd123")
2828- `ARCHIVE_FOLDER` = full path to the folder containing the Instagram archive (e.g. "C:/Temp/instagram-archive")
292930303131-**I highly recommend trying to simulate the import first and import a small range of tweets, using the additional parameters documented below.**
3131+**I highly recommend trying to simulate the import first and import a small range of posts, using the additional parameters documented below.**
32323333## Running the script
3434···38383939Additionally you can set these environment variables to customize behavior:
40404141-- `SIMULATE` = if set to "1" simulates the import by counting the tweets and indicating the estimated import time.
4242-- `MIN_DATE` = indicates the minimum date of tweets to import, ISO format (e.g. '2011-01-01' or '2011-02-09T10:30:49.000Z').
4343-- `MAX_DATE` = indicates the maximum date of tweets to import, ISO format (e.g. '2012-01-01' or '2014-04-09T12:36:49.328Z').
4141+- `SIMULATE` = if set to "1" simulates the import by counting the posts and indicating the estimated import time.
4242+- `MIN_DATE` = indicates the minimum date of posts to import, ISO format (e.g. '2011-01-01' or '2011-02-09T10:30:49.000Z').
4343+- `MAX_DATE` = indicates the maximum date of posts to import, ISO format (e.g. '2012-01-01' or '2014-04-09T12:36:49.328Z').
44444545## License
4646