[GH-ISSUE #399] Archive Method: add support for SingleFile #263

Closed
opened 2026-03-01 14:41:57 +03:00 by kerem · 3 comments
Owner

Originally created by @pirate on GitHub (Jul 30, 2020).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/399

Originally assigned to: @cdvv7788 on GitHub.

SingleFile has a CLI that supports using Chrome or FireFox!

This is great news, this is one of the best archiving tools around.

https://github.com/gildas-lormeau/SingleFile/tree/master/cli

Originally created by @pirate on GitHub (Jul 30, 2020). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/399 Originally assigned to: @cdvv7788 on GitHub. SingleFile has a CLI that supports using Chrome or FireFox! This is great news, this is one of the best archiving tools around. https://github.com/gildas-lormeau/SingleFile/tree/master/cli
Author
Owner

@pirate commented on GitHub (Jul 30, 2020):

def save_singlefile(link: Link, out_dir: str):
    CMD = [
        'single-file',
        '--browser-executable-path', CHROME_BIN,
        ...
    ]
    ...

With the associated config options, SAVE_SINGLEFILE, SINGLEFILE_BIN, etc.

Icon in the Files column in the UI, iframe on the details page, etc.

<!-- gh-comment-id:666005019 --> @pirate commented on GitHub (Jul 30, 2020): ```python def save_singlefile(link: Link, out_dir: str): CMD = [ 'single-file', '--browser-executable-path', CHROME_BIN, ... ] ... ``` With the associated config options, `SAVE_SINGLEFILE`, `SINGLEFILE_BIN`, etc. Icon in the Files column in the UI, iframe on the details page, etc.
Author
Owner

@stevenroose commented on GitHub (Aug 10, 2020):

I'm currently trying to use v0.4.11 on Arch and it errors when adding links saying it's missing the SingleFile dependency. But there is no way to install it on Arch. At least not in binary-form.

<!-- gh-comment-id:671278845 --> @stevenroose commented on GitHub (Aug 10, 2020): I'm currently trying to use v0.4.11 on Arch and it errors when adding links saying it's missing the SingleFile dependency. But there is no way to install it on Arch. At least not in binary-form.
Author
Owner

@cdvv7788 commented on GitHub (Aug 10, 2020):

@stevenroose You can use the workaround here https://github.com/pirate/ArchiveBox/issues/427 (or just install it directly using node, as that is the only available way).

<!-- gh-comment-id:671374979 --> @cdvv7788 commented on GitHub (Aug 10, 2020): @stevenroose You can use the workaround here https://github.com/pirate/ArchiveBox/issues/427 (or just install it directly using node, as that is the only available way).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#263
No description provided.