├── .github
└── workflows
│ └── main.yml
├── .gitignore
├── LICENSE
├── README.md
├── blacklist.json
├── data.json
├── fixed
├── cloudtube.json
├── neuters.json
├── osm.json
├── twineo.json
└── wikiless.json
├── main.py
├── networks.json
├── requirements.txt
└── services
├── from_file.py
├── medium.py
├── other.py
├── pixiv.py
├── reddit.py
├── search.py
├── translate.py
├── utils.py
├── wolfram.py
└── youtube.py
/.github/workflows/main.yml:
--------------------------------------------------------------------------------
1 | name: instances-updater
2 | on:
3 | schedule:
4 | - cron: '10 22 */1 * *'
5 | workflow_dispatch:
6 | jobs:
7 | fetch:
8 | runs-on: ubuntu-latest
9 | steps:
10 | - uses: actions/checkout@v3.3.0
11 | with:
12 | fetch-depth: 0
13 | ref: main
14 | - uses: actions/setup-python@v4.5.0
15 | with:
16 | python-version: '3.8'
17 | - run: |
18 | python -m pip install --upgrade pip
19 | pip install -r requirements.txt
20 | - run: python main.py
21 | - run: |
22 | git config --local user.email "action@github.com"
23 | git config --local user.name "GitHub Action"
24 | git add -A
25 | git commit -m "Update instances" -a || :
26 | - uses: ad-m/github-push-action@v0.6.0
27 | with:
28 | github_token: ${{ secrets.GITHUB_TOKEN }}
29 | branch: main
30 | - shell: bash
31 | env:
32 | CODEBERG_TOKEN: ${{ secrets.CODEBERG_TOKEN }}
33 | run: |
34 | git config --unset-all http.https://github.com/.extraheader
35 | git push https://manerakai:$CODEBERG_TOKEN@codeberg.org/LibRedirect/instances
36 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Byte-compiled / optimized / DLL files
2 | __pycache__/
3 | *.py[cod]
4 | *$py.class
5 |
6 | # C extensions
7 | *.so
8 |
9 | # Distribution / packaging
10 | .Python
11 | build/
12 | develop-eggs/
13 | dist/
14 | downloads/
15 | eggs/
16 | .eggs/
17 | lib/
18 | lib64/
19 | parts/
20 | sdist/
21 | var/
22 | wheels/
23 | share/python-wheels/
24 | *.egg-info/
25 | .installed.cfg
26 | *.egg
27 | MANIFEST
28 |
29 | # PyInstaller
30 | # Usually these files are written by a python script from a template
31 | # before PyInstaller builds the exe, so as to inject date/other infos into it.
32 | *.manifest
33 | *.spec
34 |
35 | # Installer logs
36 | pip-log.txt
37 | pip-delete-this-directory.txt
38 |
39 | # Unit test / coverage reports
40 | htmlcov/
41 | .tox/
42 | .nox/
43 | .coverage
44 | .coverage.*
45 | .cache
46 | nosetests.xml
47 | coverage.xml
48 | *.cover
49 | *.py,cover
50 | .hypothesis/
51 | .pytest_cache/
52 | cover/
53 |
54 | # Translations
55 | *.mo
56 | *.pot
57 |
58 | # Django stuff:
59 | *.log
60 | local_settings.py
61 | db.sqlite3
62 | db.sqlite3-journal
63 |
64 | # Flask stuff:
65 | instance/
66 | .webassets-cache
67 |
68 | # Scrapy stuff:
69 | .scrapy
70 |
71 | # Sphinx documentation
72 | docs/_build/
73 |
74 | # PyBuilder
75 | .pybuilder/
76 | target/
77 |
78 | # Jupyter Notebook
79 | .ipynb_checkpoints
80 |
81 | # IPython
82 | profile_default/
83 | ipython_config.py
84 |
85 | # pyenv
86 | # For a library or package, you might want to ignore these files since the code is
87 | # intended to run in multiple environments; otherwise, check them in:
88 | # .python-version
89 |
90 | # pipenv
91 | # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92 | # However, in case of collaboration, if having platform-specific dependencies or dependencies
93 | # having no cross-platform support, pipenv may install dependencies that don't work, or not
94 | # install all needed dependencies.
95 | #Pipfile.lock
96 |
97 | # poetry
98 | # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
99 | # This is especially recommended for binary packages to ensure reproducibility, and is more
100 | # commonly ignored for libraries.
101 | # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
102 | #poetry.lock
103 |
104 | # pdm
105 | # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
106 | #pdm.lock
107 | # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
108 | # in version control.
109 | # https://pdm.fming.dev/latest/usage/project/#working-with-version-control
110 | .pdm.toml
111 | .pdm-python
112 | .pdm-build/
113 |
114 | # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
115 | __pypackages__/
116 |
117 | # Celery stuff
118 | celerybeat-schedule
119 | celerybeat.pid
120 |
121 | # SageMath parsed files
122 | *.sage.py
123 |
124 | # Environments
125 | .env
126 | .venv
127 | env/
128 | venv/
129 | ENV/
130 | env.bak/
131 | venv.bak/
132 |
133 | # Spyder project settings
134 | .spyderproject
135 | .spyproject
136 |
137 | # Rope project settings
138 | .ropeproject
139 |
140 | # mkdocs documentation
141 | /site
142 |
143 | # mypy
144 | .mypy_cache/
145 | .dmypy.json
146 | dmypy.json
147 |
148 | # Pyre type checker
149 | .pyre/
150 |
151 | # pytype static type analyzer
152 | .pytype/
153 |
154 | # Cython debug symbols
155 | cython_debug/
156 |
157 | # PyCharm
158 | # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
159 | # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
160 | # and can be added to the global gitignore or merged into this file. For a more nuclear
161 | # option (not recommended) you can uncomment the following to ignore the entire idea folder.
162 | #.idea/
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 3, 29 June 2007
3 |
4 | Copyright (C) 2007 Free Software Foundation, Inc.
5 | Everyone is permitted to copy and distribute verbatim copies
6 | of this license document, but changing it is not allowed.
7 |
8 | Preamble
9 |
10 | The GNU General Public License is a free, copyleft license for
11 | software and other kinds of works.
12 |
13 | The licenses for most software and other practical works are designed
14 | to take away your freedom to share and change the works. By contrast,
15 | the GNU General Public License is intended to guarantee your freedom to
16 | share and change all versions of a program--to make sure it remains free
17 | software for all its users. We, the Free Software Foundation, use the
18 | GNU General Public License for most of our software; it applies also to
19 | any other work released this way by its authors. You can apply it to
20 | your programs, too.
21 |
22 | When we speak of free software, we are referring to freedom, not
23 | price. Our General Public Licenses are designed to make sure that you
24 | have the freedom to distribute copies of free software (and charge for
25 | them if you wish), that you receive source code or can get it if you
26 | want it, that you can change the software or use pieces of it in new
27 | free programs, and that you know you can do these things.
28 |
29 | To protect your rights, we need to prevent others from denying you
30 | these rights or asking you to surrender the rights. Therefore, you have
31 | certain responsibilities if you distribute copies of the software, or if
32 | you modify it: responsibilities to respect the freedom of others.
33 |
34 | For example, if you distribute copies of such a program, whether
35 | gratis or for a fee, you must pass on to the recipients the same
36 | freedoms that you received. You must make sure that they, too, receive
37 | or can get the source code. And you must show them these terms so they
38 | know their rights.
39 |
40 | Developers that use the GNU GPL protect your rights with two steps:
41 | (1) assert copyright on the software, and (2) offer you this License
42 | giving you legal permission to copy, distribute and/or modify it.
43 |
44 | For the developers' and authors' protection, the GPL clearly explains
45 | that there is no warranty for this free software. For both users' and
46 | authors' sake, the GPL requires that modified versions be marked as
47 | changed, so that their problems will not be attributed erroneously to
48 | authors of previous versions.
49 |
50 | Some devices are designed to deny users access to install or run
51 | modified versions of the software inside them, although the manufacturer
52 | can do so. This is fundamentally incompatible with the aim of
53 | protecting users' freedom to change the software. The systematic
54 | pattern of such abuse occurs in the area of products for individuals to
55 | use, which is precisely where it is most unacceptable. Therefore, we
56 | have designed this version of the GPL to prohibit the practice for those
57 | products. If such problems arise substantially in other domains, we
58 | stand ready to extend this provision to those domains in future versions
59 | of the GPL, as needed to protect the freedom of users.
60 |
61 | Finally, every program is threatened constantly by software patents.
62 | States should not allow patents to restrict development and use of
63 | software on general-purpose computers, but in those that do, we wish to
64 | avoid the special danger that patents applied to a free program could
65 | make it effectively proprietary. To prevent this, the GPL assures that
66 | patents cannot be used to render the program non-free.
67 |
68 | The precise terms and conditions for copying, distribution and
69 | modification follow.
70 |
71 | TERMS AND CONDITIONS
72 |
73 | 0. Definitions.
74 |
75 | "This License" refers to version 3 of the GNU General Public License.
76 |
77 | "Copyright" also means copyright-like laws that apply to other kinds of
78 | works, such as semiconductor masks.
79 |
80 | "The Program" refers to any copyrightable work licensed under this
81 | License. Each licensee is addressed as "you". "Licensees" and
82 | "recipients" may be individuals or organizations.
83 |
84 | To "modify" a work means to copy from or adapt all or part of the work
85 | in a fashion requiring copyright permission, other than the making of an
86 | exact copy. The resulting work is called a "modified version" of the
87 | earlier work or a work "based on" the earlier work.
88 |
89 | A "covered work" means either the unmodified Program or a work based
90 | on the Program.
91 |
92 | To "propagate" a work means to do anything with it that, without
93 | permission, would make you directly or secondarily liable for
94 | infringement under applicable copyright law, except executing it on a
95 | computer or modifying a private copy. Propagation includes copying,
96 | distribution (with or without modification), making available to the
97 | public, and in some countries other activities as well.
98 |
99 | To "convey" a work means any kind of propagation that enables other
100 | parties to make or receive copies. Mere interaction with a user through
101 | a computer network, with no transfer of a copy, is not conveying.
102 |
103 | An interactive user interface displays "Appropriate Legal Notices"
104 | to the extent that it includes a convenient and prominently visible
105 | feature that (1) displays an appropriate copyright notice, and (2)
106 | tells the user that there is no warranty for the work (except to the
107 | extent that warranties are provided), that licensees may convey the
108 | work under this License, and how to view a copy of this License. If
109 | the interface presents a list of user commands or options, such as a
110 | menu, a prominent item in the list meets this criterion.
111 |
112 | 1. Source Code.
113 |
114 | The "source code" for a work means the preferred form of the work
115 | for making modifications to it. "Object code" means any non-source
116 | form of a work.
117 |
118 | A "Standard Interface" means an interface that either is an official
119 | standard defined by a recognized standards body, or, in the case of
120 | interfaces specified for a particular programming language, one that
121 | is widely used among developers working in that language.
122 |
123 | The "System Libraries" of an executable work include anything, other
124 | than the work as a whole, that (a) is included in the normal form of
125 | packaging a Major Component, but which is not part of that Major
126 | Component, and (b) serves only to enable use of the work with that
127 | Major Component, or to implement a Standard Interface for which an
128 | implementation is available to the public in source code form. A
129 | "Major Component", in this context, means a major essential component
130 | (kernel, window system, and so on) of the specific operating system
131 | (if any) on which the executable work runs, or a compiler used to
132 | produce the work, or an object code interpreter used to run it.
133 |
134 | The "Corresponding Source" for a work in object code form means all
135 | the source code needed to generate, install, and (for an executable
136 | work) run the object code and to modify the work, including scripts to
137 | control those activities. However, it does not include the work's
138 | System Libraries, or general-purpose tools or generally available free
139 | programs which are used unmodified in performing those activities but
140 | which are not part of the work. For example, Corresponding Source
141 | includes interface definition files associated with source files for
142 | the work, and the source code for shared libraries and dynamically
143 | linked subprograms that the work is specifically designed to require,
144 | such as by intimate data communication or control flow between those
145 | subprograms and other parts of the work.
146 |
147 | The Corresponding Source need not include anything that users
148 | can regenerate automatically from other parts of the Corresponding
149 | Source.
150 |
151 | The Corresponding Source for a work in source code form is that
152 | same work.
153 |
154 | 2. Basic Permissions.
155 |
156 | All rights granted under this License are granted for the term of
157 | copyright on the Program, and are irrevocable provided the stated
158 | conditions are met. This License explicitly affirms your unlimited
159 | permission to run the unmodified Program. The output from running a
160 | covered work is covered by this License only if the output, given its
161 | content, constitutes a covered work. This License acknowledges your
162 | rights of fair use or other equivalent, as provided by copyright law.
163 |
164 | You may make, run and propagate covered works that you do not
165 | convey, without conditions so long as your license otherwise remains
166 | in force. You may convey covered works to others for the sole purpose
167 | of having them make modifications exclusively for you, or provide you
168 | with facilities for running those works, provided that you comply with
169 | the terms of this License in conveying all material for which you do
170 | not control copyright. Those thus making or running the covered works
171 | for you must do so exclusively on your behalf, under your direction
172 | and control, on terms that prohibit them from making any copies of
173 | your copyrighted material outside their relationship with you.
174 |
175 | Conveying under any other circumstances is permitted solely under
176 | the conditions stated below. Sublicensing is not allowed; section 10
177 | makes it unnecessary.
178 |
179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180 |
181 | No covered work shall be deemed part of an effective technological
182 | measure under any applicable law fulfilling obligations under article
183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184 | similar laws prohibiting or restricting circumvention of such
185 | measures.
186 |
187 | When you convey a covered work, you waive any legal power to forbid
188 | circumvention of technological measures to the extent such circumvention
189 | is effected by exercising rights under this License with respect to
190 | the covered work, and you disclaim any intention to limit operation or
191 | modification of the work as a means of enforcing, against the work's
192 | users, your or third parties' legal rights to forbid circumvention of
193 | technological measures.
194 |
195 | 4. Conveying Verbatim Copies.
196 |
197 | You may convey verbatim copies of the Program's source code as you
198 | receive it, in any medium, provided that you conspicuously and
199 | appropriately publish on each copy an appropriate copyright notice;
200 | keep intact all notices stating that this License and any
201 | non-permissive terms added in accord with section 7 apply to the code;
202 | keep intact all notices of the absence of any warranty; and give all
203 | recipients a copy of this License along with the Program.
204 |
205 | You may charge any price or no price for each copy that you convey,
206 | and you may offer support or warranty protection for a fee.
207 |
208 | 5. Conveying Modified Source Versions.
209 |
210 | You may convey a work based on the Program, or the modifications to
211 | produce it from the Program, in the form of source code under the
212 | terms of section 4, provided that you also meet all of these conditions:
213 |
214 | a) The work must carry prominent notices stating that you modified
215 | it, and giving a relevant date.
216 |
217 | b) The work must carry prominent notices stating that it is
218 | released under this License and any conditions added under section
219 | 7. This requirement modifies the requirement in section 4 to
220 | "keep intact all notices".
221 |
222 | c) You must license the entire work, as a whole, under this
223 | License to anyone who comes into possession of a copy. This
224 | License will therefore apply, along with any applicable section 7
225 | additional terms, to the whole of the work, and all its parts,
226 | regardless of how they are packaged. This License gives no
227 | permission to license the work in any other way, but it does not
228 | invalidate such permission if you have separately received it.
229 |
230 | d) If the work has interactive user interfaces, each must display
231 | Appropriate Legal Notices; however, if the Program has interactive
232 | interfaces that do not display Appropriate Legal Notices, your
233 | work need not make them do so.
234 |
235 | A compilation of a covered work with other separate and independent
236 | works, which are not by their nature extensions of the covered work,
237 | and which are not combined with it such as to form a larger program,
238 | in or on a volume of a storage or distribution medium, is called an
239 | "aggregate" if the compilation and its resulting copyright are not
240 | used to limit the access or legal rights of the compilation's users
241 | beyond what the individual works permit. Inclusion of a covered work
242 | in an aggregate does not cause this License to apply to the other
243 | parts of the aggregate.
244 |
245 | 6. Conveying Non-Source Forms.
246 |
247 | You may convey a covered work in object code form under the terms
248 | of sections 4 and 5, provided that you also convey the
249 | machine-readable Corresponding Source under the terms of this License,
250 | in one of these ways:
251 |
252 | a) Convey the object code in, or embodied in, a physical product
253 | (including a physical distribution medium), accompanied by the
254 | Corresponding Source fixed on a durable physical medium
255 | customarily used for software interchange.
256 |
257 | b) Convey the object code in, or embodied in, a physical product
258 | (including a physical distribution medium), accompanied by a
259 | written offer, valid for at least three years and valid for as
260 | long as you offer spare parts or customer support for that product
261 | model, to give anyone who possesses the object code either (1) a
262 | copy of the Corresponding Source for all the software in the
263 | product that is covered by this License, on a durable physical
264 | medium customarily used for software interchange, for a price no
265 | more than your reasonable cost of physically performing this
266 | conveying of source, or (2) access to copy the
267 | Corresponding Source from a network server at no charge.
268 |
269 | c) Convey individual copies of the object code with a copy of the
270 | written offer to provide the Corresponding Source. This
271 | alternative is allowed only occasionally and noncommercially, and
272 | only if you received the object code with such an offer, in accord
273 | with subsection 6b.
274 |
275 | d) Convey the object code by offering access from a designated
276 | place (gratis or for a charge), and offer equivalent access to the
277 | Corresponding Source in the same way through the same place at no
278 | further charge. You need not require recipients to copy the
279 | Corresponding Source along with the object code. If the place to
280 | copy the object code is a network server, the Corresponding Source
281 | may be on a different server (operated by you or a third party)
282 | that supports equivalent copying facilities, provided you maintain
283 | clear directions next to the object code saying where to find the
284 | Corresponding Source. Regardless of what server hosts the
285 | Corresponding Source, you remain obligated to ensure that it is
286 | available for as long as needed to satisfy these requirements.
287 |
288 | e) Convey the object code using peer-to-peer transmission, provided
289 | you inform other peers where the object code and Corresponding
290 | Source of the work are being offered to the general public at no
291 | charge under subsection 6d.
292 |
293 | A separable portion of the object code, whose source code is excluded
294 | from the Corresponding Source as a System Library, need not be
295 | included in conveying the object code work.
296 |
297 | A "User Product" is either (1) a "consumer product", which means any
298 | tangible personal property which is normally used for personal, family,
299 | or household purposes, or (2) anything designed or sold for incorporation
300 | into a dwelling. In determining whether a product is a consumer product,
301 | doubtful cases shall be resolved in favor of coverage. For a particular
302 | product received by a particular user, "normally used" refers to a
303 | typical or common use of that class of product, regardless of the status
304 | of the particular user or of the way in which the particular user
305 | actually uses, or expects or is expected to use, the product. A product
306 | is a consumer product regardless of whether the product has substantial
307 | commercial, industrial or non-consumer uses, unless such uses represent
308 | the only significant mode of use of the product.
309 |
310 | "Installation Information" for a User Product means any methods,
311 | procedures, authorization keys, or other information required to install
312 | and execute modified versions of a covered work in that User Product from
313 | a modified version of its Corresponding Source. The information must
314 | suffice to ensure that the continued functioning of the modified object
315 | code is in no case prevented or interfered with solely because
316 | modification has been made.
317 |
318 | If you convey an object code work under this section in, or with, or
319 | specifically for use in, a User Product, and the conveying occurs as
320 | part of a transaction in which the right of possession and use of the
321 | User Product is transferred to the recipient in perpetuity or for a
322 | fixed term (regardless of how the transaction is characterized), the
323 | Corresponding Source conveyed under this section must be accompanied
324 | by the Installation Information. But this requirement does not apply
325 | if neither you nor any third party retains the ability to install
326 | modified object code on the User Product (for example, the work has
327 | been installed in ROM).
328 |
329 | The requirement to provide Installation Information does not include a
330 | requirement to continue to provide support service, warranty, or updates
331 | for a work that has been modified or installed by the recipient, or for
332 | the User Product in which it has been modified or installed. Access to a
333 | network may be denied when the modification itself materially and
334 | adversely affects the operation of the network or violates the rules and
335 | protocols for communication across the network.
336 |
337 | Corresponding Source conveyed, and Installation Information provided,
338 | in accord with this section must be in a format that is publicly
339 | documented (and with an implementation available to the public in
340 | source code form), and must require no special password or key for
341 | unpacking, reading or copying.
342 |
343 | 7. Additional Terms.
344 |
345 | "Additional permissions" are terms that supplement the terms of this
346 | License by making exceptions from one or more of its conditions.
347 | Additional permissions that are applicable to the entire Program shall
348 | be treated as though they were included in this License, to the extent
349 | that they are valid under applicable law. If additional permissions
350 | apply only to part of the Program, that part may be used separately
351 | under those permissions, but the entire Program remains governed by
352 | this License without regard to the additional permissions.
353 |
354 | When you convey a copy of a covered work, you may at your option
355 | remove any additional permissions from that copy, or from any part of
356 | it. (Additional permissions may be written to require their own
357 | removal in certain cases when you modify the work.) You may place
358 | additional permissions on material, added by you to a covered work,
359 | for which you have or can give appropriate copyright permission.
360 |
361 | Notwithstanding any other provision of this License, for material you
362 | add to a covered work, you may (if authorized by the copyright holders of
363 | that material) supplement the terms of this License with terms:
364 |
365 | a) Disclaiming warranty or limiting liability differently from the
366 | terms of sections 15 and 16 of this License; or
367 |
368 | b) Requiring preservation of specified reasonable legal notices or
369 | author attributions in that material or in the Appropriate Legal
370 | Notices displayed by works containing it; or
371 |
372 | c) Prohibiting misrepresentation of the origin of that material, or
373 | requiring that modified versions of such material be marked in
374 | reasonable ways as different from the original version; or
375 |
376 | d) Limiting the use for publicity purposes of names of licensors or
377 | authors of the material; or
378 |
379 | e) Declining to grant rights under trademark law for use of some
380 | trade names, trademarks, or service marks; or
381 |
382 | f) Requiring indemnification of licensors and authors of that
383 | material by anyone who conveys the material (or modified versions of
384 | it) with contractual assumptions of liability to the recipient, for
385 | any liability that these contractual assumptions directly impose on
386 | those licensors and authors.
387 |
388 | All other non-permissive additional terms are considered "further
389 | restrictions" within the meaning of section 10. If the Program as you
390 | received it, or any part of it, contains a notice stating that it is
391 | governed by this License along with a term that is a further
392 | restriction, you may remove that term. If a license document contains
393 | a further restriction but permits relicensing or conveying under this
394 | License, you may add to a covered work material governed by the terms
395 | of that license document, provided that the further restriction does
396 | not survive such relicensing or conveying.
397 |
398 | If you add terms to a covered work in accord with this section, you
399 | must place, in the relevant source files, a statement of the
400 | additional terms that apply to those files, or a notice indicating
401 | where to find the applicable terms.
402 |
403 | Additional terms, permissive or non-permissive, may be stated in the
404 | form of a separately written license, or stated as exceptions;
405 | the above requirements apply either way.
406 |
407 | 8. Termination.
408 |
409 | You may not propagate or modify a covered work except as expressly
410 | provided under this License. Any attempt otherwise to propagate or
411 | modify it is void, and will automatically terminate your rights under
412 | this License (including any patent licenses granted under the third
413 | paragraph of section 11).
414 |
415 | However, if you cease all violation of this License, then your
416 | license from a particular copyright holder is reinstated (a)
417 | provisionally, unless and until the copyright holder explicitly and
418 | finally terminates your license, and (b) permanently, if the copyright
419 | holder fails to notify you of the violation by some reasonable means
420 | prior to 60 days after the cessation.
421 |
422 | Moreover, your license from a particular copyright holder is
423 | reinstated permanently if the copyright holder notifies you of the
424 | violation by some reasonable means, this is the first time you have
425 | received notice of violation of this License (for any work) from that
426 | copyright holder, and you cure the violation prior to 30 days after
427 | your receipt of the notice.
428 |
429 | Termination of your rights under this section does not terminate the
430 | licenses of parties who have received copies or rights from you under
431 | this License. If your rights have been terminated and not permanently
432 | reinstated, you do not qualify to receive new licenses for the same
433 | material under section 10.
434 |
435 | 9. Acceptance Not Required for Having Copies.
436 |
437 | You are not required to accept this License in order to receive or
438 | run a copy of the Program. Ancillary propagation of a covered work
439 | occurring solely as a consequence of using peer-to-peer transmission
440 | to receive a copy likewise does not require acceptance. However,
441 | nothing other than this License grants you permission to propagate or
442 | modify any covered work. These actions infringe copyright if you do
443 | not accept this License. Therefore, by modifying or propagating a
444 | covered work, you indicate your acceptance of this License to do so.
445 |
446 | 10. Automatic Licensing of Downstream Recipients.
447 |
448 | Each time you convey a covered work, the recipient automatically
449 | receives a license from the original licensors, to run, modify and
450 | propagate that work, subject to this License. You are not responsible
451 | for enforcing compliance by third parties with this License.
452 |
453 | An "entity transaction" is a transaction transferring control of an
454 | organization, or substantially all assets of one, or subdividing an
455 | organization, or merging organizations. If propagation of a covered
456 | work results from an entity transaction, each party to that
457 | transaction who receives a copy of the work also receives whatever
458 | licenses to the work the party's predecessor in interest had or could
459 | give under the previous paragraph, plus a right to possession of the
460 | Corresponding Source of the work from the predecessor in interest, if
461 | the predecessor has it or can get it with reasonable efforts.
462 |
463 | You may not impose any further restrictions on the exercise of the
464 | rights granted or affirmed under this License. For example, you may
465 | not impose a license fee, royalty, or other charge for exercise of
466 | rights granted under this License, and you may not initiate litigation
467 | (including a cross-claim or counterclaim in a lawsuit) alleging that
468 | any patent claim is infringed by making, using, selling, offering for
469 | sale, or importing the Program or any portion of it.
470 |
471 | 11. Patents.
472 |
473 | A "contributor" is a copyright holder who authorizes use under this
474 | License of the Program or a work on which the Program is based. The
475 | work thus licensed is called the contributor's "contributor version".
476 |
477 | A contributor's "essential patent claims" are all patent claims
478 | owned or controlled by the contributor, whether already acquired or
479 | hereafter acquired, that would be infringed by some manner, permitted
480 | by this License, of making, using, or selling its contributor version,
481 | but do not include claims that would be infringed only as a
482 | consequence of further modification of the contributor version. For
483 | purposes of this definition, "control" includes the right to grant
484 | patent sublicenses in a manner consistent with the requirements of
485 | this License.
486 |
487 | Each contributor grants you a non-exclusive, worldwide, royalty-free
488 | patent license under the contributor's essential patent claims, to
489 | make, use, sell, offer for sale, import and otherwise run, modify and
490 | propagate the contents of its contributor version.
491 |
492 | In the following three paragraphs, a "patent license" is any express
493 | agreement or commitment, however denominated, not to enforce a patent
494 | (such as an express permission to practice a patent or covenant not to
495 | sue for patent infringement). To "grant" such a patent license to a
496 | party means to make such an agreement or commitment not to enforce a
497 | patent against the party.
498 |
499 | If you convey a covered work, knowingly relying on a patent license,
500 | and the Corresponding Source of the work is not available for anyone
501 | to copy, free of charge and under the terms of this License, through a
502 | publicly available network server or other readily accessible means,
503 | then you must either (1) cause the Corresponding Source to be so
504 | available, or (2) arrange to deprive yourself of the benefit of the
505 | patent license for this particular work, or (3) arrange, in a manner
506 | consistent with the requirements of this License, to extend the patent
507 | license to downstream recipients. "Knowingly relying" means you have
508 | actual knowledge that, but for the patent license, your conveying the
509 | covered work in a country, or your recipient's use of the covered work
510 | in a country, would infringe one or more identifiable patents in that
511 | country that you have reason to believe are valid.
512 |
513 | If, pursuant to or in connection with a single transaction or
514 | arrangement, you convey, or propagate by procuring conveyance of, a
515 | covered work, and grant a patent license to some of the parties
516 | receiving the covered work authorizing them to use, propagate, modify
517 | or convey a specific copy of the covered work, then the patent license
518 | you grant is automatically extended to all recipients of the covered
519 | work and works based on it.
520 |
521 | A patent license is "discriminatory" if it does not include within
522 | the scope of its coverage, prohibits the exercise of, or is
523 | conditioned on the non-exercise of one or more of the rights that are
524 | specifically granted under this License. You may not convey a covered
525 | work if you are a party to an arrangement with a third party that is
526 | in the business of distributing software, under which you make payment
527 | to the third party based on the extent of your activity of conveying
528 | the work, and under which the third party grants, to any of the
529 | parties who would receive the covered work from you, a discriminatory
530 | patent license (a) in connection with copies of the covered work
531 | conveyed by you (or copies made from those copies), or (b) primarily
532 | for and in connection with specific products or compilations that
533 | contain the covered work, unless you entered into that arrangement,
534 | or that patent license was granted, prior to 28 March 2007.
535 |
536 | Nothing in this License shall be construed as excluding or limiting
537 | any implied license or other defenses to infringement that may
538 | otherwise be available to you under applicable patent law.
539 |
540 | 12. No Surrender of Others' Freedom.
541 |
542 | If conditions are imposed on you (whether by court order, agreement or
543 | otherwise) that contradict the conditions of this License, they do not
544 | excuse you from the conditions of this License. If you cannot convey a
545 | covered work so as to satisfy simultaneously your obligations under this
546 | License and any other pertinent obligations, then as a consequence you may
547 | not convey it at all. For example, if you agree to terms that obligate you
548 | to collect a royalty for further conveying from those to whom you convey
549 | the Program, the only way you could satisfy both those terms and this
550 | License would be to refrain entirely from conveying the Program.
551 |
552 | 13. Use with the GNU Affero General Public License.
553 |
554 | Notwithstanding any other provision of this License, you have
555 | permission to link or combine any covered work with a work licensed
556 | under version 3 of the GNU Affero General Public License into a single
557 | combined work, and to convey the resulting work. The terms of this
558 | License will continue to apply to the part which is the covered work,
559 | but the special requirements of the GNU Affero General Public License,
560 | section 13, concerning interaction through a network will apply to the
561 | combination as such.
562 |
563 | 14. Revised Versions of this License.
564 |
565 | The Free Software Foundation may publish revised and/or new versions of
566 | the GNU General Public License from time to time. Such new versions will
567 | be similar in spirit to the present version, but may differ in detail to
568 | address new problems or concerns.
569 |
570 | Each version is given a distinguishing version number. If the
571 | Program specifies that a certain numbered version of the GNU General
572 | Public License "or any later version" applies to it, you have the
573 | option of following the terms and conditions either of that numbered
574 | version or of any later version published by the Free Software
575 | Foundation. If the Program does not specify a version number of the
576 | GNU General Public License, you may choose any version ever published
577 | by the Free Software Foundation.
578 |
579 | If the Program specifies that a proxy can decide which future
580 | versions of the GNU General Public License can be used, that proxy's
581 | public statement of acceptance of a version permanently authorizes you
582 | to choose that version for the Program.
583 |
584 | Later license versions may give you additional or different
585 | permissions. However, no additional obligations are imposed on any
586 | author or copyright holder as a result of your choosing to follow a
587 | later version.
588 |
589 | 15. Disclaimer of Warranty.
590 |
591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599 |
600 | 16. Limitation of Liability.
601 |
602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610 | SUCH DAMAGES.
611 |
612 | 17. Interpretation of Sections 15 and 16.
613 |
614 | If the disclaimer of warranty and limitation of liability provided
615 | above cannot be given local legal effect according to their terms,
616 | reviewing courts shall apply local law that most closely approximates
617 | an absolute waiver of all civil liability in connection with the
618 | Program, unless a warranty or assumption of liability accompanies a
619 | copy of the Program in return for a fee.
620 |
621 | END OF TERMS AND CONDITIONS
622 |
623 | How to Apply These Terms to Your New Programs
624 |
625 | If you develop a new program, and you want it to be of the greatest
626 | possible use to the public, the best way to achieve this is to make it
627 | free software which everyone can redistribute and change under these terms.
628 |
629 | To do so, attach the following notices to the program. It is safest
630 | to attach them to the start of each source file to most effectively
631 | state the exclusion of warranty; and each file should have at least
632 | the "copyright" line and a pointer to where the full notice is found.
633 |
634 |
635 | Copyright (C)
636 |
637 | This program is free software: you can redistribute it and/or modify
638 | it under the terms of the GNU General Public License as published by
639 | the Free Software Foundation, either version 3 of the License, or
640 | (at your option) any later version.
641 |
642 | This program is distributed in the hope that it will be useful,
643 | but WITHOUT ANY WARRANTY; without even the implied warranty of
644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645 | GNU General Public License for more details.
646 |
647 | You should have received a copy of the GNU General Public License
648 | along with this program. If not, see .
649 |
650 | Also add information on how to contact you by electronic and paper mail.
651 |
652 | If the program does terminal interaction, make it output a short
653 | notice like this when it starts in an interactive mode:
654 |
655 | Copyright (C)
656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657 | This is free software, and you are welcome to redistribute it
658 | under certain conditions; type `show c' for details.
659 |
660 | The hypothetical commands `show w' and `show c' should show the appropriate
661 | parts of the General Public License. Of course, your program's commands
662 | might be different; for a GUI interface, you would use an "about box".
663 |
664 | You should also get your employer (if you work as a programmer) or school,
665 | if any, to sign a "copyright disclaimer" for the program, if necessary.
666 | For more information on this, and how to apply and follow the GNU GPL, see
667 | .
668 |
669 | The GNU General Public License does not permit incorporating your program
670 | into proprietary programs. If your program is a subroutine library, you
671 | may consider it more useful to permit linking proprietary applications with
672 | the library. If this is what you want to do, use the GNU Lesser General
673 | Public License instead of this License. But first, please read
674 | .
675 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Automated instances list for LibRedirect
2 |
3 | ## How to run
4 |
5 | Create a virtual environment
6 | ```bash
7 | $ python3 -m venv venv
8 | ```
9 | Activate the virtual environment
10 | ```bash
11 | $ source venv/bin/activate
12 | ```
13 | Install dependencies
14 | ```bash
15 | $ pip install -r requirements.txt
16 | ```
17 | To get instances list run this command
18 | ```bash
19 | $ python3 main.py
20 | ```
21 |
--------------------------------------------------------------------------------
/blacklist.json:
--------------------------------------------------------------------------------
1 | {
2 | "cloudflare": [
3 | "https://invidious.f5.si",
4 | "https://tiktok.wpme.pl",
5 | "https://send.aurorabilisim.com",
6 | "https://send.cyberjake.xyz",
7 | "https://send.aslaets.be",
8 | "https://send.sdad.pro",
9 | "https://send.skylerszijjarto.com",
10 | "https://lightbrd.com",
11 | "https://nitter.space",
12 | "https://redlib.perennialte.ch",
13 | "https://redlib.r4fo.com",
14 | "https://libreddit.eu.org",
15 | "https://scribe.rawbit.ninja",
16 | "https://quetre.jeikobu.net",
17 | "https://libremdb.jeikobu.net",
18 | "https://libremdb.nerdyfam.tech",
19 | "https://simplytranslate.aketawi.space",
20 | "https://lingva.ml",
21 | "https://lingva.garudalinux.org",
22 | "https://searx.ru",
23 | "https://search.garudalinux.org",
24 | "https://rimgo.fascinated.cc",
25 | "https://rimgo.aketawi.space",
26 | "https://safetwitch.r4fo.com",
27 | "https://hp.iqbalrifai.eu.org",
28 | "https://www.openstreetmap.org",
29 | "https://privatebin.luckvintage.com",
30 | "https://pb.blackvoid.club",
31 | "https://privatebin.z1337.de",
32 | "https://paste.3server.de",
33 | "https://privatebin.io",
34 | "https://pasteb.in",
35 | "https://bonus01.hwb0307.com",
36 | "https://bin.oldgate.org",
37 | "https://paste.loryy.dev",
38 | "https://dumb.jeikobu.net",
39 | "https://overflow.fascinated.cc",
40 | "https://overflow.freedit.eu",
41 | "https://overflow.snine.nl",
42 | "https://anonflow.aketawi.space",
43 | "https://wikiless.rawbit.ninja",
44 | "https://w.sneed.network",
45 | "https://biblioreads.mooo.com",
46 | "https://read.freedit.eu",
47 | "https://biblioreads.snine.nl",
48 | "https://meet.jit.si",
49 | "https://8x8.vc",
50 | "https://sc.tijn.dev"
51 | ]
52 | }
--------------------------------------------------------------------------------
/data.json:
--------------------------------------------------------------------------------
1 | {
2 | "invidious": {
3 | "clearnet": [
4 | "https://inv.nadeko.net",
5 | "https://invidious.nerdvpn.de",
6 | "https://invidious.f5.si",
7 | "https://yewtu.be"
8 | ],
9 | "tor": [
10 | "http://inv.nadekonw7plitnjuawu6ytjsl7jlglk2t6pyq6eftptmiv3dvqndwvyd.onion"
11 | ],
12 | "i2p": [
13 | "http://nadekoohummkxncchcsylr3eku36ze4waq4kdrhcqupckc3pe5qq.b32.i2p"
14 | ],
15 | "loki": []
16 | },
17 | "materialious": {
18 | "clearnet": [
19 | "https://app.materialio.us"
20 | ],
21 | "tor": [],
22 | "i2p": [],
23 | "loki": []
24 | },
25 | "piped": {
26 | "clearnet": [],
27 | "tor": [],
28 | "i2p": [],
29 | "loki": []
30 | },
31 | "pipedMaterial": {
32 | "clearnet": [
33 | "https://piped-material.xn--17b.net",
34 | "https://piped-material.ftp.sh",
35 | "https://eds-v2.piped.xn--17b.net"
36 | ],
37 | "tor": [],
38 | "i2p": [],
39 | "loki": []
40 | },
41 | "cloudtube": {
42 | "clearnet": [
43 | "https://tube.cadence.moe",
44 | "https://tube.boritsch.de"
45 | ],
46 | "tor": [],
47 | "i2p": [],
48 | "loki": []
49 | },
50 | "proxiTok": {
51 | "clearnet": [
52 | "https://proxitok.pabloferreiro.es",
53 | "https://proxitok.pussthecat.org",
54 | "https://tok.habedieeh.re",
55 | "https://proxitok.privacydev.net",
56 | "https://tok.artemislena.eu",
57 | "https://tok.adminforge.de",
58 | "https://cringe.whatever.social",
59 | "https://proxitok.lunar.icu",
60 | "https://proxitok.privacy.com.de",
61 | "https://cringe.seitan-ayoub.lol",
62 | "https://tt.opnxng.com",
63 | "https://tiktok.wpme.pl",
64 | "https://proxitok.r4fo.com",
65 | "https://proxitok.belloworld.it"
66 | ],
67 | "tor": [],
68 | "i2p": [],
69 | "loki": []
70 | },
71 | "send": {
72 | "clearnet": [
73 | "https://send.vis.ee",
74 | "https://send.mni.li",
75 | "https://send.monks.tools",
76 | "https://send.boblorange.net",
77 | "https://send.aurorabilisim.com",
78 | "https://send.artemislena.eu",
79 | "https://fileupload.ggc-project.de",
80 | "https://drop.chapril.org",
81 | "https://send.jeugdhulp.be",
82 | "https://files.psu.ru",
83 | "https://send.datenpost.app",
84 | "https://s.opnxng.com",
85 | "https://send.cyberjake.xyz",
86 | "https://send.kokomo.cloud",
87 | "https://send.adminforge.de",
88 | "https://send.turingpoint.de",
89 | "https://send.aslaets.be",
90 | "https://send.codespace.cz",
91 | "https://upload.nolog.cz",
92 | "https://ch.skysend.ch",
93 | "https://de.skysend.ch",
94 | "https://allthefiles.net",
95 | "https://send.canine.tools",
96 | "https://secureshar.ing",
97 | "https://send.aezafiles.net",
98 | "https://send.sdad.pro",
99 | "https://send.skylerszijjarto.com"
100 | ],
101 | "tor": [],
102 | "i2p": [],
103 | "loki": []
104 | },
105 | "nitter": {
106 | "clearnet": [
107 | "https://xcancel.com",
108 | "https://nitter.poast.org",
109 | "https://nitter.privacyredirect.com",
110 | "https://lightbrd.com",
111 | "https://nitter.space",
112 | "https://nitter.tiekoetter.com"
113 | ],
114 | "tor": [
115 | "http://nitter.coffee2m3bjsrrqqycx6ghkxrnejl2q6nl7pjw2j4clchjj6uk5zozad.onion"
116 | ],
117 | "i2p": [],
118 | "loki": []
119 | },
120 | "redlib": {
121 | "clearnet": [
122 | "https://safereddit.com",
123 | "https://libreddit.projectsegfau.lt",
124 | "https://redlib.catsarch.com",
125 | "https://redlib.perennialte.ch",
126 | "https://libreddit.privacydev.net",
127 | "https://rl.bloat.cat",
128 | "https://redlib.r4fo.com",
129 | "https://reddit.owo.si",
130 | "https://red.ngn.tf",
131 | "https://red.artemislena.eu",
132 | "https://libreddit.eu.org",
133 | "https://redlib.privacyredirect.com",
134 | "https://redlib.seasi.dev",
135 | "https://reddit.nerdvpn.de",
136 | "https://redlib.nadeko.net",
137 | "https://redlib.private.coffee",
138 | "https://redlib.4o1x5.dev"
139 | ],
140 | "tor": [
141 | "http://red.lpoaj7z2zkajuhgnlltpeqh3zyq7wk2iyeggqaduhgxhyajtdt2j7wad.onion"
142 | ],
143 | "i2p": [],
144 | "loki": []
145 | },
146 | "scribe": {
147 | "clearnet": [
148 | "https://scribe.rip",
149 | "https://scribe.nixnet.services",
150 | "https://scribe.citizen4.eu",
151 | "https://scribe.bus-hit.me",
152 | "https://scribe.froth.zone",
153 | "https://scribe.privacydev.net",
154 | "https://scribe.rawbit.ninja",
155 | "https://sc.vern.cc",
156 | "https://m.opnxng.com",
157 | "https://scribe.manasiwibi.com",
158 | "https://scribe.r4fo.com",
159 | "https://scribe.privacyredirect.com"
160 | ],
161 | "tor": [],
162 | "i2p": [],
163 | "loki": []
164 | },
165 | "quetre": {
166 | "clearnet": [
167 | "https://quetre.iket.me",
168 | "https://qr.vern.cc",
169 | "https://quetre.pussthecat.org",
170 | "https://quetre.tokhmi.xyz",
171 | "https://quetre.privacydev.net",
172 | "https://ask.habedieeh.re",
173 | "https://quetre.blackdrgn.nl",
174 | "https://quetre.lunar.icu",
175 | "https://q.opnxng.com",
176 | "https://ask.sudovanilla.org",
177 | "https://quetre.drgns.space",
178 | "https://quetre.r4fo.com",
179 | "https://quetre.ducks.party",
180 | "https://quetre.nadeko.net",
181 | "https://quetre.private.coffee",
182 | "https://quetre.canine.tools",
183 | "https://qt.bloat.cat",
184 | "https://quetre.jeikobu.net"
185 | ],
186 | "tor": [
187 | "http://qr.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion",
188 | "http://quetre.g4c3eya4clenolymqbpgwz3q3tawoxw56yhzk4vugqrl6dtu3ejvhjid.onion",
189 | "http://ask.habeehrhadazsw3izbrbilqajalfyqqln54mrja3iwpqxgcuxnus7eid.onion",
190 | "http://quetre.nadekobxalvyqrhvp3m2atfgdmzp5vcwdmu3wo4htecwjkodancfmgid.onion",
191 | "http://quetre.coffee2m3bjsrrqqycx6ghkxrnejl2q6nl7pjw2j4clchjj6uk5zozad.onion"
192 | ],
193 | "i2p": [
194 | "http://vernnflenvsqccuanaun7yydnmturi4jkyxlyzhn6ultpje66c3q.b32.i2p"
195 | ],
196 | "loki": []
197 | },
198 | "libremdb": {
199 | "clearnet": [
200 | "https://libremdb.iket.me",
201 | "https://libremdb.pussthecat.org",
202 | "https://ld.vern.cc",
203 | "https://binge.whatever.social",
204 | "https://libremdb.lunar.icu",
205 | "https://libremdb.jeikobu.net",
206 | "https://lmdb.hostux.net",
207 | "https://binge.whateveritworks.org",
208 | "https://libremdb.nerdyfam.tech",
209 | "https://libremdb.tux.pizza",
210 | "https://libremdb.frontendfriendly.xyz",
211 | "https://d.opnxng.com",
212 | "https://libremdb.catsarch.com",
213 | "https://libremdb.r4fo.com",
214 | "https://libremdb.privacydev.net",
215 | "https://libremdb.ducks.party",
216 | "https://lmdb.ngn.tf",
217 | "https://lmdb.bloat.cat",
218 | "https://libremdb.darkness.services",
219 | "https://libremdb.hyperreal.coffee",
220 | "https://ld.ca.zorby.top",
221 | "https://imdb.nerdvpn.de",
222 | "https://libremdb.canine.tools",
223 | "https://libremdb-fly.fly.dev",
224 | "https://libremdb.franklyflawless.org"
225 | ],
226 | "tor": [
227 | "http://ld.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion",
228 | "http://libremdb.catsarchywsyuss6jdxlypsw5dc7owd5u5tr6bujxb7o6xw2hipqehyd.onion",
229 | "http://libremdb.r4focoma7gu2zdwwcjjad47ysxt634lg73sxmdbkdozanwqslho5ohyd.onion",
230 | "http://libremdb.g4c3eya4clenolymqbpgwz3q3tawoxw56yhzk4vugqrl6dtu3ejvhjid.onion",
231 | "http://q3hetdcyyy572xznqmsledzlbv77moycoqs6ptehpp5vsmx4dtcuqeqd.onion"
232 | ],
233 | "i2p": [
234 | "http://vernz3ubrntql4wrgyrssd6u3qzi36zrhz2agbo6vibzbs5olk2q.b32.i2p",
235 | "http://qjlgasoy3nxepgzntucmcnb6pryqxakwdu7sxvqzi7spdfootryq.b32.i2p",
236 | "http://5j37qusybvyhecljn4hr5i4chifdlfqfkfveythzpzyfxiibt7cq.b32.i2p"
237 | ],
238 | "loki": []
239 | },
240 | "simplytranslate": {
241 | "clearnet": [
242 | "https://simplytranslate.org",
243 | "https://st.adast.dk",
244 | "https://simplytranslate.ducks.party",
245 | "https://simplytranslate.aketawi.space"
246 | ],
247 | "tor": [],
248 | "i2p": [],
249 | "loki": []
250 | },
251 | "lingva": {
252 | "clearnet": [
253 | "https://lingva.ml",
254 | "https://translate.igna.wtf",
255 | "https://translate.plausibility.cloud",
256 | "https://lingva.lunar.icu",
257 | "https://translate.projectsegfau.lt",
258 | "https://lingva.garudalinux.org",
259 | "https://translate.dr460nf1r3.org",
260 | "https://translate.jae.fi"
261 | ],
262 | "tor": [],
263 | "i2p": [],
264 | "loki": []
265 | },
266 | "libreTranslate": {
267 | "clearnet": [],
268 | "tor": [],
269 | "i2p": [],
270 | "loki": []
271 | },
272 | "searxng": {
273 | "clearnet": [
274 | "https://baresearch.org",
275 | "https://copp.gg",
276 | "https://darmarit.org/searx",
277 | "https://etsi.me",
278 | "https://fairsuch.net",
279 | "https://kantan.cat",
280 | "https://metacat.online",
281 | "https://nyc1.sx.ggtyler.dev",
282 | "https://ooglester.com",
283 | "https://opnxng.com",
284 | "https://paulgo.io",
285 | "https://priv.au",
286 | "https://s.datuan.dev",
287 | "https://s.mble.dk",
288 | "https://search.080609.xyz",
289 | "https://search.404.fo",
290 | "https://search.canine.tools",
291 | "https://search.catboy.house",
292 | "https://search.citw.lgbt",
293 | "https://search.einfachzocken.eu",
294 | "https://search.fredix.xyz",
295 | "https://search.hbubli.cc",
296 | "https://search.im-in.space",
297 | "https://search.indst.eu",
298 | "https://search.inetol.net",
299 | "https://search.ipv6s.net",
300 | "https://search.leptons.xyz",
301 | "https://search.librenode.com",
302 | "https://search.mdosch.de",
303 | "https://search.mrblake.cc",
304 | "https://search.nerdvpn.de",
305 | "https://search.nordh.tech",
306 | "https://search.oh64.moe",
307 | "https://search.ohaa.xyz",
308 | "https://search.ononoki.org",
309 | "https://search.privacyredirect.com",
310 | "https://search.projectsegfau.lt",
311 | "https://search.rhscz.eu",
312 | "https://search.rowie.at",
313 | "https://search.sapti.me",
314 | "https://search.url4irl.com",
315 | "https://searx.be",
316 | "https://searx.dresden.network",
317 | "https://searx.foobar.vip",
318 | "https://searx.foss.family",
319 | "https://searx.juancord.xyz",
320 | "https://searx.lunar.icu",
321 | "https://searx.mbuf.net",
322 | "https://searx.mxchange.org",
323 | "https://searx.namejeff.xyz",
324 | "https://searx.oakleycord.dev",
325 | "https://searx.oloke.xyz",
326 | "https://searx.ox2.fr",
327 | "https://searx.party",
328 | "https://searx.perennialte.ch",
329 | "https://searx.rhscz.eu",
330 | "https://searx.ro",
331 | "https://searx.sev.monster",
332 | "https://searx.thefloatinglab.world",
333 | "https://searx.tiekoetter.com",
334 | "https://searx.tuxcloud.net",
335 | "https://searx.zhenyapav.com",
336 | "https://searxng.biz",
337 | "https://searxng.brihx.fr",
338 | "https://searxng.deliberate.world",
339 | "https://searxng.f24o.zip",
340 | "https://searxng.hweeren.com",
341 | "https://searxng.shreven.org",
342 | "https://searxng.site",
343 | "https://searxng.website",
344 | "https://seek.fyi",
345 | "https://suche.dasnetzundich.de",
346 | "https://sx.catgirl.cloud",
347 | "https://www.gruble.de"
348 | ],
349 | "tor": [
350 | "http://kantanrucloofzrfn7vqlsxbhipkqv55qygn4oxogbnjpfex54bw4gad.onion",
351 | "http://whereissky27lxfdrs7ct7a5ievor3tl67qi77rv5luga7wod5jf2mad.onion",
352 | "http://search.gw3ennwsaonltfox7z3rhhof6mxcq2fnwhcj2qyp3kxsfldnxix5b4yd.onion",
353 | "http://search.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion",
354 | "http://qmha5d7v5lpck2xcwiwmpejw6wf5l5uump7tqisfk5ddzseng47eshyd.onion",
355 | "http://searxokthnxmo7ndis35jpts2tawcwvbovuy47qtavwo7oq4jgcm5gqd.onion",
356 | "http://searx3aolosaf3urwnhpynlhuokqsgz47si4pzz5hvb7uuzyjncl2tid.onion",
357 | "http://searxng.f24ozipdw2v3qudr5udqhz5sme2im4ytyufb25liyaba7zjx7ui6kxqd.onion"
358 | ],
359 | "i2p": [],
360 | "loki": []
361 | },
362 | "searx": {
363 | "clearnet": [
364 | "https://search.stinpriza.org",
365 | "https://searx.dresden.network",
366 | "https://searx.gnu.style",
367 | "https://searx.mastodontech.de",
368 | "https://searx.mxchange.org",
369 | "https://searx.nixnet.services",
370 | "https://searx.roflcopter.fr",
371 | "https://searx.ru",
372 | "https://searx.zapashcanon.fr"
373 | ],
374 | "tor": [
375 | "http://z5vawdol25vrmorm4yydmohsd4u6rdoj2sylvoi3e3nqvxkvpqul7bqd.onion"
376 | ],
377 | "i2p": [],
378 | "loki": []
379 | },
380 | "whoogle": {
381 | "clearnet": [
382 | "https://search.garudalinux.org",
383 | "https://search.sethforprivacy.com",
384 | "https://whoogle.privacydev.net",
385 | "https://wg.vern.cc",
386 | "https://whoogle.lunar.icu"
387 | ],
388 | "tor": [
389 | "http://whoglqjdkgt2an4tdepberwqz3hk7tjo4kqgdnuj77rt7nshw2xqhqad.onion",
390 | "http://nuifgsnbb2mcyza74o7illtqmuaqbwu4flam3cdmsrnudwcmkqur37qd.onion",
391 | "http://whoogle.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion",
392 | "http://whoogle.g4c3eya4clenolymqbpgwz3q3tawoxw56yhzk4vugqrl6dtu3ejvhjid.onion",
393 | "http://whoogle.daturab6drmkhyeia4ch5gvfc2f3wgo6bhjrv3pz6n7kxmvoznlkq4yd.onion"
394 | ],
395 | "i2p": [
396 | "http://verneks7rfjptpz5fpii7n7nrxilsidi2qxepeuuf66c3tsf4nhq.b32.i2p"
397 | ],
398 | "loki": []
399 | },
400 | "rimgo": {
401 | "clearnet": [
402 | "https://rimgo.pussthecat.org",
403 | "https://rimgo.totaldarkness.net",
404 | "https://rimgo.bus-hit.me",
405 | "https://imgur.artemislena.eu",
406 | "https://imgur.010032.xyz",
407 | "https://i.habedieeh.re",
408 | "https://rimgo.hostux.net",
409 | "https://ri.nadeko.net",
410 | "https://rimgo.lunar.icu",
411 | "https://rimgo.projectsegfau.lt",
412 | "https://rimgo.eu.projectsegfau.lt",
413 | "https://rimgo.us.projectsegfau.lt",
414 | "https://rimgo.in.projectsegfau.lt",
415 | "https://rimgo.fascinated.cc",
416 | "https://rimgo.nohost.network",
417 | "https://rimgo.catsarch.com",
418 | "https://rimgo.frontendfriendly.xyz",
419 | "https://rimgo.drgns.space",
420 | "https://rimgo.quantenzitrone.eu",
421 | "https://rimgo.frylo.net",
422 | "https://rimgo.ducks.party",
423 | "https://rimgo.perennialte.ch",
424 | "https://rmgur.com",
425 | "https://rimgo.privacyredirect.com",
426 | "https://rimgo.reallyaweso.me",
427 | "https://rimgo.bloat.cat",
428 | "https://rimgo.darkness.services",
429 | "https://rimgo.4o1x5.dev",
430 | "https://rimgo.aketawi.space",
431 | "https://imgur.nerdvpn.de",
432 | "https://rimgo.thebunny.zone",
433 | "https://rimgo.canine.tools",
434 | "https://rimgo.astrial.org",
435 | "https://imgur.fsky.io",
436 | "https://r.opnxng.com",
437 | "https://imgur.sudovanilla.org"
438 | ],
439 | "tor": [
440 | "http://rimgo.micohauwkjbyw5meacrb4ipicwvwg4xtzl7y7viv53kig2mdcsvwkyyd.onion",
441 | "http://i.habeehrhadazsw3izbrbilqajalfyqqln54mrja3iwpqxgcuxnus7eid.onion",
442 | "http://rimgo.nadekonw7plitnjuawu6ytjsl7jlglk2t6pyq6eftptmiv3dvqndwvyd.onion",
443 | "http://rimgo.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion",
444 | "http://rimgo.skunky7dhv7nohsoalpwe3sxfz3fbkad7r3wk632riye25vqm3meqead.onion",
445 | "http://rimgo.catsarchywsyuss6jdxlypsw5dc7owd5u5tr6bujxb7o6xw2hipqehyd.onion",
446 | "http://rimgo.bunny5exbgbp4sqe2h2rfq2brgrx3dhohdweonepzwfgumfyygb35wyd.onion",
447 | "http://imgurolljpstjc2w5gb6lgcxhvdsndmurvbbkvpv6s5pif3kkhe5ptad.onion"
448 | ]
449 | },
450 | "pixivFe": {
451 | "clearnet": [
452 | "https://pixivfe.exozy.me",
453 | "https://pixivfe.drgns.space",
454 | "https://pixivfe.ducks.party",
455 | "https://pixiv.perennialte.ch",
456 | "https://pixivfe.darkness.services",
457 | "https://pixivfe.thebunny.zone"
458 | ],
459 | "tor": [],
460 | "i2p": [],
461 | "loki": []
462 | },
463 | "safetwitch": {
464 | "clearnet": [
465 | "https://safetwitch.drgns.space",
466 | "https://safetwitch.projectsegfau.lt",
467 | "https://stream.whateveritworks.org",
468 | "https://safetwitch.datura.network",
469 | "https://ttv.vern.cc",
470 | "https://safetwitch.frontendfriendly.xyz",
471 | "https://ttv.femboy.band",
472 | "https://twitch.seitan-ayoub.lol",
473 | "https://st.ggtyler.dev",
474 | "https://safetwitch.lunar.icu",
475 | "https://twitch.sudovanilla.org",
476 | "https://safetwitch.r4fo.com",
477 | "https://safetwitch.ducks.party",
478 | "https://safetwitch.nogafam.fr",
479 | "https://safetwitch.privacyredirect.com",
480 | "https://st.ngn.tf",
481 | "https://safetwitch.darkness.services",
482 | "https://safetwitch.4o1x5.dev",
483 | "https://safetwitch.adminforge.de"
484 | ],
485 | "tor": [
486 | "http://ttv.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion"
487 | ],
488 | "i2p": [
489 | "http://vernz43kgqiy3nzzof3nejeo4hh3bjgyqi3b3hijchilv7noqtrq.b32.i2p"
490 | ],
491 | "loki": []
492 | },
493 | "hyperpipe": {
494 | "clearnet": [
495 | "https://hyperpipe.surge.sh",
496 | "https://music.adminforge.de",
497 | "https://music.pfcd.me",
498 | "https://hyperpipe.frontendfriendly.xyz",
499 | "https://hyperpipe.drgns.space",
500 | "https://hyperpipe.projectsegfau.lt",
501 | "https://hp.ggtyler.dev",
502 | "https://hyperpipe.lunar.icu",
503 | "https://hp.iqbalrifai.eu.org",
504 | "https://hp.ngn.tf",
505 | "https://hyperpipe.ducks.party",
506 | "https://hyperpipe.darkness.services"
507 | ],
508 | "tor": [],
509 | "i2p": [],
510 | "loki": []
511 | },
512 | "osm": {
513 | "clearnet": [
514 | "https://www.openstreetmap.org"
515 | ],
516 | "tor": [],
517 | "i2p": [],
518 | "loki": []
519 | },
520 | "breezeWiki": {
521 | "clearnet": [
522 | "https://breezewiki.com",
523 | "https://antifandom.com",
524 | "https://breezewiki.pussthecat.org",
525 | "https://bw.hamstro.dev",
526 | "https://bw.projectsegfau.lt",
527 | "https://breeze.hostux.net",
528 | "https://bw.artemislena.eu",
529 | "https://nerd.whatever.social",
530 | "https://breezewiki.frontendfriendly.xyz",
531 | "https://breeze.nohost.network",
532 | "https://breeze.whateveritworks.org",
533 | "https://z.opnxng.com",
534 | "https://breezewiki.hyperreal.coffee",
535 | "https://breezewiki.catsarch.com",
536 | "https://breeze.mint.lgbt",
537 | "https://breezewiki.woodland.cafe",
538 | "https://breezewiki.nadeko.net",
539 | "https://fandom.reallyaweso.me",
540 | "https://breezewiki.4o1x5.dev",
541 | "https://breezewiki.r4fo.com",
542 | "https://breezewiki.private.coffee",
543 | "https://fan.blitzw.in"
544 | ],
545 | "tor": [
546 | "http://bw.skunky7dhv7nohsoalpwe3sxfz3fbkad7r3wk632riye25vqm3meqead.onion",
547 | "http://breezewiki.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion",
548 | "http://breezewiki.nadekonfkhwlxwwk4ycbvq42zvcjmvo5iakl4tajojjwxd4a5dcetuyd.onion",
549 | "http://breezewiki.catsarchywsyuss6jdxlypsw5dc7owd5u5tr6bujxb7o6xw2hipqehyd.onion",
550 | "http://breezewiki.r4focoma7gu2zdwwcjjad47ysxt634lg73sxmdbkdozanwqslho5ohyd.onion",
551 | "http://breezewiki.coffee2m3bjsrrqqycx6ghkxrnejl2q6nl7pjw2j4clchjj6uk5zozad.onion"
552 | ],
553 | "i2p": [],
554 | "loki": []
555 | },
556 | "binternet": {
557 | "clearnet": [
558 | "https://binternet.revvy.de",
559 | "https://binternet.darkness.services",
560 | "https://bn.bloat.cat",
561 | "https://bn.opnxng.com",
562 | "https://binternet.ducks.party",
563 | "https://binternet.4o1x5.dev",
564 | "https://binternet.privacyredirect.com",
565 | "https://binternet.lunar.icu",
566 | "https://pin.blitzw.in",
567 | "https://binternet.canine.tools"
568 | ],
569 | "tor": [
570 | "http://binternet.revvybrr6pvbx4n3j4475h4ghw4elqr4t5xo2vtd3gfpu2nrsnhh57id.onion",
571 | "http://binternet.darknessrdor43qkl2ngwitj72zdavfz2cead4t5ed72bybgauww5lyd.onion"
572 | ],
573 | "i2p": [
574 | "http://revznkqdwy7nmlzql66x226g3qnapiooss3rg2uajbj4rypxjnba.b32.i2p"
575 | ],
576 | "loki": []
577 | },
578 | "privateBin": {
579 | "clearnet": [
580 | "https://secret.hummel-web.at",
581 | "https://ots.kocsar.at",
582 | "https://pb.jaska.cc",
583 | "https://privatebin.app",
584 | "https://privatebin.luckvintage.com",
585 | "https://paste.tuxcloud.net",
586 | "https://privatebin.net",
587 | "https://paste.aryu.de",
588 | "https://bin.cafeo.re",
589 | "https://0.jaegers.net",
590 | "https://notebin.de",
591 | "https://pastebin.linqhost.nl",
592 | "https://paste.skynetcloud.site",
593 | "https://privatebin.wsmm.de",
594 | "https://secrets.l25.cloud",
595 | "https://bin.ngn.tf",
596 | "https://pb.blackvoid.club",
597 | "https://bin.whitebow.fr",
598 | "https://cryptostorm.is/paste",
599 | "https://pas.te.it",
600 | "https://privatebin.z1337.de",
601 | "https://bin.uhl.cloud",
602 | "https://privatebin.arch-linux.cz",
603 | "https://paste.hackliberty.org",
604 | "https://secrets.true.nl",
605 | "https://www.vlh.dk/privatebin",
606 | "https://secrets.cebador.fr",
607 | "https://paste.coalserver.de",
608 | "https://0.0g.gg",
609 | "https://paste.techbag.app",
610 | "https://p.blueridgedebate.com",
611 | "https://paste.trove.cz",
612 | "https://paste.ononoki.org",
613 | "https://encryp.ch/note",
614 | "https://paste.waays.fr",
615 | "https://p.kll.li",
616 | "https://zerobin.thican.net",
617 | "https://paste.3server.de",
618 | "https://paste.linxx.net",
619 | "https://snip.dssr.ch",
620 | "https://privatebin.oxidizer.de",
621 | "https://privatebin.unige.ch",
622 | "https://pb.envs.net",
623 | "https://enjoys.rocks",
624 | "https://privatebin.io",
625 | "https://privatebin.fedov.net",
626 | "https://paste.hostux.net",
627 | "https://pasteb.in",
628 | "https://paste.djalexkidd.ovh",
629 | "https://bin.bloat.cat",
630 | "https://p.vinci-concessions.com",
631 | "https://p.darklab.sh",
632 | "https://privatebin.at",
633 | "https://bonus01.hwb0307.com",
634 | "https://paste.nerdvpn.de",
635 | "https://bin.oldgate.org",
636 | "https://extrait.facil.services",
637 | "https://paste.loryy.dev",
638 | "https://notabin.com"
639 | ],
640 | "tor": [],
641 | "i2p": [],
642 | "loki": []
643 | },
644 | "neuters": {
645 | "clearnet": [
646 | "https://neuters.de",
647 | "https://nu.vern.cc"
648 | ],
649 | "tor": [
650 | "http://nu.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion"
651 | ],
652 | "i2p": [
653 | "http://vernkhr6duyh3tvrh7erkrwpwbqpztulwizzr2ma4ivvmr3xbdga.b32.i2p"
654 | ],
655 | "loki": []
656 | },
657 | "ruralDictionary": {
658 | "clearnet": [
659 | "https://rd.vern.cc",
660 | "https://rd.bloat.cat",
661 | "https://rd.thirtysix.pw",
662 | "https://rd.cmc.pub",
663 | "https://ruraldictionary.franklyflawless.org"
664 | ],
665 | "tor": [
666 | "http://rd.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion"
667 | ],
668 | "i2p": [
669 | "http://vern5cxiaufqvhv4hu5ypkvw3tiwvuinae4evdbqzrioql6s2sha.b32.i2p"
670 | ],
671 | "loki": []
672 | },
673 | "libMedium": {
674 | "clearnet": [
675 | "https://libmedium.batsense.net",
676 | "https://md.vern.cc",
677 | "https://medium.hostux.net",
678 | "https://r.sudovanilla.org",
679 | "https://libmedium.ducks.party"
680 | ],
681 | "tor": [
682 | "http://md.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion"
683 | ],
684 | "i2p": [
685 | "http://vernaqj2qr2pijpgvf3od6ssc3ulz3nv52gwr3hba5l6humuzmgq.b32.i2p"
686 | ],
687 | "loki": []
688 | },
689 | "dumb": {
690 | "clearnet": [
691 | "https://dm.vern.cc",
692 | "https://sing.whatever.social",
693 | "https://dumb.lunar.icu",
694 | "https://dumb.privacydev.net",
695 | "https://dumb.ducks.party",
696 | "https://dumb.privacyfucking.rocks",
697 | "https://dumb.hyperreal.coffee",
698 | "https://dumb.bloat.cat",
699 | "https://dumb.jeikobu.net",
700 | "https://dumb.canine.tools",
701 | "https://lyr.dc09.ru"
702 | ],
703 | "tor": [
704 | "http://dm.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion",
705 | "http://dumb.g4c3eya4clenolymqbpgwz3q3tawoxw56yhzk4vugqrl6dtu3ejvhjid.onion"
706 | ],
707 | "i2p": [
708 | "http://vernxpcpqi2y4uhu7to4rnjmyjjgzh3x3qxyzpmkhykefchkmleq.b32.i2p"
709 | ],
710 | "loki": []
711 | },
712 | "anonymousOverflow": {
713 | "clearnet": [
714 | "https://code.whatever.social",
715 | "https://ao.vern.cc",
716 | "https://overflow.smnz.de",
717 | "https://overflow.lunar.icu",
718 | "https://overflow.adminforge.de",
719 | "https://overflow.hostux.net",
720 | "https://overflow.projectsegfau.lt",
721 | "https://code.xbdm.fun",
722 | "https://overflow.fascinated.cc",
723 | "https://ao.bloat.cat",
724 | "https://anonoverflow.frontendfriendly.xyz",
725 | "https://ao.owo.si",
726 | "https://overflow.datura.network",
727 | "https://overflow.freedit.eu",
728 | "https://ao.rootdo.com",
729 | "https://anonoverflow.hyperreal.coffee",
730 | "https://o.sudovanilla.org",
731 | "https://anonymousoverflow.privacyfucking.rocks",
732 | "https://exchange.seitan-ayoub.lol",
733 | "https://overflow.r4fo.com",
734 | "https://overflow.ducks.party",
735 | "https://ao.ngn.tf",
736 | "https://overflow.snine.nl",
737 | "https://anonymousoverflow.privacyredirect.com",
738 | "https://soflow.nerdvpn.de",
739 | "https://overflow.einfachzocken.eu",
740 | "https://overflow.seasi.dev",
741 | "https://anonymousoverflow.catsarch.com",
742 | "https://overflow.darkness.services",
743 | "https://anonflow.aketawi.space",
744 | "https://ao.bunk.lol",
745 | "https://o.iii.st",
746 | "https://overflow.canine.tools"
747 | ],
748 | "tor": [
749 | "http://ao.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion",
750 | "http://overflow.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion",
751 | "http://overflow.daturab6drmkhyeia4ch5gvfc2f3wgo6bhjrv3pz6n7kxmvoznlkq4yd.onion",
752 | "http://ao.pk47sgwhncn5cgidm7bofngmh7lc7ukjdpk5bjwfemmyp27ovl25ikyd.onion",
753 | "http://overflow.r4focoma7gu2zdwwcjjad47ysxt634lg73sxmdbkdozanwqslho5ohyd.onion",
754 | "http://anonymousoverflow.catsarchywsyuss6jdxlypsw5dc7owd5u5tr6bujxb7o6xw2hipqehyd.onion",
755 | "http://overflow.darknessrdor43qkl2ngwitj72zdavfz2cead4t5ed72bybgauww5lyd.onion",
756 | "http://o.zx56doutynmbgezxtpccduajwcblzx7fgio2yuy57a3jingco2c6fvqd.onion"
757 | ],
758 | "i2p": [
759 | "http://vernmzgraj6aaoafmehupvtkkynpaa67rxcdj2kinwiy6konn6rq.b32.i2p",
760 | "http://ay7akchgdh76r4lc62hzd52z6xqoh67loototsetvqxo5o7ngo5q.b32.i2p",
761 | "http://ocp7zhdsbl2mjabv5ma5jvbzg2dqzglieayjvyj4j2r7qvsqlboa.b32.i2p"
762 | ]
763 | },
764 | "wikiless": {
765 | "clearnet": [
766 | "https://wiki.froth.zone",
767 | "https://wikiless.northboot.xyz",
768 | "https://wikiless.tiekoetter.com",
769 | "https://wl.vern.cc",
770 | "https://wikiless.rawbit.ninja",
771 | "https://wikiless.funami.tech",
772 | "https://wiki.adminforge.de",
773 | "https://wiki.owo.si",
774 | "https://w.sneed.network",
775 | "https://wikiless.r4fo.com",
776 | "https://wiki.seitan-ayoub.lol"
777 | ],
778 | "tor": [
779 | "http://ybgg2evrcdz37y2qes23ff3wjqjdn33tthgoagi76vhxytu4mpxiz5qd.onion",
780 | "http://tdx37ew3oke5rxn3yi5r5665ka7ozvehnd4xmnjxxdvqorias2nyl4qd.onion",
781 | "http://wiki.pk47sgwhncn5cgidm7bofngmh7lc7ukjdpk5bjwfemmyp27ovl25ikyd.onion"
782 | ],
783 | "i2p": [
784 | "http://wikiless.i2p",
785 | "http://hflqp2ejxygpj6cdwo3ogfieqmxw3b56w7dblt7bor2ltwk6kcfa.b32.i2p",
786 | "http://vernesciy2defjsputrjrv6pa5ll6qzrckfffi5lgkumstdojyga.b32.i2p"
787 | ],
788 | "loki": []
789 | },
790 | "biblioReads": {
791 | "clearnet": [
792 | "https://biblioreads.eu.org",
793 | "https://biblioreads.vercel.app",
794 | "https://biblioreads.mooo.com",
795 | "https://bl.vern.cc",
796 | "https://biblioreads.lunar.icu",
797 | "https://read.whateveritworks.org",
798 | "https://biblioreads.privacyfucking.rocks",
799 | "https://read.seitan-ayoub.lol",
800 | "https://read.freedit.eu",
801 | "https://biblioreads.ducks.party",
802 | "https://biblioreads.snine.nl",
803 | "https://biblioreads.privacyredirect.com",
804 | "https://reads.nezumi.party",
805 | "https://br.bloat.cat",
806 | "https://read.canine.tools",
807 | "https://biblioreads.franklyflawless.org"
808 | ],
809 | "tor": [
810 | "http://bl.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion"
811 | ],
812 | "i2p": [
813 | "http://vernapl3lpo3huqdx3pjzxqgdgavxjlmdskbvejh2gfqgmjuyvxq.b32.i2p"
814 | ],
815 | "loki": []
816 | },
817 | "suds": {
818 | "clearnet": [
819 | "https://sd.vern.cc"
820 | ],
821 | "tor": [
822 | "http://sd.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion"
823 | ],
824 | "i2p": [
825 | "http://vernrdigztvu3427stlditjofgkuoc3b7kbkxvlecaej5ufe4l5q.b32.i2p"
826 | ],
827 | "loki": []
828 | },
829 | "poke": {
830 | "clearnet": [
831 | "https://poketube.fun",
832 | "https://pt.sudovanilla.org",
833 | "https://nyc1.poke.ggtyler.dev",
834 | "https://cal1.poke.ggtyler.dev",
835 | "https://pol1.ggtyler.dev",
836 | "https://poke.blahai.gay"
837 | ],
838 | "tor": [],
839 | "i2p": [],
840 | "loki": []
841 | },
842 | "gothub": {
843 | "clearnet": [
844 | "https://gothub.lunar.icu",
845 | "https://g.opnxng.com",
846 | "https://gh.owo.si",
847 | "https://gothub.projectsegfau.lt",
848 | "https://gothub.r4fo.com",
849 | "https://gothub.dev.projectsegfau.lt",
850 | "https://gh.phreedom.club",
851 | "https://gothub.ducks.party"
852 | ],
853 | "tor": [],
854 | "i2p": [],
855 | "loki": []
856 | },
857 | "jitsi": {
858 | "clearnet": [
859 | "https://meet.jit.si",
860 | "https://8x8.vc"
861 | ],
862 | "tor": [],
863 | "i2p": [],
864 | "loki": []
865 | },
866 | "tent": {
867 | "clearnet": [
868 | "https://bandcamp.lurkmore.com",
869 | "https://tent.bloat.cat",
870 | "https://tent.canine.tools",
871 | "https://tent.deep-swarm.xyz",
872 | "https://tent.lab8.cz",
873 | "https://tent.private.coffee",
874 | "https://tent.qunn.link",
875 | "https://tent.sny.sh",
876 | "https://tn.dc09.ru",
877 | "https://tn.maid.zone",
878 | "https://tn.vern.cc"
879 | ],
880 | "tor": [
881 | "http://tent.dswarmsikhttkg7jgsoyfiqpj3ighupfrvuz5ri3lu5q2dlqyrpgk7ad.onion",
882 | "http://tn.maidzonekwrk4xbbmynqnprq2lu7picruncfscfwmyzbmec6naurhyqd.onion",
883 | "http://tn.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion"
884 | ],
885 | "i2p": [
886 | "http://maidzong64yczoqm5wlg2hiodip6ktpldcfdvoxanqaxmonyim4q.b32.i2p",
887 | "http://vernk23oml2talve3keetcqmjylmu7r7kdrcfciv36oxitgpos5a.b32.i2p"
888 | ],
889 | "loki": []
890 | },
891 | "laboratory": {
892 | "clearnet": [],
893 | "tor": [],
894 | "i2p": [],
895 | "loki": []
896 | },
897 | "twineo": {
898 | "clearnet": [
899 | "https://twineo.exozy.me",
900 | "https://twineo.drgns.space"
901 | ],
902 | "tor": [],
903 | "i2p": [],
904 | "loki": []
905 | },
906 | "priviblur": {
907 | "clearnet": [
908 | "https://pb.bloat.cat",
909 | "https://tb.opnxng.com",
910 | "https://priviblur.pussthecat.org",
911 | "https://priviblur.thebunny.zone",
912 | "https://priviblur.canine.tools",
913 | "https://pb.cleberg.net"
914 | ],
915 | "tor": [
916 | "http://priviblur.bunny5exbgbp4sqe2h2rfq2brgrx3dhohdweonepzwfgumfyygb35wyd.onion"
917 | ],
918 | "i2p": [],
919 | "loki": []
920 | },
921 | "mozhi": {
922 | "clearnet": [
923 | "https://mozhi.aryak.me",
924 | "https://nyc1.mz.ggtyler.dev",
925 | "https://translate.projectsegfau.lt",
926 | "https://translate.nerdvpn.de",
927 | "https://mozhi.ducks.party",
928 | "https://mozhi.pussthecat.org",
929 | "https://mozhi.adminforge.de",
930 | "https://translate.privacyredirect.com",
931 | "https://mozhi.canine.tools",
932 | "https://mzh.dc09.ru",
933 | "https://mozhi.franklyflawless.org"
934 | ],
935 | "tor": [
936 | "http://mozhi.wsuno6lnjdcsiok5mrxvl6e2bdex7nhsqqav6ux7tkwrqiqnulejfbyd.onion",
937 | "http://42i2bzogwkph3dvoo2bm6srskf7vvabsphw7uzftymbjjlzgfluhnmid.onion",
938 | "http://3mu2almmcv7rd7wlwhmkbwqgttntgpqu3hdanutxbv2v72wzbxe5ixqd.onion"
939 | ],
940 | "i2p": [
941 | "http://74lptlnvaukcjnmqefedgna35ahkqexqzq2qq3k7utc2ep4jotcq.b32.i2p"
942 | ],
943 | "loki": []
944 | },
945 | "skunkyArt": {
946 | "clearnet": [
947 | "https://lost-skunk.cc/skunkyart",
948 | "https://sa.orehus.club",
949 | "https://skunky.bloat.cat",
950 | "https://skunkyart.lumaeris.com",
951 | "https://art.bloat.cat",
952 | "https://sa.dc09.ru",
953 | "https://da.opnxng.com"
954 | ],
955 | "tor": [],
956 | "i2p": [],
957 | "loki": []
958 | },
959 | "koub": {
960 | "clearnet": [
961 | "https://koub.bloat.cat",
962 | "https://koub2.bloat.cat"
963 | ],
964 | "tor": [],
965 | "i2p": [],
966 | "loki": []
967 | },
968 | "transLite": {
969 | "clearnet": [
970 | "https://tl.bloat.cat",
971 | "https://tl2.bloat.cat",
972 | "https://tl.clovius.club",
973 | "https://translite.lumaeris.com",
974 | "https://tl.dc09.ru",
975 | "https://tl.maid.zone",
976 | "https://translite.deep-swarm.xyz",
977 | "http://t.opnxng.com",
978 | "https://translite.laincorp.tech"
979 | ],
980 | "tor": [
981 | "http://translite.dswarmsikhttkg7jgsoyfiqpj3ighupfrvuz5ri3lu5q2dlqyrpgk7ad.onion"
982 | ],
983 | "i2p": [],
984 | "loki": []
985 | },
986 | "soundcloak": {
987 | "clearnet": [
988 | "https://sc.maid.zone",
989 | "https://sc.bloat.cat",
990 | "https://soundcloak.fly.dev",
991 | "https://sc.opnxng.com",
992 | "https://soundcloak.laincorp.tech",
993 | "https://sc2.bloat.cat",
994 | "https://sc.tijn.dev"
995 | ],
996 | "tor": [
997 | "http://sc.maidzonekwrk4xbbmynqnprq2lu7picruncfscfwmyzbmec6naurhyqd.onion",
998 | "http://soundcloak.lainyubrp2aabmxhepbttfdbl53dct2inqifs42buvpf6w44uiitbeqd.onion"
999 | ],
1000 | "i2p": [
1001 | "http://maidzones5taqt3g2boaepkxdi6f2etznqbfebludsl4i2ydrcjq.b32.i2p",
1002 | "http://sbkgbnt7lmqabmhm6j5sofk6vjmnr225ghgcd5mrl5h2n7rsprra.b32.i2p"
1003 | ],
1004 | "loki": []
1005 | },
1006 | "vixipy": {
1007 | "clearnet": [
1008 | "https://vx.maid.zone",
1009 | "https://vx.laincorp.tech"
1010 | ],
1011 | "tor": [
1012 | "http://vx.maidzonekwrk4xbbmynqnprq2lu7picruncfscfwmyzbmec6naurhyqd.onion",
1013 | "http://mvrlopacpgnjh2rsykqwtwvxkeozzumo7rfy5uawjv4fnm2top5kdqqd.onion",
1014 | "http://vx.lainyubrp2aabmxhepbttfdbl53dct2inqifs42buvpf6w44uiitbeqd.onion"
1015 | ],
1016 | "i2p": [
1017 | "http://maidzoneoes7jtcridydescxwadf3cjzd6j5qll6bfs3wbkm2upq.b32.i2p",
1018 | "http://pgk3uwr2sui7qob6aso2b5i7ubmdyf6btk2kjmyr754nh2yggdaq.b32.i2p",
1019 | "http://kw7udvyvztn4ypdsidahzf4kd3fag6loouucnzwgqflgv7y7ek3a.b32.i2p"
1020 | ],
1021 | "loki": []
1022 | }
1023 | }
--------------------------------------------------------------------------------
/fixed/cloudtube.json:
--------------------------------------------------------------------------------
1 | {
2 | "clearnet": ["https://tube.cadence.moe", "https://tube.boritsch.de"],
3 | "tor": [],
4 | "i2p": [],
5 | "loki": []
6 | }
7 |
--------------------------------------------------------------------------------
/fixed/neuters.json:
--------------------------------------------------------------------------------
1 | {
2 | "clearnet": [
3 | "https://neuters.de",
4 | "https://nu.vern.cc"
5 | ],
6 | "tor": ["http://nu.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion"],
7 | "i2p": ["http://vernkhr6duyh3tvrh7erkrwpwbqpztulwizzr2ma4ivvmr3xbdga.b32.i2p"],
8 | "loki": []
9 | }
10 |
--------------------------------------------------------------------------------
/fixed/osm.json:
--------------------------------------------------------------------------------
1 | {
2 | "clearnet": [
3 | "https://www.openstreetmap.org"
4 | ],
5 | "tor": [],
6 | "i2p": [],
7 | "loki": []
8 | }
--------------------------------------------------------------------------------
/fixed/twineo.json:
--------------------------------------------------------------------------------
1 | {
2 | "clearnet": [
3 | "https://twineo.exozy.me",
4 | "https://twineo.drgns.space"
5 | ],
6 | "tor": [],
7 | "i2p": [],
8 | "loki": []
9 | }
10 |
--------------------------------------------------------------------------------
/fixed/wikiless.json:
--------------------------------------------------------------------------------
1 | {
2 | "clearnet": [
3 | "https://wiki.froth.zone",
4 | "https://wikiless.northboot.xyz",
5 | "https://wikiless.tiekoetter.com",
6 | "https://wl.vern.cc",
7 | "https://wikiless.rawbit.ninja",
8 | "https://wikiless.funami.tech",
9 | "https://wiki.adminforge.de",
10 | "https://wiki.owo.si",
11 | "https://w.sneed.network",
12 | "https://wikiless.r4fo.com",
13 | "https://wiki.seitan-ayoub.lol"
14 | ],
15 | "tor": [
16 | "http://ybgg2evrcdz37y2qes23ff3wjqjdn33tthgoagi76vhxytu4mpxiz5qd.onion",
17 | "http://tdx37ew3oke5rxn3yi5r5665ka7ozvehnd4xmnjxxdvqorias2nyl4qd.onion",
18 | "http://wiki.pk47sgwhncn5cgidm7bofngmh7lc7ukjdpk5bjwfemmyp27ovl25ikyd.onion"
19 | ],
20 | "i2p": [
21 | "http://wikiless.i2p",
22 | "http://hflqp2ejxygpj6cdwo3ogfieqmxw3b56w7dblt7bor2ltwk6kcfa.b32.i2p",
23 | "http://vernesciy2defjsputrjrv6pa5ll6qzrckfffi5lgkumstdojyga.b32.i2p"
24 | ],
25 | "loki": []
26 | }
27 |
--------------------------------------------------------------------------------
/main.py:
--------------------------------------------------------------------------------
1 | import json
2 | from colorama import Fore, Style
3 | from services.from_file import *
4 | from services.medium import *
5 | from services.other import *
6 | from services.reddit import *
7 | from services.search import *
8 | from services.translate import *
9 | from services.utils import *
10 | from services.wolfram import *
11 | from services.youtube import *
12 | from services.pixiv import *
13 |
14 | mightyList = {}
15 |
16 | invidious(mightyList)
17 | materialious(mightyList)
18 | piped(mightyList)
19 | pipedMaterial(mightyList)
20 | cloudtube(mightyList)
21 | proxitok(mightyList)
22 | send(mightyList)
23 | nitter(mightyList)
24 | redlib(mightyList)
25 | scribe(mightyList)
26 | quetre(mightyList)
27 | libremdb(mightyList)
28 | simplytranslate(mightyList)
29 | linvgatranslate(mightyList)
30 | libreTranslate(mightyList)
31 | searxng(mightyList)
32 | searx(mightyList)
33 | whoogle(mightyList)
34 | rimgo(mightyList)
35 | pixivFe(mightyList)
36 | safetwitch(mightyList)
37 | hyperpipe(mightyList)
38 | osm(mightyList)
39 | breezeWiki(mightyList)
40 | binternet(mightyList)
41 | privateBin(mightyList)
42 | neuters(mightyList)
43 | ruralDictionary(mightyList)
44 | libMedium(mightyList)
45 | dumb(mightyList)
46 | anonymousOverflow(mightyList)
47 | wikiless(mightyList)
48 | biblioReads(mightyList)
49 | suds(mightyList)
50 | poke(mightyList)
51 | gothub(mightyList)
52 | wolfreeAlpha(mightyList)
53 | jitsi(mightyList)
54 | tent(mightyList)
55 | laboratory(mightyList)
56 | twineo(mightyList)
57 | priviblur(mightyList)
58 | mozhi(mightyList)
59 | skunkyArt(mightyList)
60 | koub(mightyList)
61 | transLite(mightyList)
62 | soundcloak(mightyList)
63 | vixipy(mightyList)
64 |
65 |
66 | mightyList = filterLastSlash(mightyList)
67 | mightyList = idnaEncode(mightyList)
68 |
69 | cloudflare = []
70 | for k1, v1 in mightyList.items():
71 | if type(mightyList[k1]) is dict:
72 | for k2, v2 in mightyList[k1].items():
73 | for instance in mightyList[k1][k2]:
74 | if not isValid(instance):
75 | mightyList[k1][k2].remove(instance)
76 | print("removed " + instance)
77 | else:
78 | if not instance.endswith('.onion') and not instance.endswith('.i2p') and not instance.endswith('.loki') and is_cloudflare(instance):
79 | cloudflare.append(instance)
80 | blacklist = {
81 | 'cloudflare': cloudflare
82 | }
83 |
84 | json_object = json.dumps(mightyList, ensure_ascii=False, indent=2)
85 | with open('./data.json', 'w') as outfile:
86 | outfile.write(json_object)
87 | print(Fore.BLUE + 'wrote ' + Style.RESET_ALL + 'instances/data.json')
88 |
89 | json_object = json.dumps(blacklist, ensure_ascii=False, indent=2)
90 | with open('./blacklist.json', 'w') as outfile:
91 | outfile.write(json_object)
92 | print(Fore.BLUE + 'wrote ' + Style.RESET_ALL + 'instances/blacklist.json')
93 |
--------------------------------------------------------------------------------
/networks.json:
--------------------------------------------------------------------------------
1 | {
2 | "clearnet": {
3 | "tld": "org",
4 | "name": "Clearnet"
5 | },
6 | "tor": {
7 | "tld": "onion",
8 | "name": "Tor"
9 | },
10 | "i2p": {
11 | "tld": "i2p",
12 | "name": "I2P"
13 | },
14 | "loki": {
15 | "tld": "loki",
16 | "name": "Lokinet"
17 | }
18 | }
--------------------------------------------------------------------------------
/requirements.txt:
--------------------------------------------------------------------------------
1 | requests
2 | colorama
3 | pyyaml
4 | pandas
5 | markdown-it-py
6 | beautifulsoup4
--------------------------------------------------------------------------------
/services/from_file.py:
--------------------------------------------------------------------------------
1 | from .utils import fetchFromFile
2 |
3 |
4 | def osm(mightyList):
5 | fetchFromFile('osm', mightyList)
6 |
7 |
8 | def neuters(mightyList):
9 | fetchFromFile('neuters', mightyList)
10 |
11 |
12 | def wikiless(mightyList):
13 | fetchFromFile('wikiless', mightyList)
14 |
15 |
16 | def twineo(mightyList):
17 | fetchFromFile('twineo', mightyList)
18 |
19 |
20 | def cloudtube(mightyList):
21 | fetchFromFile('cloudtube', mightyList)
22 |
23 |
24 | def simplytranslate(mightyList):
25 | fetchFromFile('simplyTranslate', mightyList)
26 |
--------------------------------------------------------------------------------
/services/medium.py:
--------------------------------------------------------------------------------
1 | from .utils import fetchJsonList, fetchRegexList
2 |
3 |
4 | def scribe(mightyList):
5 | fetchJsonList(
6 | 'scribe', 'https://git.sr.ht/~edwardloveall/scribe/blob/main/docs/instances.json',
7 | None,
8 | False,
9 | mightyList
10 | )
11 |
12 |
13 | def libMedium(mightyList):
14 | fetchRegexList(
15 | 'libMedium',
16 | 'https://raw.githubusercontent.com/realaravinth/libmedium/master/README.md',
17 | r"\| (https?:\/{2}(?:[^\s\/]+\.)+[a-zA-Z0-9]+)\/? +\|",
18 | mightyList
19 | )
20 |
--------------------------------------------------------------------------------
/services/other.py:
--------------------------------------------------------------------------------
1 | import requests
2 | import json
3 | from .utils import fetchJsonList, fetchRegexList, fetchCache
4 | from colorama import Fore, Style
5 | import logging
6 | import traceback
7 | import re
8 | from markdown_it import MarkdownIt
9 | from bs4 import BeautifulSoup
10 |
11 |
12 | def tent(mightyList):
13 | fetchJsonList(
14 | 'tent',
15 | 'https://forgejo.sny.sh/sun/Tent/raw/branch/main/instances.json',
16 | 'url',
17 | False,
18 | mightyList
19 | )
20 |
21 |
22 | def ruralDictionary(mightyList):
23 | fetchJsonList(
24 | 'ruralDictionary',
25 | 'https://codeberg.org/cobra/rural-dict/raw/branch/main/instances.json',
26 | {
27 | 'clearnet': 'clearnet',
28 | 'tor': 'tor',
29 | 'i2p': 'i2p',
30 | 'loki': None
31 | },
32 | False,
33 | mightyList
34 | )
35 |
36 |
37 | def laboratory(mightyList):
38 | fetchRegexList(
39 | 'laboratory',
40 | 'https://git.vitali64.duckdns.org/utils/laboratory.git/plain/README.md',
41 | r"\| (https:\/{2}.*?) \|",
42 | mightyList
43 | )
44 |
45 |
46 | def gothub(mightyList):
47 | fetchJsonList(
48 | 'gothub',
49 | 'https://codeberg.org/gothub/gothub-instances/raw/branch/master/instances.json',
50 | {
51 | 'clearnet': 'link',
52 | 'tor': None,
53 | 'i2p': None,
54 | 'loki': None
55 | },
56 | False,
57 | mightyList
58 | )
59 |
60 |
61 | def biblioReads(mightyList):
62 | fetchJsonList(
63 | 'biblioReads',
64 | 'https://raw.githubusercontent.com/nesaku/BiblioReads/main/instances.json',
65 | {
66 | 'clearnet': 'url',
67 | 'tor': 'onion',
68 | 'i2p': 'i2p',
69 | 'loki': None
70 | },
71 | False,
72 | mightyList
73 | )
74 |
75 |
76 | def libremdb(mightyList):
77 | fetchJsonList(
78 | 'libremdb',
79 | 'https://raw.githubusercontent.com/zyachel/libremdb/main/instances.json',
80 | {
81 | 'clearnet': 'clearnet',
82 | 'tor': 'tor',
83 | 'i2p': 'i2p',
84 | 'loki': None
85 | },
86 | False,
87 | mightyList
88 | )
89 |
90 |
91 | def breezeWiki(mightyList):
92 | fetchJsonList(
93 | 'breezeWiki',
94 | 'https://docs.breezewiki.com/files/instances.json',
95 | 'instance',
96 | False,
97 | mightyList
98 | )
99 |
100 |
101 | def binternet(mightyList):
102 | fetchRegexList(
103 | 'binternet',
104 | 'https://raw.githubusercontent.com/Ahwxorg/Binternet/main/README.md',
105 | r"\| \[[\w\.]+!?\]\((https?:\/{2}(?:\S+\.)+[a-zA-Z0-9]*)\/?\)",
106 | mightyList
107 | )
108 |
109 |
110 | def dumb(mightyList):
111 | fetchJsonList(
112 | 'dumb',
113 | 'https://raw.githubusercontent.com/rramiachraf/dumb/main/instances.json',
114 | {
115 | 'clearnet': 'clearnet',
116 | 'tor': 'tor',
117 | 'i2p': 'i2p',
118 | 'loki': None
119 | },
120 | False,
121 | mightyList
122 | )
123 |
124 |
125 | def suds(mightyList):
126 | fetchJsonList(
127 | 'suds', 'https://git.vern.cc/cobra/Suds/raw/branch/main/instances.json',
128 | {
129 | 'clearnet': 'clearnet',
130 | 'tor': 'tor',
131 | 'i2p': 'i2p',
132 | 'loki': None
133 | },
134 | False,
135 | mightyList
136 | )
137 |
138 |
139 | def proxigram(mightyList):
140 | fetchRegexList(
141 | 'proxigram',
142 | 'https://codeberg.org/ThePenguinDev/Proxigram/wiki/raw/Instances.md',
143 | r"\[(https?:\/{2}(?:[^\s\/]+\.)+[a-zA-Z0-9]+)\/?\]",
144 | mightyList
145 | )
146 |
147 |
148 | def rimgo(mightyList):
149 | try:
150 | r = requests.get('https://rimgo.codeberg.page/api.json')
151 | rJson = json.loads(r.text)
152 | _list = {
153 | 'clearnet': [],
154 | 'tor': [],
155 | }
156 | for instance in rJson['clearnet']:
157 | _list['clearnet'].append(instance['url'])
158 |
159 | for instance in rJson['tor']:
160 | _list['tor'].append(instance['url'])
161 |
162 | mightyList['rimgo'] = _list
163 | print(Fore.GREEN + 'Fetched ' + Style.RESET_ALL + 'rimgo')
164 | except Exception:
165 | fetchCache('rimgo', mightyList)
166 | logging.error(traceback.format_exc())
167 |
168 |
169 | def jitsi(mightyList):
170 | fetchRegexList(
171 | 'jitsi',
172 | "https://raw.githubusercontent.com/jitsi/handbook/master/docs/community/instances.md",
173 | r"\|(?:(?: | )+)+((?:[a-z]+\.)+[a-z]+)(?:(?: | )+)+\|",
174 | mightyList
175 | )
176 | mightyList['jitsi']['clearnet'] = list(
177 | map(
178 | lambda x: "https://"+x,
179 | mightyList['jitsi']['clearnet']
180 | )
181 | )
182 | mightyList['jitsi']['clearnet'].insert(0, 'https://8x8.vc')
183 | mightyList['jitsi']['clearnet'].insert(0, 'https://meet.jit.si')
184 |
185 |
186 | def anonymousOverflow(mightyList):
187 | try:
188 | r = requests.get(
189 | 'https://raw.githubusercontent.com/httpjamesm/AnonymousOverflow/main/instances.json')
190 | rJson: dict = r.json()
191 | all_instances = dict()
192 | for net_type, x_instances in rJson.items():
193 | x_res = [x['url'].strip("/") for x in x_instances]
194 | all_instances[{
195 | 'clearnet': 'clearnet',
196 | 'onion': 'tor',
197 | 'i2p': 'i2p',
198 | 'loki': 'loki'
199 | }[net_type]] = x_res
200 | mightyList['anonymousOverflow'] = all_instances
201 | except Exception:
202 | fetchCache('anonymousOverflow', mightyList)
203 | logging.error(traceback.format_exc())
204 |
205 |
206 | def proxitok(mightyList):
207 | fetchRegexList(
208 | 'proxiTok',
209 | 'https://raw.githubusercontent.com/wiki/pablouser1/ProxiTok/Public-instances.md',
210 | r"\| \[.*\]\(([-a-zA-Z0-9@:%_\+.~#?&//=]{2,}\.[a-z]{2,}\b(?:\/[-a-zA-Z0-9@:%_\+.~#?&//=]*)?)\)(?: \(Official\))? +\|(?:(?: [A-Z]*.*\|.*\|)|(?:$))",
211 | mightyList
212 | )
213 |
214 |
215 | def priviblur(mightyList):
216 | fetchRegexList(
217 | 'priviblur',
218 | 'https://raw.githubusercontent.com/syeopite/priviblur/master/instances.md',
219 | r"\| ?\[.*\]\((https?:\/{2}(?:[^\s\/]+\.)+[a-zA-Z0-9]+)\) ?|",
220 | mightyList
221 | )
222 |
223 |
224 | def safetwitch(mightyList):
225 | fetchRegexList(
226 | 'safetwitch',
227 | 'https://codeberg.org/dragongoose/safetwitch/raw/branch/master/README.md',
228 | re.compile(
229 | r"^\| \[.*?\]\((https?:\/{2}(?:[^\s\/]+\.)*(?:[^\s\/]+\.)+[a-zA-Z0-9]+)\/?\)",
230 | re.MULTILINE
231 | ),
232 | mightyList
233 | )
234 |
235 |
236 | def nitter(mightyList):
237 | frontend = 'nitter'
238 | try:
239 | r = requests.get(
240 | 'https://raw.githubusercontent.com/wiki/zedeus/nitter/Instances.md')
241 | _list = {}
242 | md = MarkdownIt().enable('table')
243 | html_content = md.render(r.text)
244 | soup = BeautifulSoup(html_content, 'html.parser')
245 |
246 | _list['clearnet'] = []
247 | public_heading = soup.find(
248 | lambda tag: tag.name.startswith('h') and 'Public' in tag.text
249 | )
250 | if public_heading:
251 | tor_table = public_heading.find_next('table')
252 | if tor_table:
253 | tbody = tor_table.find('tbody')
254 | for row in tbody.find_all('tr'):
255 | th_s = row.find_all('td')
256 | a_tag = th_s[0].find('a')
257 | _list['clearnet'].append(a_tag['href'])
258 |
259 | _list['tor'] = []
260 | tor_heading = soup.find(
261 | lambda tag: tag.name.startswith('h') and 'Tor' in tag.text
262 | )
263 | if tor_heading:
264 | tor_table = tor_heading.find_next('table')
265 | if tor_table:
266 | tbody = tor_table.find('tbody')
267 | for row in tbody.find_all('tr'):
268 | th_s = row.find_all('td')
269 | a_tag = th_s[0].find('a')
270 | _list['tor'].append(a_tag['href'])
271 |
272 | _list['i2p'] = []
273 | _list['loki'] = []
274 |
275 | mightyList[frontend] = _list
276 | print(Fore.GREEN + 'Fetched ' + Style.RESET_ALL + frontend)
277 |
278 | except Exception:
279 | fetchCache(frontend, mightyList)
280 | logging.error(traceback.format_exc())
281 |
282 |
283 | def send(mightyList):
284 | fetchRegexList(
285 | 'send',
286 | 'https://gitlab.com/timvisee/send-instances/-/raw/master/README.md',
287 | r"(https.*?) \|.*?\n",
288 | mightyList
289 | )
290 |
291 |
292 | def quetre(mightyList):
293 | fetchJsonList(
294 | 'quetre',
295 | 'https://raw.githubusercontent.com/zyachel/quetre/main/instances.json',
296 | {
297 | 'clearnet': 'clearnet',
298 | 'tor': 'tor',
299 | 'i2p': 'i2p',
300 | 'loki': None
301 | },
302 | False,
303 | mightyList
304 | )
305 |
306 |
307 | def privateBin(mightyList):
308 | fetchJsonList(
309 | 'privateBin',
310 | 'https://privatebin.info/directory/api?top=100&https_redirect=true&min_rating=A&csp_header=true&min_uptime=100&attachments=true',
311 | 'url',
312 | False,
313 | mightyList
314 | )
315 |
316 |
317 | def skunkyArt(mightyList):
318 | try:
319 | r = requests.get(
320 | 'https://git.macaw.me/skunky/SkunkyArt/raw/branch/master/instances.json')
321 | rJson: dict = r.json()
322 | clearnet = []
323 | for item in rJson['instances']:
324 | if 'clearnet' in item['urls']:
325 | clearnet.append(item['urls']['clearnet'])
326 | mightyList['skunkyArt'] = {
327 | "clearnet": clearnet,
328 | "tor": [],
329 | "i2p": [],
330 | "loki": []
331 | }
332 | except Exception:
333 | fetchCache('skunkyArt', mightyList)
334 | logging.error(traceback.format_exc())
335 |
336 |
337 | def koub(mightyList):
338 | fetchJsonList(
339 | 'koub',
340 | 'https://codeberg.org/gospodin/koub/raw/branch/master/instances.json',
341 | 'url',
342 | False,
343 | mightyList
344 | )
345 |
346 |
347 | def transLite(mightyList):
348 | fetchJsonList(
349 | 'transLite',
350 | 'https://codeberg.org/gospodin/translite/raw/branch/master/instances.json',
351 | 'url',
352 | False,
353 | mightyList
354 | )
355 |
356 |
357 | def soundcloak(mightyList):
358 | try:
359 | r = requests.get('https://maid.zone/soundcloak/instances.json')
360 | clearnet = []
361 | tor = []
362 | i2p = []
363 | for i in r.json():
364 | if i['URL'] != "":
365 | clearnet.append(i['URL'])
366 |
367 | if i['Onion'] != "":
368 | tor.append(i['Onion'])
369 |
370 | if i['I2P'] != "":
371 | i2p.append(i['I2P'])
372 |
373 | mightyList['soundcloak'] = {
374 | "clearnet": clearnet,
375 | "tor": tor,
376 | "i2p": i2p,
377 | "loki": []
378 | }
379 | except Exception:
380 | fetchCache('soundcloak', mightyList)
381 | logging.error(traceback.format_exc())
382 |
--------------------------------------------------------------------------------
/services/pixiv.py:
--------------------------------------------------------------------------------
1 | import pandas
2 | import re
3 | import requests
4 |
5 |
6 | def pixivFe(mightyList):
7 | df = pandas.read_csv(
8 | 'https://gitlab.com/pixivfe/pixivfe-docs/-/raw/master/data/instances.csv?ref_type=heads')
9 |
10 | clearnet = []
11 | for value in df['URL']:
12 | r = re.findall(r"\((.*?)\)", value)
13 | if r:
14 | clearnet.append(r[0])
15 |
16 | mightyList['pixivFe'] = {
17 | "clearnet": clearnet,
18 | "tor": [],
19 | "i2p": [],
20 | "loki": []
21 | }
22 |
23 | def vixipy(mightyList):
24 | res = requests.get(
25 | "https://maid.zone/vixipy/instances.json",
26 | # set user agent for transparency sake
27 | headers={
28 | "User-Agent": "https://codeberg.org/libredirect/instances"
29 | }
30 | ).json()
31 |
32 | tor = []
33 | i2p = []
34 | clearnet = []
35 |
36 | for i in res:
37 | if i["URL"] != "":
38 | clearnet.append(i["URL"])
39 | if i["I2P"] != "":
40 | i2p.append(i["I2P"])
41 | if i["Onion"] != "":
42 | tor.append(i["Onion"])
43 |
44 | mightyList['vixipy'] = {
45 | "clearnet": clearnet,
46 | "tor": tor,
47 | "i2p": i2p,
48 | "loki": []
49 | }
50 |
--------------------------------------------------------------------------------
/services/reddit.py:
--------------------------------------------------------------------------------
1 | from .utils import fetchJsonList
2 |
3 |
4 | def redlib(mightyList):
5 | fetchJsonList(
6 | 'redlib',
7 | 'https://github.com/redlib-org/redlib-instances/raw/main/instances.json',
8 | {
9 | 'clearnet': 'url',
10 | 'tor': 'onion',
11 | 'i2p': 'i2p',
12 | 'loki': None
13 | },
14 | True,
15 | mightyList
16 | )
17 |
--------------------------------------------------------------------------------
/services/search.py:
--------------------------------------------------------------------------------
1 | import requests
2 | from colorama import Fore, Style
3 | import json
4 | import re
5 | from .utils import torRegex, i2pRegex, fetchRegexList, fetchJsonList
6 | import yaml
7 |
8 |
9 | def searxng(mightyList):
10 | r = requests.get(
11 | 'https://searx.space/data/instances.json')
12 | rJson = json.loads(r.text)
13 | searxngList = {}
14 | searxngList['clearnet'] = []
15 | searxngList['tor'] = []
16 | searxngList['i2p'] = []
17 | searxngList['loki'] = []
18 |
19 | for item in rJson['instances']:
20 | if re.search(torRegex, item[:-1]) and rJson['instances'][item].get('generator') == 'searxng':
21 | searxngList['tor'].append(item[:-1])
22 | elif re.search(i2pRegex, item[:-1]) and rJson['instances'][item].get('generator') == 'searxng':
23 | searxngList['i2p'].append(item[:-1])
24 | elif rJson['instances'][item].get('generator') == 'searxng':
25 | searxngList['clearnet'].append(item[:-1])
26 |
27 | mightyList['searxng'] = searxngList
28 | print(Fore.GREEN + 'Fetched ' + Style.RESET_ALL + 'SearXNG')
29 |
30 |
31 | def searx(mightyList):
32 | searxList = {}
33 | searxList['clearnet'] = []
34 | searxList['tor'] = []
35 | searxList['i2p'] = []
36 | searxList['loki'] = []
37 | r = requests.get(
38 | 'https://raw.githubusercontent.com/searx/searx-instances/master/searxinstances/instances.yml')
39 | data = yaml.safe_load(r.text)
40 | for key in data:
41 | searxList['clearnet'].append(key)
42 | if 'additional_urls' in data[key]:
43 | for additional_url in data[key]['additional_urls']:
44 | if data[key]['additional_urls'][additional_url] == "Hidden Service":
45 | searxList['tor'].append(additional_url)
46 | mightyList['searx'] = searxList
47 | print(Fore.GREEN + 'Fetched ' + Style.RESET_ALL + 'SearXNG')
48 |
49 |
50 | def whoogle(mightyList):
51 | fetchRegexList(
52 | 'whoogle',
53 | 'https://raw.githubusercontent.com/benbusby/whoogle-search/main/README.md',
54 | r"\| \[https?:\/{2}(?:[^\s\/]+\.)*(?:[^\s\/]+\.)+[a-zA-Z0-9]+\]\((https?:\/{2}(?:[^\s\/]+\.)*(?:[^\s\/]+\.)+[a-zA-Z0-9]+)\/?\) \| ",
55 | mightyList
56 | )
57 |
--------------------------------------------------------------------------------
/services/translate.py:
--------------------------------------------------------------------------------
1 | from .utils import fetchJsonList, fetchRegexList
2 |
3 |
4 | def linvgatranslate(mightyList):
5 | fetchJsonList(
6 | 'lingva',
7 | 'https://raw.githubusercontent.com/TheDavidDelta/lingva-translate/main/instances.json',
8 | None,
9 | False,
10 | mightyList
11 | )
12 |
13 |
14 | def libreTranslate(mightyList):
15 | fetchRegexList(
16 | 'libreTranslate',
17 | 'https://raw.githubusercontent.com/LibreTranslate/LibreTranslate/main/README.md',
18 | r"\[(?:[^\s\/]+\.)+[a-zA-Z0-9]+\]\((https?:\/{2}(?:[^\s\/]+\.)+[a-zA-Z0-9]+)\/?\)\|",
19 | mightyList
20 | )
21 |
22 | def mozhi(mightyList):
23 | fetchJsonList(
24 | 'mozhi',
25 | 'https://codeberg.org/aryak/mozhi/raw/branch/master/instances.json',
26 | {
27 | 'clearnet': 'link',
28 | 'tor': 'onion',
29 | 'i2p': 'i2p',
30 | 'loki': None
31 | },
32 | False,
33 | mightyList
34 | )
35 |
36 | def simplytranslate(mightyList):
37 | fetchJsonList(
38 | 'simplytranslate',
39 | 'https://codeberg.org/ManeraKai/simplytranslate/raw/branch/main/instances.json',
40 | 'url',
41 | False,
42 | mightyList
43 | )
44 |
--------------------------------------------------------------------------------
/services/utils.py:
--------------------------------------------------------------------------------
1 | import traceback
2 | import logging
3 | import requests
4 | import json
5 | from urllib.parse import urlparse
6 | import re
7 | from colorama import Fore, Style
8 | import socket
9 |
10 |
11 | startRegex = r"https?:\/{2}(?:[^\s\/]+\.)*"
12 | endRegex = "(?:\\/[^\\s\\/]+)*\\/?"
13 | torRegex = startRegex + "onion" + endRegex
14 | i2pRegex = startRegex + "i2p" + endRegex
15 | lokiRegex = startRegex + "loki" + endRegex
16 | authRegex = r"https?:\/{2}\S+:\S+@(?:[^\s\/]+\.)*[a-zA-Z0-9]+" + endRegex
17 |
18 |
19 | def get_cloudflare_ips():
20 | r = requests.get('https://www.cloudflare.com/ips-v4')
21 | return r.text.split('\n')
22 |
23 |
24 | cloudflare_ips = get_cloudflare_ips()
25 |
26 |
27 | def ip2bin(ip): return "".join(
28 | map(
29 | str,
30 | [
31 | "{0:08b}".format(int(x)) for x in ip.split(".")
32 | ]
33 | )
34 | )
35 |
36 |
37 | def is_cloudflare(url):
38 | instance_ip = None
39 | try:
40 | instance_ip = socket.gethostbyname(urlparse(url).hostname)
41 | if instance_ip is None:
42 | return False
43 | except Exception:
44 | return False
45 | instance_bin = ip2bin(instance_ip)
46 |
47 | for cloudflare_ip_mask in cloudflare_ips:
48 | cloudflare_ip = cloudflare_ip_mask.split('/')[0]
49 | cloudflare_bin = ip2bin(cloudflare_ip)
50 |
51 | mask = int(cloudflare_ip_mask.split('/')[1])
52 | cloudflare_bin_masked = cloudflare_bin[:mask]
53 | instance_bin_masked = instance_bin[:mask]
54 |
55 | if cloudflare_bin_masked == instance_bin_masked:
56 | print(url + ' is behind ' + Fore.RED +
57 | 'cloudflare' + Style.RESET_ALL)
58 | return True
59 | return False
60 |
61 |
62 | is_cloudflare('https://pipedapi-libre.kavin.rocks')
63 |
64 |
65 | def filterLastSlash(urlList):
66 | tmp = {}
67 | for frontend in urlList:
68 | tmp[frontend] = {}
69 | for network in urlList[frontend]:
70 | tmp[frontend][network] = []
71 | for url in urlList[frontend][network]:
72 | if url.endswith('/'):
73 | tmp[frontend][network].append(url[:-1])
74 | print(Fore.YELLOW + "Fixed " + Style.RESET_ALL + url)
75 | else:
76 | tmp[frontend][network].append(url)
77 | return tmp
78 |
79 |
80 | def idnaEncode(urlList):
81 | tmp = {}
82 | for frontend in urlList:
83 | tmp[frontend] = {}
84 | for network in urlList[frontend]:
85 | tmp[frontend][network] = []
86 | for url in urlList[frontend][network]:
87 | try:
88 | encodedUrl = url.encode("idna").decode("utf8")
89 | tmp[frontend][network].append(encodedUrl)
90 | if (encodedUrl != url):
91 | print(Fore.YELLOW + "Fixed " + Style.RESET_ALL + url)
92 | except Exception:
93 | tmp[frontend][network].append(url)
94 | return tmp
95 |
96 |
97 | def fetchCache(frontend, mightyList):
98 | try:
99 | with open('./data.json') as file:
100 | mightyList[frontend] = json.load(file)[frontend]
101 | print(Fore.YELLOW + 'Failed' + Style.RESET_ALL + ' to fetch ' + frontend)
102 | except Exception:
103 | print(Fore.RED + 'Failed' + Style.RESET_ALL +
104 | ' to get cached ' + frontend)
105 |
106 |
107 | def fetchFromFile(frontend, mightyList):
108 | with open('./fixed/' + frontend + '.json') as file:
109 | mightyList[frontend] = json.load(file)
110 | print(Fore.GREEN + 'Fetched ' + Style.RESET_ALL + frontend)
111 |
112 |
113 | networks = {}
114 |
115 | with open('networks.json', 'rt') as tmp:
116 | networks = json.load(tmp)
117 |
118 |
119 | def fetchJsonList(frontend, url, urlItem, jsonObject, mightyList):
120 | try:
121 | r = requests.get(url)
122 | rJson = json.loads(r.text)
123 | if jsonObject:
124 | rJson = rJson['instances']
125 | _list = {}
126 | for network in networks:
127 | _list[network] = []
128 | if type(urlItem) == dict:
129 | for item in rJson:
130 | for network in networks:
131 | if urlItem[network] is not None:
132 | if urlItem[network] in item and item[urlItem[network]] is not None:
133 | if type(item[urlItem[network]]) == list:
134 | for i in item[urlItem[network]]:
135 | if i.strip() != '':
136 | _list[network].append(i)
137 | elif item[urlItem[network]].strip() != '':
138 | _list[network].append(item[urlItem[network]])
139 | else:
140 | for item in rJson:
141 | tmpItem = item
142 | if urlItem is not None:
143 | tmpItem = item[urlItem]
144 | if tmpItem.strip() == '':
145 | continue
146 | elif re.search(torRegex, tmpItem):
147 | _list['tor'].append(tmpItem)
148 | elif re.search(i2pRegex, tmpItem):
149 | _list['i2p'].append(tmpItem)
150 | elif re.search(lokiRegex, tmpItem):
151 | _list['loki'].append(tmpItem)
152 | else:
153 | _list['clearnet'].append(tmpItem)
154 |
155 | mightyList[frontend] = _list
156 | print(Fore.GREEN + 'Fetched ' + Style.RESET_ALL + frontend)
157 | except Exception:
158 | fetchCache(frontend, mightyList)
159 | logging.error(traceback.format_exc())
160 |
161 |
162 | def fetchRegexList(frontend, url, regex, mightyList):
163 | try:
164 | r = requests.get(url)
165 | _list = {}
166 | for network in networks:
167 | _list[network] = []
168 |
169 | tmp = re.findall(regex, r.text)
170 |
171 | for item in tmp:
172 | if item.strip() == "":
173 | continue
174 | elif re.search(torRegex, item):
175 | _list['tor'].append(item)
176 | elif re.search(i2pRegex, item):
177 | _list['i2p'].append(item)
178 | elif re.search(lokiRegex, item):
179 | _list['loki'].append(item)
180 | else:
181 | _list['clearnet'].append(item)
182 | mightyList[frontend] = _list
183 | print(Fore.GREEN + 'Fetched ' + Style.RESET_ALL + frontend)
184 | except Exception:
185 | fetchCache(frontend, mightyList)
186 | logging.error(traceback.format_exc())
187 |
188 |
189 | def fetchTextList(frontend, url, prepend):
190 | try:
191 | _list = {}
192 | for network in networks:
193 | _list[network] = []
194 |
195 | if type(url) == dict:
196 | for network in networks:
197 | if url[network] is not None:
198 | r = requests.get(url[network])
199 | tmp = r.text.strip().split('\n')
200 | for item in tmp:
201 | item = prepend[network] + item
202 | _list[network].append(item)
203 | else:
204 | r = requests.get(url)
205 | tmp = r.text.strip().split('\n')
206 |
207 | for item in tmp:
208 | item = prepend + item
209 | if re.search(torRegex, item):
210 | _list['tor'].append(item)
211 | elif re.search(i2pRegex, item):
212 | _list['i2p'].append(item)
213 | elif re.search(lokiRegex, item):
214 | _list['loki'].append(item)
215 | else:
216 | _list['clearnet'].append(item)
217 | mightyList[frontend] = _list
218 | print(Fore.GREEN + 'Fetched ' + Style.RESET_ALL + frontend)
219 | except Exception:
220 | fetchCache(frontend, mightyList)
221 | logging.error(traceback.format_exc())
222 |
223 |
224 | def isValid(url): # by avanitrachhadiya2155
225 | try:
226 | result = urlparse(url)
227 | return all([result.scheme, result.netloc])
228 | except Exception:
229 | return False
230 |
--------------------------------------------------------------------------------
/services/wolfram.py:
--------------------------------------------------------------------------------
1 | import requests
2 | from colorama import Fore, Style
3 | import json
4 |
5 | wolfreeAlpha_url_list = []
6 |
7 |
8 | def wolfreeAlpha(mightyList):
9 | global wolfreeAlpha_url_list_i
10 | frontend = 'wolfreeAlpha'
11 | for instance in wolfreeAlpha_url_list:
12 | try:
13 | r = requests.get(instance+"/instances.json")
14 | if r.status_code != 200:
15 | continue
16 | else:
17 | rJson = json.loads(r.text)
18 | networks = rJson['wolfree']
19 | _list = {}
20 | for i in networks.keys():
21 | _list[i] = networks[i]
22 | mightyList[frontend] = _list
23 | print(Fore.GREEN + 'Fetched ' + Style.RESET_ALL + frontend)
24 | break
25 | except:
26 | wolfreeAlpha_url_list_i += 1
27 | wolfreeAlpha(wolfreeAlpha_url_list_i)
--------------------------------------------------------------------------------
/services/youtube.py:
--------------------------------------------------------------------------------
1 | from .utils import fetchRegexList, fetchCache, fetchJsonList
2 | import requests
3 | import json
4 | from colorama import Fore, Style
5 | import logging
6 | import traceback
7 | import re
8 |
9 |
10 | def invidious(mightyList):
11 | name = 'Invidious'
12 | frontend = 'invidious'
13 | url = 'https://api.invidious.io/instances.json'
14 | try:
15 | _list = {}
16 | _list['clearnet'] = []
17 | _list['tor'] = []
18 | _list['i2p'] = []
19 | _list['loki'] = []
20 | r = requests.get(url)
21 | rJson = json.loads(r.text)
22 | for instance in rJson:
23 | if instance[1]['type'] == 'https':
24 | _list['clearnet'].append(instance[1]['uri'])
25 | elif instance[1]['type'] == 'onion':
26 | _list['tor'].append(instance[1]['uri'])
27 | elif instance[1]['type'] == 'i2p':
28 | _list['i2p'].append(instance[1]['uri'])
29 | mightyList[frontend] = _list
30 | print(Fore.GREEN + 'Fetched ' + Style.RESET_ALL + name)
31 | except Exception:
32 | fetchCache(frontend, mightyList)
33 | logging.error(traceback.format_exc())
34 |
35 |
36 | def piped(mightyList):
37 | frontend = 'piped'
38 | try:
39 | _list = {}
40 | _list['clearnet'] = []
41 | _list['tor'] = []
42 | _list['i2p'] = []
43 | _list['loki'] = []
44 | r = requests.get(
45 | 'https://raw.githubusercontent.com/wiki/TeamPiped/Piped/Instances.md')
46 |
47 | tmp = re.findall(
48 | r' \| (https:\/{2}(?:[^\s\/]+\.)+[a-zA-Z]+) \| ', r.text)
49 | for item in tmp:
50 | try:
51 | print(
52 | Fore.GREEN + 'Fetching ' + Style.RESET_ALL + item,
53 | end=' '
54 | )
55 | url = requests.get(item, timeout=5).url
56 | if url.strip("/") == item:
57 | print(Fore.RED + '𐄂')
58 | continue
59 | else:
60 | # Exceptions
61 | if url == 'https://piped.video':
62 | continue
63 | if url.startswith('http://ww25.yapi.vyper.me'):
64 | continue
65 |
66 | print(Fore.GREEN + '✓')
67 | _list['clearnet'].append(url)
68 | except Exception:
69 | print(Fore.RED + '𐄂')
70 | continue
71 | mightyList[frontend] = _list
72 | print(Fore.GREEN + 'Fetched ' + Style.RESET_ALL + frontend)
73 | except Exception:
74 | fetchCache(frontend, mightyList)
75 | logging.error(traceback.format_exc())
76 |
77 |
78 | def materialious(mightyList):
79 | fetchRegexList(
80 | 'materialious',
81 | 'https://raw.githubusercontent.com/Materialious/Materialious/main/docs/INSTANCES.md',
82 | r"- \[.*\]\((https?:\/{2}(?:[^\s\/]+\.)+[a-zA-Z0-9]+)\/?\)",
83 | mightyList
84 | )
85 |
86 |
87 | def pipedMaterial(mightyList):
88 | fetchRegexList(
89 | 'pipedMaterial',
90 | 'https://raw.githubusercontent.com/mmjee/Piped-Material/master/README.md',
91 | r"\| (https?:\/{2}(?:\S+\.)+[a-zA-Z0-9]*) +\| Production",
92 | mightyList
93 | )
94 |
95 |
96 | def poke(mightyList):
97 | frontend = 'poke'
98 | try:
99 | r = requests.get(
100 | 'https://codeberg.org/ashley/poke/raw/branch/main/instances.json')
101 | rJson = json.loads(r.text)
102 | _list = {
103 | 'clearnet': [],
104 | 'tor': [],
105 | 'i2p': [],
106 | 'loki': []
107 |
108 | }
109 | for element in rJson:
110 | _list['clearnet'].append(element[1]['uri'])
111 |
112 | mightyList[frontend] = _list
113 | print(Fore.GREEN + 'Fetched ' + Style.RESET_ALL + frontend)
114 | except Exception:
115 | fetchCache(frontend, mightyList)
116 | logging.error(traceback.format_exc())
117 |
118 |
119 | def hyperpipe(mightyList):
120 | fetchJsonList(
121 | 'hyperpipe',
122 | 'https://codeberg.org/Hyperpipe/pages/raw/branch/main/api/frontend.json',
123 | 'url',
124 | False,
125 | mightyList)
126 |
--------------------------------------------------------------------------------