wasi-master / 13ft

My own custom 12ft.io replacement
https://13ft.wasimaster.me
MIT License
2.82k stars 152 forks source link

[FEAT]: please publish a release #2

Closed lapineige closed 1 year ago

lapineige commented 1 year ago

Description

I would like to package this software as a Yunohost app. For this, I need a released version, so that I can use its URL to download the app.

Could you please make a release version for your software ?

Thank you

Additional Information

No response

wasi-master commented 1 year ago

Okay, what do you need the release to have? Any specific files?

lapineige commented 1 year ago

Only what's needed to run the app.

Additional question : is there any other dependencies than flask ? If that's the case, a requirements.txt file to list dependencies would be great (https://forum.yunohost.org/t/help-for-new-app-packaging-13ft-12ft-io-alternative-bypass-paywalls/22665/4) but that's not mandatory for us to package it.

WIP here : https://github.com/YunoHost-Apps/13ft_ynh

wasi-master commented 1 year ago

@lapineige Thanks for the information. Released v0.1.0 at https://github.com/wasi-master/13ft/releases/tag/v0.1.0

It has the source code in zip format as usual but I've also added the index.html and index.py files separately if you need them

lapineige commented 1 year ago

Actually I believe I only need index.html and index.py in a single file (oh and the requirements.txt file, I saw you made one, great !) I don't know if having more files is a problem or not, but it's a bit of a pity to download 10MB of data for a 2.5KB script :smile:

I don't think Yunohost can handle simply multiple file links.

wasi-master commented 1 year ago

@lapineige okay I'll see what I can do

wasi-master commented 1 year ago

@lapineige I've added a portable.py file that has the index.html and index.py in a single file

lapineige commented 1 year ago

That's perfect, thanks a lot !

I'll let you know how it's going :)

lapineige commented 1 year ago

So it turns out I forgot that I couldn't include requirements.txt in the current format.

As I suppose it's simpler for you, could you make go back to a release archive, with index.html + index.py + requirements.txt ? This way you don't have to generate another specific file each time, and I will have all the files needed for that purpose.

Thanks a lot in advance :)

wasi-master commented 1 year ago

@lapineige It's also available in that format. I have both a zip file and a portable.py attached to the release

lapineige commented 1 year ago

Perfect !