diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a4da074..c159daf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,7 +45,7 @@ jobs: working-directory: src - name: Publish win-x64 - run: dotnet publish TwitterSky\TwitterSky.csproj --configuration Release -r win-x64 --no-restore --output ./win-x64 + run: dotnet publish TwitterSky\TwitterSky.csproj --configuration Release -r win-x64 --no-restore --output ./win-x64 /p:Version=${{ steps.compute_tag.outputs.next_tag }} working-directory: src - name: Create release directory diff --git a/README.md b/README.md index a6fe355..485dd74 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,14 @@ Example: TwitterSky.exe --archivePath "yourtweetarchive\data\tweets.js" --username "yourbskyusername.bsky.social" --password "yourapppassword" --twitterHandles "handle1,handle2" --minDate "2012-10-10" ``` +# How to use +1. Download your Twitter archive from https://twitter.com/settings/your_twitter_data +2. Extract the archive +3. Run TwitterSky with the parameters above + +# Prerequisites +You need to have dotnet 9.0 runtime installed. You can download it from https://dotnet.microsoft.com/download/dotnet/9.0 + # Known issues - I made this app for myself, I tried to include some useful filters but it may not work for everyone. Code might not be the prettiest. - I only tested this with my own tweet archive. If you encounter any issues, open an issue or even better, submit a PR! diff --git a/src/TwitterSky/TweetImporter.cs b/src/TwitterSky/TweetImporter.cs index c457666..a73cc7b 100644 --- a/src/TwitterSky/TweetImporter.cs +++ b/src/TwitterSky/TweetImporter.cs @@ -252,7 +252,7 @@ public async Task ImportTweetAsync() // https://docs.bsky.app/docs/advanced-guides/rate-limits // Absolutely untested code, it won't consider if the user uses the account from other places while importing // It will just wait 15 minutes if the limit is reached but I don't think it's enough - if (_postedTweets >= 1665) + if (_postedTweets >= 1650) { Console.WriteLine("Rate limit reached. Sleeping for 15 minutes..."); await Task.Delay(TimeSpan.FromMinutes(15));