Sign inSign up

syl21/apimyllama

By syl21

•Updated about 2 years ago

Allows users to run this alongside Ollama to easily distrubute API keys to create amazing things.

Image
Security
Machine learning & AI
Web servers
0

454

syl21/apimyllama repository overview

⁠APIMyLlama

Image based on https://github.com/Gimer-Studios/APIMyLlama⁠

APIMyLlama is a server application that provides an interface to interact with the Ollama API, a powerful AI tool to run LLMs. It allows users to run this alongside Ollama to easily distrubute API keys to create amazing things.

⁠Installation

docker run -it -p 3000:3000 -v apimyllama:/config --name apimyllama syl21/apimyllama

Inside container:
APIMyLlama V2 is being started. Thanks for choosing Gimer Studios.
Connected to the apiKeys.db database.
Enter the port number for the API server: 3000
Port number saved to port.conf: 3000
Enter the URL for the Ollama server (URL that your Ollama server is running on. By default it is "http://localhost:11434" so if you didnt change anything it should be that.): http://ollama:11434
Ollama url saved to ollamaURL.conf: http://ollama:11434
Server running on port 3000
-> generatekey
API key generated: 2adba6768765f8eeee2188d45c2469bf961c28a8
-> CTRL+P then CTRL+Q to return on host
read escape sequence

⁠Usage/Examples

docker attach apimyllama

Inside container:
> listkey
API keys: [
  {
    key: '2adba6768765f8eeee2188d45c2469bf961c28a8',
    active: 1,
    description: null
  }
]
-> CTRL+P then CTRL+Q to return on host
read escape sequence

Tag summary

Content type

Image

Digest

sha256:f948606ec…

Size

406.7 MB

Last updated

about 2 years ago

docker pull syl21/apimyllama