But everything up to 6 pieces is on BitTorrent these days. The 7 piece tablebase is 20TB or so, so it’ll be a few years before you can fit that one your phone. Pretty sure Lichess has an API for that. Never tried to hook it up to Stockfish or Leela though.
You definitely do not want to generate your own 7-man tablebases. It took computers with hundreds of gigabytes of RAM over a year to construct. :-) Even 6-man takes quite a while. (345 you can do easily enough now.)
You don't need to muck around with BitTorrent to get them; several mirrors have them over HTTP.
On the off chance you’re _the_ Sesse, can I thank you personally for your analysis site. Pretty sure I saw it hit 5000 viewers during Ding’s magnificent win this week.
I am, and you're welcome :-) It very briefly passed 6k, AFAIK. (The interest during Carlsen–Caruana was much higher, but that's just a natural fact of who's playing.)
https://github.com/syzygy1/tb
But everything up to 6 pieces is on BitTorrent these days. The 7 piece tablebase is 20TB or so, so it’ll be a few years before you can fit that one your phone. Pretty sure Lichess has an API for that. Never tried to hook it up to Stockfish or Leela though.