Thank you for your interest in contributing to the Kanye West Tweet Archive! This guide will walk you through the process of submitting a pull request (PR) and ensuring your contributions are properly organized.
- All new tweet data must be submitted in JSON format.
- The JSON file should be placed in the
tweetsdirectory. - Check the X Api Docs for the full json schema:
- Images: Save images in the highest quality available and retain the original filenames as stored by Twitter. Place them in the
mediadirectory. - Videos: Save videos in the highest quality available and retain the original filenames as stored by Twitter. Place them in the
videosdirectory. - Ensure the filenames in the JSON file match the actual filenames of the uploaded files.
- Profile images should also be saved in the highest quality available and retain the original filenames as stored by Twitter.
- Place profile images in the
profile_imagesdirectory. - Ensure the profile image filename in the JSON file match the actual filename of the uploaded file.
- Click the "Fork" button at the top right of the repository page to create your own copy of the archive.
- Clone your forked repository to your local machine (Note: This repo is around 500MB):
git clone https://github.com/yetweets/vault.git
- Create a new branch for your contribution:
Replace
git checkout -b add-tweet-YYYYMMDD
YYYYMMDDwith the date of the tweet you're adding.
- Add the tweet JSON file(s) to the
tweetsdirectory. - Add media file(s) (images and videos) to the
mediaandvideosdirectories, respectively. - Add profile image(s) to the
profile_imagesdirectory.
- Commit your changes with a descriptive message:
git commit -m "Add tweet from YYYY-MM-DD with media and profile image"
- Push your changes to your forked repository:
git push origin add-tweet-YYYYMMDD
- Go to the original repository on GitHub.
- Click the "New Pull Request" button.
- Select your branch and provide a clear title and description for your PR.
- Submit the PR and wait for it to be reviewed.
- Ensure all filenames match exactly between the JSON file and the uploaded media/video/profile image files.
- Double-check that media and videos are in the highest quality available.