fb-dl is a lightweight and efficient command-line tool built with .NET 9.0 that allows you to download public Facebook videos and reels by simply passing their URL. This tool is designed for developers, automation tasks, and anyone who wants a reliable way to retrieve Facebook-hosted video content.
- Download public Facebook videos by URL
- Built with modern .NET SDK
- Fast and minimal
- Easy to run from terminal or integrate into scripts
- Ready for NuGet packaging and GitHub integration
Make sure the following are installed:
- .NET 9.0 SDK
- Git
git clone https://github.com/blackaly/fb-dl.git
cd fb-dl
dotnet build -c Release
This will compile the application into the
bin/Release/
directory.
To download a video, run the tool from the CLI:
dotnet run --project src/facebook-downloader/facebook-downloader.csproj -- "https://www.facebook.com/watch/?v=YOUR_VIDEO_ID"
Replace the URL with a public Facebook video link.
dotnet run --project src/facebook-downloader/facebook-downloader.csproj -- "https://www.facebook.com/watch/?v=123456789012345"
After running, the video will be downloaded to your working directory.
Add the following to your .csproj
to associate the package with this GitHub repository:
<PackageProjectUrl>https://github.com/blackaly/fb-dl</PackageProjectUrl>
<RepositoryUrl>https://github.com/blackaly/fb-dl</RepositoryUrl>
<RepositoryType>git</RepositoryType>
Make sure you're in the root directory (where the Dockerfile is):
docker build -t fb-dl-app .
docker run --rm fb-dl-app https://www.facebook.com/watch/?v=YOUR_VIDEO_ID
you can also run interactively if needed:
docker run -it --rm fb-dl-app
Contributions, bug reports, and feature requests are welcome! 0
- Fork the repository
- Create a new branch (
git checkout -b feature/your-feature
) - Make your changes
- Commit your changes (
git commit -m "Add your message here"
) - Push to your fork (
git push origin feature/your-feature
) - Create a Pull Request
- Follow .NET naming conventions
- Keep commits clear and concise
- Test your code before submitting PRs
This project is licensed under the MIT License.
For support or questions, feel free to open an issue or contact the maintainer via GitHub Issues.