-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9050b41
commit bcab429
Showing
31 changed files
with
1,430 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Contributor Covenant Code of Conduct | ||
|
||
## Our Pledge | ||
We pledge to create a welcoming environment and to treat everyone with respect. | ||
|
||
## Our Standards | ||
- Be respectful and constructive in all interactions. | ||
- Avoid discriminatory or offensive language. | ||
- Respect differing viewpoints. | ||
|
||
## Enforcement | ||
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the author at [[email protected]](mailto:[email protected]). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Contributing to Social Media Downloader | ||
|
||
Thank you for your interest in contributing! Here’s how you can help: | ||
|
||
## Reporting Bugs | ||
1. Check the [Issues](https://github.com/nayandas69/Social-Media-Downloader/issues) to see if the bug has already been reported. | ||
2. If not, create a new issue using the **Bug Report** template. | ||
|
||
## Requesting Features | ||
1. Check if the feature is already requested. | ||
2. Create a new issue using the **Feature Request** template. | ||
|
||
## Making Changes | ||
1. Fork the repository and create a branch for your changes. | ||
2. Follow coding guidelines, add tests, and ensure your code is well-documented. | ||
3. Submit a pull request, and a maintainer will review it. | ||
|
||
Thank you for helping to improve Social Media Downloader! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# .github/FUNDING.yml | ||
|
||
# Patreon configuration | ||
patreon: nayandas69 | ||
|
||
# Custom funding links | ||
custom: | ||
- https://buymeacoffee.com/nayandas # Buy Me a Coffee link for international supporters |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
name: Bug Report | ||
about: Report a bug to help improve Social Media Downloader | ||
title: "[Bug] " | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Enter '...' | ||
3. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Environment:** | ||
- OS: [e.g., Windows, MacOS, Linux] | ||
- Version [e.g., v1.0.0] | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
name: Feature Request | ||
about: Suggest an idea for Social Media Downloader | ||
title: "[Feature] " | ||
labels: enhancement | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of the problem or need. | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Additional context** | ||
Add any other context, ideas, or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Pull Request | ||
|
||
**Description** | ||
Provide a brief description of the change and what it does. | ||
|
||
**Checklist** | ||
- [ ] My code follows the style guidelines of this project | ||
- [ ] I have performed a self-review of my code | ||
- [ ] I have documented my code, especially in hard-to-understand areas | ||
- [ ] I have added tests that prove my fix or feature works | ||
- [ ] New and existing tests pass with my changes | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the pull request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# 🛡️ SECURITY POLICY | ||
|
||
## 🔒 Supported Versions | ||
We’ve got your back with security updates for the following versions of **Social Media Downloader**: | ||
|
||
| 🚀 Version | 🔥 Supported? | | ||
| ----------- | ------------------ | | ||
| v1.0.1 | ✅ Always, bestie! | | ||
| v1.0.0 | ✅ Yup, still! | | ||
|
||
Stay updated, stay safe! 🌟 | ||
|
||
--- | ||
|
||
## 📢 Reporting a Vulnerability | ||
Yo, found a bug? A sketchy issue? First of all, thanks for looking out! 🫶 **Don’t go tweeting it out or dropping it in the DMs just yet.** Let’s fix it together, low-key. | ||
|
||
### 🚨 How to Spill the Tea (Securely): | ||
1. **Slide into our inbox**: Drop an email at **[[email protected]](mailto:[email protected])** with the subject: | ||
**🔥 [Security Alert] Vulnerability in Social Media Downloader 🔥** | ||
|
||
2. **Deets, please!** Include: | ||
- 📋 **What’s the issue?** Spill all the juicy details. | ||
- 🛠️ **How to recreate it?** Step-by-step receipts, please. | ||
- 💻 **Proof of Concept (optional)**: If you’re feeling fancy, attach code snippets. | ||
- 🎯 **Why care?** Tell us how it could hurt users or the vibe. | ||
|
||
3. **Patience is a virtue**: We’ll hit you back within **48 hours** (promise ✋). | ||
|
||
--- | ||
|
||
## 🛠️ The Fix Process | ||
Here’s how we roll when you tell us something’s up: | ||
|
||
1. **📬 Got it!** You’ll get a reply ASAP so you know we’re on it. | ||
2. **🔍 Detective mode**: We’ll investigate and confirm the issue. 🕵️♀️ | ||
3. **💡 Lightbulb moment**: If it’s valid, we’ll patch that bad boy. | ||
4. **🚀 New drop**: A fresh, secure version will be released. | ||
5. **👏 Shoutout!** You’ll hear back from us with all the fixes. | ||
|
||
--- | ||
|
||
## 👑 Safety First, Always | ||
Keep your downloads smooth and your vibes secure with these tips: | ||
|
||
- **✨ Download Wisely**: Stick to legit content and authorized platforms. | ||
- **👩💻 No Admin Drama**: Don’t run as admin unless you’re a coding wizard (and even then, maybe don’t). | ||
- **🔄 Update Game Strong**: Always roll with the latest version. It’s where the magic (and security fixes) live. | ||
- **🎵 FFmpeg Safety**: Grab FFmpeg only from [official sources](https://ffmpeg.org) to keep it clean. | ||
|
||
--- | ||
|
||
## 🔐 General Security Glow-Up | ||
- **📦 Dependencies Matter**: Update tools like FFmpeg regularly. | ||
- **🛑 Say No to Sketchy Mods**: Avoid using modified versions of the app. They’re just bad vibes. | ||
- **🦠 Stay Virus-Free**: Scan downloaded files with antivirus software if you’re feeling cautious. | ||
- **❤️ Be a Content Queen/King**: Download responsibly and respect creators. | ||
|
||
--- | ||
|
||
## 🌟 Thank You! | ||
Big hugs for keeping **Social Media Downloader** safe and vibey for everyone. 💜 Your care makes this tool a better space for all. If you ever have questions, issues, or ideas, we’re here for you. | ||
|
||
**Stay awesome, stay secure, and keep downloading cool stuff. ✨** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
name: Python Package CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# Step 1: Checkout the repository | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
# Step 2: Set up Python | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' | ||
|
||
# Step 3: Install dependencies | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
# Step 4: Run tests (if you add tests) | ||
- name: Run tests | ||
run: | | ||
if [ -f pytest.ini ] || [ -d tests ]; then | ||
pytest --maxfail=5 --disable-warnings | ||
else | ||
echo "No tests defined yet. Add your test commands here." | ||
fi | ||
publish: | ||
if: github.event_name == 'release' | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# Step 1: Checkout the repository | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
# Step 2: Set up Python | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' | ||
|
||
# Step 3: Install build tools | ||
- name: Install build tools | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install build twine | ||
# Step 4: Build the package | ||
- name: Build package | ||
run: python -m build | ||
|
||
# Step 5: Publish to PyPI | ||
- name: Publish to PyPI | ||
env: | ||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} | ||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | ||
run: twine upload dist/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Ignore build directory | ||
build/ | ||
|
||
# Ignore dist directory | ||
dist/ | ||
|
||
# Ignore virtual environment directories | ||
.venv/ | ||
venv/ | ||
env/ | ||
|
||
# Ignore Python cache files | ||
__pycache__/ | ||
*.py[cod] | ||
|
||
# Ignore IDE configuration files | ||
.vscode/ | ||
|
||
# Ignore log files | ||
*.log | ||
|
||
# my other | ||
PyInstaller | ||
note |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# 🌈 Changelog | ||
|
||
All the spicy updates, tweaks, and new vibes are logged here. 🌟 | ||
|
||
--- | ||
|
||
## [v1.0.1] - 🔥 The Glow-Up Edition 🔥 | ||
**Release Date**: January 10, 2025 | ||
|
||
### 🎯 **What’s New, Fam?** | ||
- 🚀 **Snap Insta Reels**: Insta reels are now supported—download those aesthetic vibes with no sweat! | ||
- 💾 **Auto-Save Mode**: Forget manual clicks. Your downloads are now auto-saved to your preferred folder without interruptions. | ||
|
||
--- | ||
|
||
### 💻 **Better, Faster, Smoother** | ||
- ⚡ **Speed Boost**: Optimized the downloader engine for 2x faster downloads. *Time is money, bb.* | ||
- 🧠 **Smarter Batch Mode**: Got bad links? We skip ‘em now and keep the hustle going. No interruptions. | ||
|
||
--- | ||
|
||
### 🛠️ **Bug Killa Mode** | ||
- 🛠️ Fixed that annoying glitch with **Facebook downloads**. FB vids are back and better. | ||
- 🐞 Squashed a rare issue where **batch mode** stopped mid-run. Smooth like butter now. | ||
- ⚙️ Updated **update checker**. No more false alarms. It’s 💯 accurate. | ||
|
||
|
||
|
||
|
||
--- | ||
|
||
## [v1.0.0] - 🥳 The OG Drop | ||
**Release Date**: December 1, 2024 | ||
|
||
### 🎉 New Features | ||
- **Platform Support**: | ||
- Download videos from **YouTube**, **TikTok**, and **Facebook**. | ||
- Download posts from **Instagram**. | ||
- **Batch Download**: Download multiple URLs at once using a text file. | ||
- **Custom Format Selection**: | ||
- Choose video or audio formats (e.g., MP4, MP3) for YouTube and TikTok downloads. | ||
- **Update Checker**: Automatically checks for new versions and provides easy update functionality. | ||
- **Download Logs and History**: | ||
- Logs all activities in `downloader.log`. | ||
- Maintains a history of downloads in `download_history.csv`. | ||
- **Cross-Platform CLI Support**: | ||
- Windows `.exe` for easy execution. | ||
- Linux binary for terminal users. | ||
- **PyPI Availability**: Installable via `pip` for Python users. | ||
|
||
### 🚀 Improvements and Design | ||
- **User-Friendly Interface**: | ||
- Simple menu-driven CLI interface for easy navigation. | ||
- Progress bar integration for a smooth user experience. | ||
- **Configurable Settings**: | ||
- JSON-based configuration file (`config.json`) for download directory and format preferences. | ||
- **FFmpeg Integration**: Handles video and audio conversions effortlessly. | ||
|
||
### 🛠️ Technical Notes | ||
- Requires Python 3.7+ for PyPI installation. | ||
- FFmpeg installation is necessary for proper functionality. | ||
|
||
--- | ||
|
||
**Keep it chill, keep it legal.** 💌 Feedback? [Slide into the discussions](https://github.com/nayandas69/Social-Media-Downloader/discussions). | ||
|
||
--- | ||
|
||
✨ Your downloads are living their *best life*. Stay vibin’. ✌️ |
Oops, something went wrong.