miru-app icon indicating copy to clipboard operation
miru-app copied to clipboard

support for multi site extension

Open shashankx86 opened this issue 1 year ago • 3 comments

Describe your suggested feature

there are lot of clone site having same html elements instead of making extension for of these | clones sites/sites uses same frontend | just add new urls in existing extension to have multi side support and considering that sites are identical there shouldn't be any issue with scraping if in case clone a "minor" changes we can just use site detection (like this == that)

here is how we can implement (example with existing extension )

lest take scenario where a Mangakatana clone is there called MK

// ==MiruExtension==
// @name         Mangakatana
// @version      v0.0.1
// @author       shashankx86
// @lang         en
// @license      MIT
// @icon         https://mangakatana.com/static/img/fav.png
// @package      mangakatana.com
// @type         manga
// @webSite      https://mangakatana.com/
// ==/MiruExtension==

// we can just add new comments for clone site                                       <--------
// only with necessary parameters like site display name, url, icon       <--------
// like 

// @name         MK
// @icon         https://mk.com/static/img/fav.png
// @webSite      https://mk.com/

as for global search, extension store, installed extension and repo we just set to first get results with first parameters and if any second for third are present then just look with new parameters and using the ones as it is which aren't defined in new parameters and then show results

Why this? in many cases different manga sites uses same frontend, we can just use them without needing to install/make new extension with minimal effort

Acknowledgements

  • [X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.

shashankx86 avatar Dec 28 '23 17:12 shashankx86

also any update on linux support???

shashankx86 avatar Dec 28 '23 17:12 shashankx86

@MiaoMint ????

shashankx86 avatar Dec 31 '23 21:12 shashankx86

@MiaoMint ????

Currently he is busy preparing for his exams so it may take time.

OshekharO avatar Jan 01 '24 07:01 OshekharO