Closed dezhishen closed 1 year ago
Thank you for sending a PR. Unfortunately, I'm uncomfortable with adding a lot of new dependencies (and code that I will need to maintain) in order to parse the GitHub page listing the Nitter instances. I'd be happy to accept a change that adds a small, separate program (a shell or Python script seems like it would be ideal) that prints the list of instances so it can be inserted in a command line. For example, it could be used like this:
nitter-rss-proxy -instances "$(./list-public-instances.sh)"
What do you think?
Also, I'd be happy to accept the Dockerfile change to reduce the image size if you upload it as a separate PR. (Thanks for doing this! I'm pretty unfamiliar with Docker and don't use it much myself.)
Change log
auto fetch and update instance from zedeus/nitter/wiki/instances,only public
-"auto-instances" true
REPO_PROXY
to request wiki's page by proxychange go version to 1.19
change docker build step to make docker image less size
docker build . -f Dockerfile.zh -t ...
to use go proxy