HeyPuter / puter

🌐 The Web OS! Free, Open-Source, and Self-Hostable.
https://puter.com
GNU Affero General Public License v3.0
20.85k stars 1.29k forks source link

Custom file templates #432

Open Zac0511 opened 1 month ago

Zac0511 commented 1 month ago

By default, when you right-click in file explorer, then click new, you only have folder, but for files you have text file, HTML file and JPEG image (i suppose this one is here for... drawing ?). It should be like on Linux, where the home directory contains a Templates folder, and any file you put in it will show up in the new file menu. This would allow to easily create other files, like JS files, or any ! And because its templates, you could put thing inside a template file, like the default "bug report" thing on this GitHub, and just create a filled file from a right-click ! AND, apps could even set a custom adanced templates, that opens the app and starts it in the folder you were, with a new file with the name you chosen ! This would be perfect for files that are not readable by an human (like the JPEG image), and could instead open it with the appropriate app to allow editing !

jelveh commented 1 month ago

This is a good idea. It's also good for a start issue.