Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add available browsers as json file #74

Closed
vladtreny opened this issue May 30, 2022 · 4 comments
Closed

add available browsers as json file #74

vladtreny opened this issue May 30, 2022 · 4 comments

Comments

@vladtreny
Copy link

Hello, is it possible to create a json file where list all available browsers and current docker image

like

{
'docker': 'lwthiker/curl-impersonate:0.4',
'browsers': {
    'chrome98': 'chrome',
    'chrome99': 'chrome',
    'edge98': 'chrome',
    'edge99': 'chrome',

    'safari15_3': 'chrome',

    'ff91esr': 'ff',
    'ff95': 'ff',
    'ff98': 'ff'
}
}

Of course can add more details to each browser

@lwthiker
Copy link
Owner

lwthiker commented Jun 3, 2022

Hi,

As for the docker image - I'm not sure whether maintaining the last docker version in a file in the repo is the best idea. These things tends to go out of sync. If you are looking for a method to obtain the latest image, you can check the latest git tag, and the version of the docker image should match the version in git. Or, you can pull the latest tag (which currently points to the Firefox version by default).

As for the list of browsers - yes it makes sense indeed to maintain such a list as part of the project. Can I ask what would be your use of such a list?

@vladtreny
Copy link
Author

For automation. Now need to check manually the new versions of docker and browsers. But could just load this json from your repo and auto-update software on fly. I use random browsers, just shuffle the list

@lwthiker
Copy link
Owner

I added a JSON file as you suggested, with a slightly different format. It is available as browsers.json in the top dir.

@vladtreny
Copy link
Author

great. it is possible to add these also a current docker version? like. docker_version: 0.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants