A command-line tool that allows users to open multiple websites simultaneously, each in a separate tab in Firefox. It reads URLs from an XML file and opens them based on the specified segment.
When the program is executed, it reads the structure of the data.xml
file. The script must be called with a parameter that matches one of the tags a step below the root tags in the hierarchy. This parameter identifies the correct section of the file. The script then iterates over all <url>
tags within that section and opens each URL in a new Firefox browser tab.
.
├── data/ - data directory with urls
├── tests/ - unit and regression tests
├── __init__.py - package initialization
├── .bumbversion.cfg - automatically process version
├── .gitignore - excludes unnecessary files
├── COPYRIGHT - project copyright
├── LICENSE - license text
├── README.md - project information
├── requirements.txt - project requirements
└── open_url.py - main program
- Clone the repository:
git clone https://github.com/CH6832/online-resources-to-stay-updated.git
- Navigate into the folder:
cd online-resources-to-stay-updated
- Install requirements:
pip3 install -r requirements.txt
- Examples with the required parameters:
py url_opener.py tech
or
py url_opener.py math
pytest test_url_opener.py
The project uses Semantic Versioning to manage versions. Semantic Versioning follows the format MAJOR.MINOR.PATCH, where:
- MAJOR version increments indicate incompatible changes or major updates.
- MINOR version increments indicate new features or improvements that are backward-compatible.
- PATCH version increments indicate backward-compatible bug fixes.
Versioning Example
- 1.2.0: Added commandline GUI.
- 1.1.1: Fixed bugs and improved error handling.
- 1.1.0: Added new features like tab completion and command aliases.
- 1.0.0: Initial release with basic functionality.
To see the current version of the project, check the version attribute in the script or refer to the version tags in the Git repository.
- Initialize a Git Repository:
git init
- Add and Commit Changes
git add .
git commit -m "Initial commit"
- Tagging releases
git tag -a v1.0.0 -m "Initial release"
- Pushing to remote repo
git remote add origin https://github.com/CH6832/online-resources-to-stay-updated.git
git push origin main --tags
- Python
- XML
- Markdwon
- Editor
- CI/CD
- Commandline tools
This project is licensed under the terms of the GPL v3.
See the COPYRIGHT file for copyright and licensing details.