domain_changer
Rust library that helps you to change the domain of the link to another domain, the library helps with privacy. It can be used to change the domain of sites that do not care about privacy to another that does.
Examples
Parse String
Parse the string and convert the old urls to new one
Note: You can change the domains as you want
use parse_string;
use Config;
let text: String = "Wellcome to my youtube channel: https://www.youtube.com/channel/UCeRbJsc8cl7xBwT3jIxaAdg And my twitter is: twitter.com/Awiteb".to_string;
let config: Config = default;
assert_eq!;
Extract Domains
You can extract domains domains from string if any (Just the domain you add it to config)
use extract_old_domains;
use ;
let config: Config = default;
let text: String = Stringfrom;
assert_eq!;
Donating
| Currency | Address |
|---|---|
| Binance BNB BEP20 | 0xD89c146B03B72191be91064D313610981dCAF6d4 |
| USD Coin USDC BEP20 | 0xD89c146B03B72191be91064D313610981dCAF6d4 |
| Bitcoin BTC | bc1q0ltmqmsc4qs740ssyf9k9jq99nwxtqu8aupmdj |
| Bitcoin Cash BCH | qrpm6zyte3d4z2u9r24l04m3havc2wd9vgqlz8sjgr |
Contributors
License
The GNU Affero General Public License is a free, copyleft license for software and other kinds of works, specifically designed to ensure cooperation with the community in the case of network server software.