miru-project / miru-app

🎉 A versatile application that is free, open-source, and supports extension sources for videos, comics, and novels, available on Android, Windows, and Web platforms.
https://miru.js.org
GNU Affero General Public License v3.0
3.77k stars 156 forks source link

support for one-liner for extension #149

Open bachig26 opened 9 months ago

bachig26 commented 9 months ago

Describe your suggested feature

since this needs an support from the app itself, so adding this request/issue here.

an one-liner to shortly describe about the extension to be displayed under the extension name would be nice.

*especially helps for new user of the extension on what to expect and if extension repo being increasing, this would be helpful before installing them.

miru_fkSxTq82Jv

miru_O1iWTVCKYY

Acknowledgements

bachig26 commented 9 months ago

@MiaoMint

https://github.com/miru-project/miru-app/blob/639b43e635f2fbcc9f0ceffa1cf8254f9740289b/lib/models/extension.dart#L28

when I this line in the extension.dart, i thought it's already available and tried to use it but it doesn't work. is it a different one? or has it been disabled elsewhere?

example:

// ==MiruExtension==
// @name         GakiArchives
// @version      v0.0.1
// @author       bachig26
// @lang         en
// @license      MIT
// @package      gakiarchives.com
// @type         bangumi
// @icon         https://gakiarchives.com/images/logo.png
// @webSite      https://gakiarchives.com
// @nsfw         false
// @description  A Fan Supported Gaki Collection
// ==/MiruExtension==
MiaoMint commented 9 months ago

The settings page will show

bachig26 commented 9 months ago

The settings page will show

no, i've tried few times, but doesn't work. if possible can show an example with proper syntax that i use in the extension file?

OshekharO commented 9 months ago

Yes I can confirm, description is broken 💔, although I didn't think it has any use 😅.