You’ll want the WHO recipe for Oral Rehydration Salts:
https://rehydrate.org/solutions/homemade.htm#recipe
Preparing 1 (one) Litre solution using Salt, Sugar and Water at Home Mix an oral rehydration solution using the following recipe. Ingredients:
2T Sugar
Half (1/2) level teaspoon of Salt
One Litre of clean drinking or boiled water and then cooled - 5 cupfuls (each cup about 200 ml.)
Preparation Method:
Stir the mixture till the salt and sugar dissolve.
Probably no more or even less processed sugar than packaged and processed electrolyte offerings.
> An electrolyte is a medium containing ions that are electrically conductive through the movement of those ions, but not conducting electrons. This includes most soluble salts, acids, and bases dissolved in a polar solvent, such as water.[0]
I always have a handful of these on me when I travel. Good if you get food poisoning or a hangover.
Plus they just taste good with a few squirts of water flavoring and some ice.
Examples: Salt; Potassium citrate; Magnesium citrate.
Another source of potassium is "low sodium salt". This is often the cheapest form of potassium you can easily get.