Skip to content
Arief Rachmawan edited this page Sep 10, 2023 · 2 revisions

How to add a password to folder?

Simply create a .password inside the folder you want to protect

.password could be changed inside gIndex.config.ts under apiConfig > specialFile & hiddenFiles

Can you give me an example of .password file?

You can create a txt file, and remove the name + change the extension to .password Then type your password inside that file

loremipsum

Can I add password to my rootFolder?

Technically you can, but it's better to set privateIndex to true instead of putting .password on your rootFolder

How can I add Readme into folder?

Simply create a .readme.md inside the folder

.readme.md could be changed inside gIndex.config.ts under apiConfig > specialFile & hiddenFiles

Is it possible to allow another person to download protected files?

By default you can share download link with temporary download token to allow other person to download it, but if you want to disable the protection you can set allowDownloadProtectedFile inside apiConfig to true

This config will removing temporary download token and make the file available to download by anyone whenever they want, as long as the file isn't deleted.

I don't like the blue color, can i change it?

Yes you can change the defaultAccentColor under siteConfig to any other color.
It should have a list of tailwindcss color that you can choose.