{"id":22310958,"url":"https://github.com/velocitatem/omni","last_synced_at":"2025-03-26T02:13:46.692Z","repository":{"id":265459813,"uuid":"609808124","full_name":"velocitatem/omni","owner":"velocitatem","description":"One Click Deployment for AI apis","archived":false,"fork":false,"pushed_at":"2023-03-16T17:58:11.000Z","size":105,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-20T08:49:17.277Z","etag":null,"topics":["ai","api-keys","gpt-3"],"latest_commit_sha":null,"homepage":"https://omnia.netlify.app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/velocitatem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-05T09:56:24.000Z","updated_at":"2023-03-16T17:57:12.000Z","dependencies_parsed_at":"2024-11-30T02:48:18.003Z","dependency_job_id":null,"html_url":"https://github.com/velocitatem/omni","commit_stats":null,"previous_names":["velocitatem/omni"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velocitatem%2Fomni","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velocitatem%2Fomni/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velocitatem%2Fomni/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velocitatem%2Fomni/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/velocitatem","download_url":"https://codeload.github.com/velocitatem/omni/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245573892,"owners_count":20637674,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","api-keys","gpt-3"],"created_at":"2024-12-03T21:16:48.591Z","updated_at":"2025-03-26T02:13:46.673Z","avatar_url":"https://github.com/velocitatem.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Omni AI (beta)\n\n_currently only for firefox_\n\nStop copy-pasting your AI api-keys, use Omni.\n\n## How ❓\nOmni is designed both for developers and consumers. As a consumer you can install the Omni Plugin into your browser and use it to store your API keys. As a developer you use the Omni API to access easily request access to those keys.\n\nTake a look at this in action here:\n\nhttps://user-images.githubusercontent.com/60182044/223773599-f026e7ad-4ac7-4a7b-b34e-b4f70eb97445.mp4\n\n## Why ❓\nThere are plenty apps in the world that make use of GPT3 or ChatGPT, most of them now require the user to provide their own keys to access those features, that can be tedious, omni aims to solve that problem.\n\n## How to use ❓\nOmni is designed to be as easy to use as possible, you can install the Omni Plugin into your browser and use it to store your API keys. As a developer you use the Omni API to access easily request access to those keys.\n### As a consumer 🔌\n1. Install the [Omni Plugin](https://addons.mozilla.org/en-US/firefox/addon/omniai/)\n2. Go to plugin settings and add your API keys\n3. Now, when you visit a website that uses Omni, you will be able to use the features that require API keys.\n\nYou can also follow [this setup guide](./SETUP.md). You can also try it out on this website: https://omni-ai.netlify.app/\n\n### As a developer 🧑‍💻\n\n1. Add the api to your website\n\n\nImport the script into your website\n\n```html\n\u003cscript src=\"https://cdn.jsdelivr.net/gh/velocitatem/omni@main/script.js\" type=\"text/javascript\"\u003e\u003c/script\u003e\n```\n\n2. Add the following code to your website\n\n```js\ndocument.getElementById('requestKey').addEventListener('click', () =\u003e {\n    requestKey(\"openai\", (key) =\u003e console.log(key));\n});\n```\n\nWhere the `requestKey` element is a button that the user will click to request the key. This must be a button because of the user interaction. If you know a better way to do this, please let me know.\n\nThe `requestKey` function takes two arguments, the first one is the name of the API you want to access, the second one is a callback function that will be called when the user accepts the request. The callback function will be called with the key as an argument.\n\nYou can find a demo [here](./demo/index.html)\n\n### Streamlit (coming soon)\nStreamlit is full of apps that use GPT3, but they all require the user to provide their own API keys, this is a problem, because it is tedious to do that.\n\nAs a developer you should add the following code to your app\n\n```python\nkey=st.text_input(\"OpenAI API Key\", placeholder=\"omni-[KEY_NAME]\")\n```\n\nOmni will read the page and if it finds a text input with the placeholder `omni-[KEY_NAME]` it will replace it with the key that the user has stored in Omni.\n\n## On boarding 🛳️\nWhat if a user does not have omni but as a developer you want to use it? Well, you can use the on boarding feature to make it easy for the user to install omni. Here are some resources you can use to make it easy for the user to install omni:\n\n```html\n\u003ch3\u003eInstall Omni\u003c/h3\u003e\n\u003cp\u003eOmni is a browser plugin that makes it easy to use AI APIs, install it now to use this app.\u003c/p\u003e\n\u003ca href=\"LINK_TO_EXT\"\u003eInstall Omni\u003c/a\u003e\n```\n\n```python\nst.markdown(\"\"\"\n## Install Omni\nOmni is a browser plugin that makes it easy to use AI APIs, install it now to use this app.\n[Install Omni](LINK_TO_EXT)\n\"\"\")\n```\n\nHere are some badges:\n![Omni Plugin](https://img.shields.io/badge/Omni-Plugin-green)\n\n\n\n\n\n## Contributing 🤝\nAny contributions you make are greatly appreciated.\n\n## Roadmap 🛣️\n- [x] Create a basic plugin\n- [x] Create a basic API\n- [x] Improve UI of plugin\n- [x] Create better access to API\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvelocitatem%2Fomni","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvelocitatem%2Fomni","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvelocitatem%2Fomni/lists"}