https://github.com/raymondev/rusgen
This project is a Python script that utilizes the Reddit API (via the PRAW library) to retrieve a user's submission history and generates a summarized text using the BART (Bidirectional and AutoRegressive Transformers) model. The script saves the user data to a text file and appends the summarized text to another file.
https://github.com/raymondev/rusgen
ghdesktop jetbrains learn
Last synced: 5 months ago
JSON representation
This project is a Python script that utilizes the Reddit API (via the PRAW library) to retrieve a user's submission history and generates a summarized text using the BART (Bidirectional and AutoRegressive Transformers) model. The script saves the user data to a text file and appends the summarized text to another file.
- Host: GitHub
- URL: https://github.com/raymondev/rusgen
- Owner: RaymonDev
- License: mit
- Created: 2023-05-31T13:00:18.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-01T08:31:32.000Z (about 2 years ago)
- Last Synced: 2025-01-11T01:44:08.356Z (6 months ago)
- Topics: ghdesktop, jetbrains, learn
- Language: Python
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RUSGen - Reddit User Summary Generator
This project is a Python script that utilizes the Reddit API (via the PRAW library) to retrieve a user's submission history and generates a summarized text using the BART (Bidirectional and AutoRegressive Transformers) model. The script saves the user data to a text file and appends the summarized text to another file. It provides a convenient way to analyze and summarize a user's Reddit activity.
## Installation
To run this project, follow these steps:
1. Clone the repository to your local machine using the following command:
```bash
git clone https://github.com/RaymonDev/RUSGen
```2. Create a virtual environment (optional but recommended) to keep the project dependencies isolated:
```
python -m venv myenv
```
3. Activate the virtual environment:
- For Windows:
```bash
myenv\Scripts\activate
```
- For Unix or Linux:
```bash
source myenv/bin/activate
```
4. Install the required dependencies using pip:
```bash
pip install -r requirements.txt
```
5. Edit the script and replace the Reddit API credentials (client_id, client_secret, user_agent, username, and password) with your own credentials. Ensure you have the necessary permissions to access the Reddit API.
6. Save the changes and execute the script:
```bash
python main.py
```
## ContributingContributions are always welcome!
## License
[MIT](https://choosealicense.com/licenses/mit/)