lyricdownloader/README.md

32 lines
1.2 KiB
Markdown
Raw Normal View History

# Lyricdownloader
2024-04-24 16:28:01 +00:00
This program is used to download lyrics for a song from the internet. There are two modes of operation:
2024-04-24 16:28:01 +00:00
(a) Scraping from google: This does not run in headless mode as Google does not show the lyrics in headless mode. So the program has to first open a chrome window, searches for the lyrics, and copies the lyrics returned by Google Search to a file defined by you.
(b) Retrieving the lyrics using the Genius API.
## Caveats
This program requires chrome to use, that is, you should have chrome installed to use this program.
2024-04-24 16:28:01 +00:00
## TODOs
- [x] ~~Refactor internal folder to this structure.~~ Simplify package structure.
```sh
internal
| - usegenius.go # where you go all the genius processing
| - usegoogle.go # where you do all the google processing
| - cmdline.go # Where you initialize config and use flags
```
- [x] Setup the config file in its own config.go file
- [x] Specific the doc for `go doc` in the doc.go file. To see the generated
documentation, run `go doc lyricdownloader`
- [ ] Research how to view `go doc` locally
- [x] Fix generate_notes.py to fix generation of CHANGELOG.md
- [ ] Add a demo heading in README.md
- [ ] Sync over to Github
- [ ] Add podman/Docker instructions
- [ ] Add goreleaser