nuclear
nuclear copied to clipboard
export lyrics as pdf
What do you think about it @nukeop .?
Sounds useful but I'd have no idea how to go around actually implementing it.
I'd like to work on this one, I've already found a React library that would allow me to do that. You'll probably have to import this library into the project unless you have a problem with that @nukeop.
I'd like to work on this one, I've already found a React library that would allow me to do that. You'll probably have to import this library into the project unless you have a problem with that @nukeop.
Okay, sure, can you show me that library? Feel free to include it in your code if you start working on it.
Hi @nukeop, the library is jsPDF, here's a link for the documentation :
- https://rawgit.com/MrRio/jsPDF/master/docs/index.html
I'm already pretty much done. I've been working on the index.js file in the LyricsView folder. I haven't touched the LyricsHeader. I place a button under the lyrics part, I just need to change the design to match the app design. The text on it is also translate into all the languages supported.
For the PDF, it's save with the name : [Name of the track]_[Name of the artist]_Lyrics.pdf The file looks like this: [Name of the track]
[Name of the artist]
[Lyrics]
If you want me to change something, just say it, otherwise I could do a Pull Request.
are you this still working on this @WildLeons ?
I will like to work on this, will be using jsPDF library as advised by WildLeons
Hello, I created a pull request for this Here https://github.com/nukeop/nuclear/pull/943