https://github.com/dmoliveira/my-cmds
Repo with productive commands to make our life easier.
https://github.com/dmoliveira/my-cmds
ai chrome cmd news
Last synced: about 1 month ago
JSON representation
Repo with productive commands to make our life easier.
- Host: GitHub
- URL: https://github.com/dmoliveira/my-cmds
- Owner: dmoliveira
- License: mit
- Created: 2025-11-02T23:41:12.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-11-03T01:02:44.000Z (8 months ago)
- Last Synced: 2025-11-03T03:06:35.175Z (8 months ago)
- Topics: ai, chrome, cmd, news
- Language: Shell
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# open_tabs
A simple and cross-platform script to open multiple websites in **Google Chrome** from a `.txt` list.
Compatible with **macOS** and **Ubuntu/Linux**.
---
## 🚀 Usage
```bash
./open_tabs.sh data/news-local.txt
```
or simply run without arguments to use the default list (`./sites.txt`):
```bash
./open_tabs.sh
```
Each `.txt` file should contain one URL per line.
You can create different themed lists under the `data/` folder (e.g. `news-local.txt`, `news-tech.txt`, `discounts.txt`, etc).
---
## 🧩 Features
- ✅ Works on **macOS** and **Linux**
- 🗂️ Supports **category-based lists** (AI, Tech, Finance, News, etc.)
- 💨 Opens all URLs in a **new Chrome window**
- 💬 Skips empty lines and comments starting with `#`
- ⚙️ Simple alias integration for Zsh (see `zsh_alias`)
---
## 🧰 Installation
1. Clone or download this repo:
```bash
git clone https://github.com/yourname/open_tabs.git
cd open_tabs
```
2. Make the script executable:
```bash
chmod +x open_tabs.sh
```
3. (Optional) Add an alias in your `~/.zshrc`:
```bash
alias open_tabs="/Users/$(whoami)/Codes/Projects/my-cmds/open_tabs.sh"
```
Now you can run from anywhere:
```bash
open_tabs data/news-tech.txt
```
---
## 📂 Folder Structure
```
.
├── open_tabs.sh # Main script
├── zsh_alias # Example alias setup
├── data/
│ ├── news-local.txt
│ ├── news-global.txt
│ ├── news-finance.txt
│ ├── news-tech.txt
│ ├── news-ai.txt
│ ├── discounts.txt
│ └── nintendo.txt
└── LICENSE
```
---
## ❤️ Support
If this project saves you time, consider supporting with a coffee ☕ or donation via Stripe:
[](https://buy.stripe.com/8x200i8bSgVe3Vl3g8bfO00)
**Author:** Diego Marinho