mirror of
https://github.com/emmabostian/developer-portfolios.git
synced 2025-05-14 14:28:00 +00:00
Compare commits
11 Commits
a104d8e253
...
c30ae31166
Author | SHA1 | Date | |
---|---|---|---|
|
c30ae31166 | ||
|
81ca2d9239 | ||
|
2b348330e1 | ||
|
c15ac76b85 | ||
|
53fd31dd36 | ||
|
0cbb7de381 | ||
|
2a95dd0180 | ||
|
0a3d535bdb | ||
|
48532790b5 | ||
|
8b2c745da1 | ||
|
faa916d966 |
@ -241,6 +241,7 @@ Hopefully this repo can serve as a source of inspiration for your portfolio!
|
||||
- [Cui Ding](https://cuierd.github.io)
|
||||
|
||||
## D
|
||||
|
||||
- [Dale French](https://dalefrench.dev)
|
||||
- [Dale Larroder](https://dalelarroder.com)
|
||||
- [Damian Markowski](https://damianmarkowski.com)
|
||||
@ -389,7 +390,7 @@ Hopefully this repo can serve as a source of inspiration for your portfolio!
|
||||
- [Herman Starikov](http://starikov.dev)
|
||||
- [Himavanth Kumar Perni](http://himavanth-kumar-perni-portfolio.vercel.app) [Fullstack Developer]
|
||||
- [Hisami Kurita](https://hsmkrt1996.com/) [Frontend Developer]
|
||||
- [Hrithik Dhakrey](https://iamdhakrey.dev) [Backend Developer)
|
||||
- [Hrithik Dhakrey](https://iamdhakrey.dev) [Backend Developer]
|
||||
- [Hubert Kimani](https://hubertkimani.me)
|
||||
- [Hugo Folloni](https://hugofolloni.com)
|
||||
- [Humanshu Jaglan](https://humanshu-jaglan.vercel.app)
|
||||
@ -402,6 +403,7 @@ Hopefully this repo can serve as a source of inspiration for your portfolio!
|
||||
- [Ian Lunn](https://ianlunn.co.uk/) [Frontend Developer | Responsive Web Specialist]
|
||||
- [Ibrahim Hizlioglu](https://www.ibrahimhizlioglu.com)
|
||||
- [Ike Ofoegbu](https://iodev.io)
|
||||
- [Ilham Riski Wibowo](http://ilhamriski.com/) [Fullstack Developer]
|
||||
- [Ilke Ozsekerli](https://ilkeozs.info)
|
||||
- [Indrajeet Nikam](https://indrajeet.me)
|
||||
- [Ingus Jansons](https://ingus.co.uk)
|
||||
@ -471,6 +473,7 @@ Hopefully this repo can serve as a source of inspiration for your portfolio!
|
||||
- [KIRAN KUMAR](https://ikiran-dev.github.io)
|
||||
- [Kaleigh Scruggs](http://kaleighscruggs.com)
|
||||
- [Kamil Mazurek](https://kamilmazurek.pl/)
|
||||
- [Kapil Dadhich](https://kapildadhich075.netlify.app/)
|
||||
- [Karen Fletcher](https://knpfletcher.dev)
|
||||
- [Karthik Menon](https://www.karthikmenon.com)
|
||||
- [Karunika](https://karunika.work/)
|
||||
@ -717,7 +720,7 @@ Hopefully this repo can serve as a source of inspiration for your portfolio!
|
||||
- [Rahul Raj](https://rahulrajsb.me)
|
||||
- [Rahul Sawant](http://raalzz.com)
|
||||
- [Raj Aryan](https://rajxryan.vercel.app)
|
||||
- [Raj Chhalotrte](https://raj-portfolio101.netlify.app/)
|
||||
- [Raj Chhalotrte](https://raj-portfolio101.netlify.app/)
|
||||
- [Rajan Bhattarai](https://cdrrazan.com)
|
||||
- [Rajekevin](https://rajekevin.fr)
|
||||
- [Rajesh Kumar Yadav](https://rajeshkumaryadav.com/)
|
||||
@ -802,6 +805,7 @@ Hopefully this repo can serve as a source of inspiration for your portfolio!
|
||||
- [Schleidens Dev](https://schleidens.netlify.app)
|
||||
- [Scott Spence](https://scottspence.com)
|
||||
- [Sebastian Cherny](https://sebascherny.github.io/)
|
||||
- [Sebbie Chanzu](https://sebbie-chanzu.vercel.app/) [Backend, DevOps and Machine Learning Engineer]
|
||||
- [Sergei Chestakov](https://sergei.com)
|
||||
- [Seth Hall](https://sethhallcreative.com)
|
||||
- [Seunghun Bang](https://seunghun-website.vercel.app) (Software Engineer | Support Engineer)](https://github.com/a1603169)
|
||||
@ -886,6 +890,7 @@ Hopefully this repo can serve as a source of inspiration for your portfolio!
|
||||
- [Uday Lunawat](https://udaylunawat.github.io)
|
||||
- [Ullas Arwan](https://ullas.xyz)
|
||||
- [Ulysse Pavloff](https://pavloffulysse.com/)
|
||||
- [Umesh Nagare](https://umeshnagare.vercel.app)
|
||||
- [Utkarsh Maurya](https://utkarshs-terminal.netlify.app)
|
||||
- [Utkarsh Singhal](https://utkarsh-singhal.tech)
|
||||
- [Utsav Ghimire](https://www.utsavghimire.com.np)
|
||||
|
73
tools/README.md
Normal file
73
tools/README.md
Normal 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
50
tools/portfolio_opener.py
Normal 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()
|
Loading…
Reference in New Issue
Block a user