sekai-soft / guide-nitter-self-hosting

A guide for self-hosting a Nitter instance
MIT License
154 stars 8 forks source link

base64Media option in the generated conf #10

Closed ojaha065 closed 6 months ago

ojaha065 commented 8 months ago

I'm running the nitter-only setup in an environment where the base64Media option is required due to some URL decoding issues. The generated nitter.conf has this option disabled with no apparent way to enable it using the .env file.

I was able to get around this by ignoring the generated conf file and setting NITTER_CONF_FILE env variable to make Nitter use a different one mounted to the container but it would be nice if it were possible to easily configure whether this option is enabled in the generated conf file.

KTachibanaM commented 8 months ago

Added a INSTANCE_BASE64_MEDIA environment variable. Set 1 to enable.

ojaha065 commented 8 months ago

Great, thanks! I'll test later this week and report back if there's any issues.