A small tool to generate files to view favorites exported from FreshRSS and import them into Firefox as bookmarks
I decided to shut down my FreshRSS instance but wanted to keep my favorites in a human-readable form. Also I wanted to try out Deno :).
This tool generates two HTML files: One that just contains the exported favorites in a simple table and can be viewed in any browser and another one that can be used to import the favorites into Firefox as bookmarks.
- Click "Subscription management" in the top left.
- Go to "Import / export" -> "Export".
- Select "Export your favourites" and click "Export".
- Download the JSON file.
deno run --allow-read --allow-write https://github.com/lx4r/freshrss-favorites-export-converter/raw/main/main.ts <path to the JSON file containing FreshRSS's favorites>
--allow-read
: Required as the script needs to read the favorites exported from FreshRSS from the JSON file--allow-write
: Required to allow the script to save the newly generated files
- Clone this repository.
- Navigate to the cloned folder.
- Execute the script:
deno run --allow-read --allow-write main.ts <path to the JSON file containing FreshRSS's favorites>
(see above for why the flags are needed)
This is a conventional HTML file and can be viewed in any browser.
This file can be used to import the favorites into Firefox:
- Click the hamburger menu in the top right.
- Go to "Library" -> "Bookmarks" -> "Manage Bookmarks".
- In the top toolbar: Go to "Import and Backup" -> "Import Bookmarks from HTML ..." and select the
freshrss_favorites_for_firefox_import.html
file previously generated.
- Clone the repository.
- Tests can be executed by running
deno test
. - Configuration files for the Deno plugin for VS Code and for VS Code's debugger are included in this repository in the
.vscode
folder.
Please open an issue.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project.
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
). - Commit your Changes (
git commit -m 'Add some AmazingFeature'
). - Push to the Branch (
git push origin feature/AmazingFeature
). - Open a Pull Request.