- Emacs Lisp 74.2%
- Makefile 15.2%
- Scheme 10.6%
| extras | Change screencast file | |
| .dir-locals.el | dev: add Makefile, manifest.scm, and .dir-locals.el | |
| .gitignore | dev: add Makefile, manifest.scm, and .dir-locals.el | |
| LICENSE | Initial commit | |
| Makefile | dev: add Makefile, manifest.scm, and .dir-locals.el | |
| manifest.scm | dev: add Makefile, manifest.scm, and .dir-locals.el | |
| README.org | update links | |
| torrents-csv.el | add autoload cookie for ‘search-torrents’ | |
torrents-csv.el
torrents-csv.el is a package for GNU Emacs that acts as a front-end to the repository of torrents, torrents.csv.
While the database isn’t the most comprehensive repository of all torrents, it does track a good chunk of the ones that at least have one active seeder. And as such, it can be a search-engine for torrents without ever leaving the comfort of an Emacs buffer.
Even though one can self-host the database, I rely on the "demo" server, i.e., torrents-csv.com.
Screencast
/MonadicSheep/torrents-csv.el/media/branch/master/extras/screencast.gif
Screencast showing searching and copying a magnet swiftly.
Installation
The package can be installed directly from this repository using straight:
(use-package torrents-csv
:straight '(torrents-csv
:host codeberg
:repo "MonadicSheep/torrents-csv.el"))
...or if you don’t wish to rely on straight you can do the same with the inbuilt :vc argument:
(use-package torrents-csv
:vc (:url "https://codeberg.org/MonadicSheep/torrents-csv.el"))
Features
The latest version of torrents-csv.el supports the following:
- A neat
list-packages-like tabulated interface with sortable columns. - Quick fetching of magnets using button clicks or keybindings.
Here are some upcoming features that are in the works:
- Integration with mentor and rTorrent to download torrents directly from the buffer.
- Integration with qbittorrent to download torrents.
- Fetch torrent file for the current entry’s magnet.
- Add
transientsupport in thetorrents-list-mode.
Usage
Once installed, just do:
M-x search-torrents RET
It will ask you to enter a query of what you wish to fetch, and almost instantly you’d have a buffer named *Torrents Results* with a tabulated list of torrents.
To copy the magnet of a torrent, simply press m or just click on the 🧲 icon for that particular row. The magnet would be copied to the kill-ring and can be pasted wherever you do your torrenting!
Configuration
-
You can change the number of torrent entries that get listed in
*Torrent Results*buffer by modifying thetorrent-csv-results-count, as such:(setq torrent-csv-results-count "200")Note that the variable is a string, which would be concatenated later on with the API URL, so putting the number inside quotes is necessary.
-
If you self-host
torrents-csvthen you can change the defaulttorrents-csv-domainvariable to something like this:(setq torrents-csv-domain "http://localhost:8657")The port being the one with which you configured the
torrents-csvserver.