feat: add CTA after download and mention it in README

This commit is contained in:
Mathis Maquenne
2025-09-11 00:32:42 +02:00
parent 9d87f635d0
commit e4c421ff00
2 changed files with 21 additions and 0 deletions
+10
View File
@@ -13,6 +13,7 @@ A simple Go tool for downloading music from [Deezer](https://www.deezer.com).
[Configuration](#configuration) •
[Usage](#usage) •
[Contributing](#contributing) •
[Support](#⭐-support-the-project) •
[License](#license)
</div>
@@ -164,6 +165,15 @@ Whether its a bug fix, a new feature, or improving documentation, your input
If you have an idea for improvement, feel free to fork the repository and submit a pull request. You can also open an issue if you spot a bug or have a feature suggestion.
Every bit of support counts, so dont forget to give the project a star if you enjoy using it. Thank you for helping make this project better!
## ⭐ Support the Project
If **GoDeez** helps you enjoy your music collection, please consider giving it a star!
**Why star us?**
- Helps more music lovers discover the project
- Shows appreciation for the work and motivates development
- Takes just one click but means the world to us!
## License
This project is licensed under the MIT License. See the [LICENSE](https://github.com/mathismqn/godeez/blob/main/LICENSE) file for details.
+11
View File
@@ -2,6 +2,7 @@ package downloader
import (
"fmt"
"math/rand"
"os"
"time"
@@ -109,5 +110,15 @@ Files saved to: %s
elapsed.Round(time.Second),
outputDir,
)
if pt.stats.downloaded > 0 {
pt.showSupportMessage()
}
}
}
func (pt *progressTracker) showSupportMessage() {
if rand.Float64() < 0.1 {
fmt.Printf("\n💖 Enjoying GoDeez? Give us a ⭐ on GitHub: https://github.com/mathismqn/godeez\n")
}
}