This is a simple CLI tool that fetches the most popular articles on Wikipedia and displays them in the terminal.
You can get the most popular articles on Wikipedia in Japan today.
go run main.go
When you want to get the english articles, you can use the -lang
option.
go run main.go -lang en
When you run the above code, a list of popular articles will be displayed.
If you select an article numerically and press the enter key, the URL of that article will be displayed.