Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 1.3 KB

README.org

File metadata and controls

45 lines (36 loc) · 1.3 KB

OpenAI API Key Tester

A quick and simple OpenAI API Key tester, the keys should be written on the stdin and it will write to the stdout the status of each key.

Build

It uses standard Golang tooling, to build just run

go build main.go

Run

# cat keys | sort | uniq | ./main | tee result
[*] Checking API key: sk-ABC
[-] Invalid API key: sk-ABC
[*] Checking API key: sk-XYZ
[+] Valid API key: sk-XYZ
[*] Summary: 1 valid keys, 1 invalid keys

Developing

This project uses nix and direnv, just

direnv allow

and

nix develop

Are enough to give you a development environment.

Disclaimer

This or previous program is for Educational purpose ONLY. Do not use it without permission. The usual disclaimer applies, especially the fact that me (Rafa-dot-el) is not liable for any damages caused by direct or indirect use of the information or functionality provided by these programs. The author or any Internet provider bears NO responsibility for content or misuse of these programs or any derivatives thereof. By using these programs you accept the fact that any damage (dataloss, system crash, system compromise, etc.) caused by the use of these programs is not Rafa-dot-el’s responsibility.