Overview
Twimage is a web application developed using NextJS, Twitter API, and Chakra UI. Its main purpose is to convert tweets into beautiful and customizable images. The app allows users to select the desired tweet and convert it into image formats like PNG, JPEG, or SVG.
Features
- Conversion to Image: Twimage converts tweets into visually appealing images.
- Multiple Image Formats: Users can choose from PNG, JPEG, or SVG formats for the output image.
- Customization Options: Twimage provides options to customize the image, such as selecting the output image ratio (1:1 or 9:16).
- Easy Customization: The app aims to add more customization options based on user suggestions.
Installation
To install Twimage, follow these steps:
Clone the repository from GitHub:
git clone [repository-url]
Install the required dependencies using npm:
npm install
Create a Twitter developer account and obtain the necessary API keys.
Create a
.env.local
file in the project root and add the following environment variables:TWITTER_API_KEY=<your-twitter-api-key> TWITTER_API_SECRET=<your-twitter-api-secret> TWITTER_ACCESS_TOKEN=<your-twitter-access-token> TWITTER_ACCESS_TOKEN_SECRET=<your-twitter-access-token-secret>
Start the development server:
npm run dev
Open your browser and visit
http://localhost:3000
to access Twimage.
Summary
Twimage is a useful web application that allows users to convert tweets into visually appealing images. It provides customization options like selecting the output image format and ratio. The app is created using NextJS, Twitter API, and Chakra UI, and is intended for learning purposes without any affiliation to Twitter.