nuclear icon indicating copy to clipboard operation
nuclear copied to clipboard

export lyrics as pdf

Open c-jacquin opened this issue 4 years ago • 7 comments

What do you think about it @nukeop .?

c-jacquin avatar Jul 22 '20 09:07 c-jacquin

Sounds useful but I'd have no idea how to go around actually implementing it.

nukeop avatar Jul 22 '20 22:07 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.

WildLeons avatar Aug 17 '20 12:08 WildLeons

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.

nukeop avatar Aug 17 '20 22:08 nukeop

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.

WildLeons avatar Aug 18 '20 08:08 WildLeons

are you this still working on this @WildLeons ?

haidang666 avatar Mar 03 '21 06:03 haidang666

I will like to work on this, will be using jsPDF library as advised by WildLeons

jtmobs avatar Apr 14 '21 17:04 jtmobs

Hello, I created a pull request for this Here https://github.com/nukeop/nuclear/pull/943

jtmobs avatar May 14 '21 22:05 jtmobs