singlefile
singlefile is a browser extension that saves web pages as a single HTML file.
singlefile supports saving pages directly to HamsterBase via webdav.
Here is the official demo to demonstrate how to use singlefile to integrate with HamsterBase. You need to replace https://hamsterbase.onrender.com
with your own HamsterBase address.
Integration with singlefile
1. Create a personal API token
First, you need to create a token in HamsterBase that can be used by singlefile to access HamsterBase.
Go to https://hamsterbase.onrender.com/settings/api
and click the Create Token
button to create an API token.
2. Configure the singlefile
- Right-click the singlefile icon and click
Options
to open the singlefile settings page. - Find the
Destination
option and check the boxupload to a WebDAV server
.
Enter the appropriate information in the form
URL: Enter
https://hamsterbase.onrender.com/external/api/singlefile
user identifier: Enter
hamsterbase
password: Enter the API token you just created
After the above two steps, you are ready to use singlefile. Click on the singlefile icon to save the currently visited page to hamsterbase.