Add Alternatives & Prior Art section to readme

type: documentation
This commit is contained in:
Casey Rodarmor 2020-01-31 05:55:56 -08:00
parent ef5be39f9b
commit 48ca86c67c
No known key found for this signature in database
GPG Key ID: 556186B153EC6FE0
2 changed files with 24 additions and 1 deletions

View File

@ -12,6 +12,7 @@
- [Bittorrent](#bittorrent) - [Bittorrent](#bittorrent)
- [BEP Support](#bep-support) - [BEP Support](#bep-support)
- [References](#references) - [References](#references)
- [Alternatives & Prior Art](#alternatives--prior-art)
- [BitTorrent](#bittorrent) - [BitTorrent](#bittorrent)
## General ## General
@ -132,6 +133,24 @@ at any time.
## References ## References
### Alternatives & Prior Art
| Name | UI | Language | Notes |
|-----------------------------------------------------------------------------------|-------------------------|------------|-------------------------------------------------------------------------------------------------------------------------------------------|
| [torf-cli](https://github.com/rndusr/torf-cli) | CLI | Python | Highly recommended utility for creating torrents and magnet links, as well as displaying information about and editing existing torrents. |
| [mktorrent](https://github.com/Rudde/mktorrent) | CLI | C | Popular but unmaintained torrent file creator. |
| [pmktorrent](https://github.com/xxkfqz/pmktorrent) | CLI | C | Maintained fork of mktorrent. |
| [mktorrent](https://github.com/mukaibot/mktorrent) | Library | Ruby | Library for creating torrent files. |
| [py3createtorrent](https://github.com/rsnitsch/py3createtorrent/) | CLI | Python | Torrent file creator. |
| [create-torrent](https://github.com/webtorrent/create-torrent) | Library & CLI | JavaScript | Javascript library and CLI for creating torrents. |
| [whatmp3](https://github.com/RecursiveForest/whatmp3) | CLI | Python | Torrent file creator that automatically transcodes FLAC files. |
| [torrent-file-editor](https://github.com/torrent-file-editor/torrent-file-editor) | GUI | C++ | Graphical torrent file editor. |
| [torrent2magnet](https://github.com/repolho/torrent2magnet) | CLI | Python | Creates magnet links from torrent files. |
| [h2torrent](https://github.com/elektito/ih2torrent) | CLI | Python | Creates .torrent files from an infohash or magnet URI. |
| [dottorrent](https://github.com/kz26/dottorrent) | Library | Python | Library for creating torrent files |
| [dottorrent-cli](https://github.com/kz26/dottorrent-cli) | CLI | Python | Torrent file creator. |
| [torrent-creator](https://github.com/kimbatt/torrent-creator/) | Web page | Typescript | Single-page web app torrent file creator. |
### BitTorrent ### BitTorrent
| URL | Description | | URL | Description |

View File

@ -31,7 +31,11 @@ impl Opt {
let text = captures.name("TEXT").unwrap().as_str(); let text = captures.name("TEXT").unwrap().as_str();
let level = marker.len(); let level = marker.len();
let indentation = " ".repeat((level - 2) * 2); let indentation = " ".repeat((level - 2) * 2);
let slug = text.to_lowercase().replace(' ', "-").replace('.', ""); let slug = text
.to_lowercase()
.replace(' ', "-")
.replace('.', "")
.replace('&', "");
toc.push(format!("{}- [{}](#{})", indentation, text, slug)); toc.push(format!("{}- [{}](#{})", indentation, text, slug));
} }