CGMINER-API(1)

πŸ“¦ version 4.9.2, in ubuntu jammy

πŸ’– CGMINER-API πŸ’–

okay bestie, welcome to cgminer-api β€” it lives in the User Commands part of the manual (section 1, the classic), and it's your little backstage pass to talk to cgminer over its API. no cap, that's literally the whole job description πŸ’…


✨ NAME ✨

cgminer-api β€” API access to cgminer.

🌸 DESCRIPTION 🌸

so here's the vibe, fr fr. you run it like this:

./cgminer-api [command [ip/host [port]]]

that's it, that's the whole energy. you hand it a command, you tell it where cgminer is living with ip/host, and you tell it which port to knock on. everything in those square brackets is optional β€” the brackets are literally out here saying "no pressure, queen" 🫢

πŸ¦‹ MORE INFO πŸ¦‹

okay so if you want the full tea, go read this:

  • /usr/share/doc/cgminer/API-README

like, that file is the main character here. go look at it. it's giving documentation πŸ”₯


ngl, this page is short and iconic and we respect that. don't invent extra flags, bestie β€” the README is where the real lore lives πŸ‘‘

and that's a wrap, babe πŸŽ€ this lil page came from the source line API access to cgminer, dated July 2013, sitting pretty in the User Commands section of the manual. July 2013 walked so you could API today βœ¨πŸ’œ

πŸ“¦ where this page comes from