For a while I've been wanting to create some kind of subscription service for downloads. Where the user can pay to have access to a folder with files for some time.
I thought something like this: User login with LN and it opens a profile page where the user can set their user name and password for the download. User pays with LN some sats and it gives permission to download from a folder for a month for example. The downloads folder is protected by nginx server policy. The app should be able to modify the nginx configuration file with all the users and passwords allowed to download. Cron job can check dates to remove users when subscription period has passed. Maybe there are better ways to do protected downloads. I don't know.
Sounds to me like it can be done. What would be an example use case of that? Like access to a valuable spreadsheet?
reply
Yes that could be, or for example access to download a software and a month of updates of the software. If they want more updates later they can always send some days again for another month of updates or new software that can be added. The nginx is configured to allow access to the specific directory and all its subdirectories.
reply
Got it. I have no idea what nginx is but the concept is doable for file, not so sure for software since most nocode tools are either for web apps or mobile apps. No native desktop apps that I know.
reply