Compare commits

...

9 Commits

Author SHA1 Message Date
Prabhjot
1f72885f41
Merge faa916d966 into dd8910d07b 2025-02-15 15:30:30 +01:00
Chuck
dd8910d07b
Merge pull request #2029 from SAI127001/sai-terukula
Some checks failed
Check markdown links / linkChecker (push) Has been cancelled
Updated Sai Terukula's Portfolio link
2025-02-15 09:00:26 -05:00
sai127001
6be8cd1640 Updated Sai Terukula's Portfolio link 2025-02-15 19:23:58 +05:30
Chuck
01ec00c2d1
Update link-checker.yml 2025-02-15 06:04:48 -05:00
Chuck
b35f0b53ab
Merge pull request #2028 from cautcus/add/ayush-baral
portfolio added at Section A - Ayush Baral
2025-02-15 06:02:01 -05:00
Ayush Baral
c46c19251a
portfolio added at Section A - Ayush Baral 2025-02-15 14:52:05 +05:30
Chuck
aceee2fd2d
Merge pull request #2026 from mdazlaanzubair/add-mdazlaanzubair
Portfolio Added at Section-M
2025-02-14 04:46:40 -05:00
Muhammad Azlaan Zubair
0a98639d79 portfolio added at Section M - Muhammad Azlaan Zubair - Line 594 2025-02-14 12:09:20 +05:00
prabhjot2001
faa916d966 Add portfolio links opener utility script 2025-01-30 00:12:41 +05:30
4 changed files with 127 additions and 1 deletions

View File

@ -2,7 +2,7 @@ on:
repository_dispatch:
workflow_dispatch:
schedule:
- cron: "00 18 * * 0"
- cron: "00 18 * * 6"
name: Check markdown links
jobs:
linkChecker:

View File

@ -159,6 +159,7 @@ Hopefully this repo can serve as a source of inspiration for your portfolio!
- [Avnish Kumar](https://theavnishkumar.in)
- [Ayanabha Misra](https://ayanabha.life)
- [Aycan Öğüt](https://aycan.dev)
- [Ayush Baral](https://rushayu.vercel.app) [Front-End Web Developer]
- [Ayush Nighoskar](https://ayushn.netlify.app)
- [Azaan Suhail](https://personal-portfolio-website-seven-teal.vercel.app/)
@ -591,6 +592,7 @@ Hopefully this repo can serve as a source of inspiration for your portfolio!
- [Morelen Yim](https://morelenyim.com)
- [Moritz Kornher](https://moritzkornher.de)
- [Mouad ZIANI](https://mouadziani.github.io)
- [Muhammad Azlaan Zubair](https://www.mdazlaanzubair.com/) [Frontend Developer]
- [Muhammad Jaafar](https://m7mad.dev/)
- [Muhammad Muhaddis](https://muhaddis.info)
- [Muhammad Mustafiz Rahman](https://mustafizrahman.vercel.app/) [Frontend Developer | MERN Stack Developer]
@ -765,6 +767,7 @@ Hopefully this repo can serve as a source of inspiration for your portfolio!
- [Sagar Mude](https://sagarmude.netlify.app)
- [Sai Sudheer Dontha](https://github.com/saisudhir14)
- [Sai Teja](https://saiteja13427.github.io)
- [Sai Terukula](https://terukulasai-portfolio.netlify.app/) [DevOps Engineer]
- [Said Kharboutli](https://saidk.io)
- [Saif Ur Rehman](https://saifwebdev.netlify.app)
- [Saitheja komalla](https://saitheja20.github.io/Portfolio/)

73
tools/README.md Normal file
View File

@ -0,0 +1,73 @@
# Portfolio Link Opener 🔗
A simple Python script that opens all portfolio links from the README.md file in your browser tabs automatically! No more clicking links one by one 😊
## What does it do? 🤔
Imagine you want to look at all the awesome portfolio websites in this repository. Instead of clicking hundreds of links manually, this script will:
1. Read all the links from the README file
2. Open each link in a new tab in your default browser
3. Tell you how many links it opened
## How to use it? 🚀
### Step 1: Requirements
- Make sure you have Python installed on your computer
- Download the `portfolio_opener.py` script
### Step 2: Run the script
1. Put the script in the same folder as the README.md file
2. Open your terminal/command prompt
3. Navigate to the folder containing the script
4. Run this command:
```bash
python portfolio_opener.py
```
## Usage step by step
1. Make sure you have Python installed on your system
2. Navigate to the tools directory:
```bash
cd tools
```
3. Run the script:
```bash
portfolio_opener.py
```
4. Or specify a different markdown file:
```
portfolio_opener.py -f ../README.md
```
## ⚠️ Important Notes
### About Opening Links
- This script opens all links from README.md in your default browser
- Opening too many links at once may slow down your browser or cause it to crash
- We recommend opening no more than 50 links at a time
- Keep the links in a file based on how many you want to open. For example, if you want to open 30 links, just add 30 links to the file. If you want 50, add 50 links, and so on
- If your computer can handle more tabs, feel free to open more!
### Browser Tips
- Your browser might ask permission to open multiple tabs
- If your browser slows down, just close some tabs and try again
- This is completely normal - don't worry!
### Recommendation
Start with 50 tabs first. If your computer handles it well, you can try opening more next time.
### 🎉 Have fun exploring all the amazing portfolios for inspiration!

50
tools/portfolio_opener.py Normal file
View File

@ -0,0 +1,50 @@
import re
import webbrowser
import argparse
import sys
from pathlib import Path
def open_portfolio_links(file_path):
"""
Opens all portfolio links found in the given markdown file in new browser tabs.
Args:
file_path (str): Path to the markdown file containing portfolio links
"""
try:
# URL pattern to match the url link in mark down file
url_pattern = re.compile(r'https?://\S+?(?=\)|\])|https?://\S+')
# Reads the file
with open(file_path, "r", encoding="utf-8") as file:
content = file.read()
urls = url_pattern.findall(content)
# Open URLs
for url in urls:
webbrowser.open_new_tab(url)
print(f"Successfully opened {len(urls)} links in your default browser :`).")
except FileNotFoundError:
print(f"Error: File '{file_path}' not found.")
sys.exit(1)
except Exception as e:
print(f"An error occurred: {str(e)}")
sys.exit(1)
def main():
parser = argparse.ArgumentParser(
description="Open all portfolio links from the developer-portfolios README in your browser."
)
parser.add_argument(
"-f", "--file",
default="../README.md",
help="Path to the markdown file containing portfolio links (default: ../README.md)"
)
args = parser.parse_args()
open_portfolio_links(args.file)
if __name__ == "__main__":
main()