NURS (NILAM Unsupervised Reasoning Summarizer) is an automated software tool designed to scrape, summarize, and process articles from Medium.com and uploads them to your AINS (Advanced Integration NILAM System) account (NURS AINS lol).
- Clone the repository:
git clone https://github.com/CantCode023/NURS.git
- Install required dependencies:
pip install -r NURS/requirements.txt
NURS requires two API keys to function:
- Gemini API Key (for content summarization)
- JB App Token (for authentication)
These can be configured in two ways:
- Create a
.env
file in the project directory:
GEMINI_API_KEY=your_gemini_api_key
jb_app_token=your_jb_app_token
- Input through CLI when prompted (if .env file is not found)
- Go into NURS directory
cd NURS
- Run the CLI
python __main__.py
- Upload NILAM
- Update API Keys
- Exit
- Select option 1 from the main menu
- Enter the Medium article URL
- Wait for the processing and summarization
- Review the generated summary
- Automatic upload to AINS
- Select option 2 from the main menu
- Choose which key to update:
- Gemini API Key
- JB App Token
- Enter the new key value
Here's a video demonstrating the process:
Please read the CODE_OF_CONDUCT.md for details on the code of conduct and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.
For support or questions, contact:
- Email: [email protected]
- Discord: bd8344
- Add function to scrape website text in text_processing.py
- Make summarizer function using Google Gemini
- Add functions to get provider key and bearer authorization
- Use request to upload nilam
- Make custom stars (int 1-5) and favourite (bool)
- Add bad words filter in utils, make a custom exception in exceptions.py
- Add other exceptions like bad api key, etc
- Make cli
- add cooldown between requests
- ⚡ Optimize get_provider and get_bearer_authorization
- Add News API support
Made with ❤️ by @CantCode023