-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LD_SINGLEFILE_OPTIONS #912
Comments
You can add the line env_file:
- .env |
Hello @jasonlearst Thank you for your reply. Just try that now and still not working, just creates a normal HTML with embed image. This setting should make it so it creates an u.zip.html instead. |
Hi @StephenMottershead , I noticed that the value defaults to I don't have any value set for |
Hello @jasonlearst, Yes, that is right. The HTML is zipped in a gz, the zip doesn't contain any of the files like images. It a normal HTML file with all the image compressed into it. |
@StephenMottershead , I see. As far as I can tell Linkding just integrates the single-file-cli application for archiving. I suggest looking around the documentation/help for that application to figure out what options need to be passed to store the images in the format you want. Once you know the options you need you can pass them into the single-file application with the |
Hello, After a little bit of playing about, I have sorted out the problem, and it wasn't obvious when you look at the file format. You need to put this code below in your .env file. The HTML will still be in html.gz file, and you need to unzip to access the HTML file. You then need to change .html file to .zIp and then unzip it. This will let you access the files inside from the website including the images, etc.
|
I can't reproduce your behavior: After decompressing the Unsure if I was using the right syntax I played with the
Which is the correct syntax to specify single file options in the `.env. file? |
It is the second one. |
I just tried Linkding creates the snapshot but the final zip is unable to decompress |
Okay. Just got my MacBook out and had a look. It is an apple thing. You need to use Unarchiver (app store)instead of the default one, sadly. If you like the terminal, the unzip command does seem to work. Very odd but working with that Unarchiver. |
Thank you so much, it works! |
Hello,
I am trying to use the "self-extracting-archive=ture" with LD_SINGLEFILE_OPTIONS but not sure how to do that inside of the .env file. Is this at all possible?
The text was updated successfully, but these errors were encountered: