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.
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
Optionsto open the singlefile settings page.
- Find the
Destinationoption and check the box
upload to a WebDAV server.
Enter the appropriate information in the form
https://hamsterbase.onrender.com/external/api/singlefileuser identifier: Enter
hamsterbasepassword: 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.