{"id":13620476,"url":"https://github.com/hellojwilde/energetic-ai","last_synced_at":"2026-01-29T19:03:08.525Z","repository":{"id":171719300,"uuid":"641204528","full_name":"hellojwilde/energetic-ai","owner":"hellojwilde","description":"EnergeticAI is TensorFlow.js, optimized for serverless environments, with fast cold-start, small module size, and pre-trained models.","archived":false,"fork":false,"pushed_at":"2023-11-20T00:21:59.000Z","size":37527,"stargazers_count":36,"open_issues_count":3,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-10-04T10:20:09.603Z","etag":null,"topics":["ai","artificial-intelligence","embeddings","embeddings-trained","machine-learning","sentence-embeddings","tensorflow","tensorflowjs"],"latest_commit_sha":null,"homepage":"https://energeticai.org","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hellojwilde.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-05-16T02:06:17.000Z","updated_at":"2025-01-17T17:48:16.000Z","dependencies_parsed_at":"2023-11-20T01:29:40.858Z","dependency_job_id":"a3ab43bc-9de7-4ac4-83cb-42b631cc0558","html_url":"https://github.com/hellojwilde/energetic-ai","commit_stats":{"total_commits":60,"total_committers":2,"mean_commits":30.0,"dds":0.01666666666666672,"last_synced_commit":"4d3dbf9578eb6bc65848ce62da6ce0890da06d34"},"previous_names":["realworldprivacy/energetic-ai","hellojwilde/energetic-ai"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/hellojwilde/energetic-ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellojwilde%2Fenergetic-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellojwilde%2Fenergetic-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellojwilde%2Fenergetic-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellojwilde%2Fenergetic-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hellojwilde","download_url":"https://codeload.github.com/hellojwilde/energetic-ai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellojwilde%2Fenergetic-ai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28882629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T16:41:59.663Z","status":"ssl_error","status_checked_at":"2026-01-29T16:39:39.641Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","artificial-intelligence","embeddings","embeddings-trained","machine-learning","sentence-embeddings","tensorflow","tensorflowjs"],"created_at":"2024-08-01T21:00:56.212Z","updated_at":"2026-01-29T19:03:08.511Z","avatar_url":"https://github.com/hellojwilde.png","language":"TypeScript","funding_links":[],"categories":["ai","tensorflow"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/realworldprivacy/energetic-ai/main/logo.png\" alt=\"EnergeticAI\" width=\"369\" height=\"84\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003eRun open-source AI in serverless functions, up to 67x faster. Compatible with Tensorflow.js.\u003c/p\u003e\n\n# EnergeticAI\n\nEnergeticAI is a distribution of TensorFlow.js optimized for serverless functions:\n\n- **small module size** (~3 MB vs. 146 MB - 513 MB for stock TensorFlow.js)\n- **fast cold-start inference** (~50 ms vs. 2000+ ms for stock TensorFlow.js)\n- **incredible ease-of-use** (pre-trained models for common cases)\n\nIt's intended to be a condensed replacement for TensorFlow.js, so you can use it with much existing code and models.\n\n## Install\n\nEnergeticAI is available on NPM.\n\nInstall the **core package**, along with any **model libraries** you want to use (e.g. embeddings):\n\n```bash\nnpm install @energetic-ai/core @energetic-ai/embeddings @energetic-ai/model-embeddings-en\n```\n\nYou can see a full list of packages below.\n\n## Usage\n\nHere's an example of using the embeddings model:\n\n```js\nimport { initModel, distance } from \"@energetic-ai/embeddings\";\nimport { modelSource } from \"@energetic-ai/model-embeddings-en\";\n(async () =\u003e {\n  const model = await initModel(modelSource);\n  const embeddings = await model.embed([\"hello\", \"world\"]);\n  console.log(distance(embeddings[0], embeddings[1])));\n})();\n```\n\n## Packages\n\nThis repository contains the following packages:\n\n| Package                               | Description                                                          |\n| ------------------------------------- | -------------------------------------------------------------------- |\n| **@energetic-ai/core**                | The core EnergeticAI library, comparable to `@tensorflow\\tfjs-core`. |\n| **@energetic-ai/classifiers**         | Classifiers model library.                                           |\n| **@energetic-ai/embeddings**          | Embeddings model library.                                            |\n| **@energetic-ai/model-embeddings-en** | English embeddings model weights.                                    |\n\nSee the readmes in the [packages](packages) directory for more information.\n\n## Examples\n\nSee the [examples](examples) directory for examples.\n\n## Development\n\nThis repository uses [Lerna](https://lerna.js.org/) to manage packages, and [Vitest](https://vitest.dev/) to run tests.\n\n## License\n\n[Apache 2.0](LICENSE), except for dependencies.\n\n## Acknowledgements\n\nThis project is derived from [TensorFlow.js](https://github.com/tensorflow/tfjs), the [Universal Sentence Encoder model library](https://github.com/tensorflow/tfjs-models) and [Universal Sentence Encoder Lite model weights](https://tfhub.dev/tensorflow/tfjs-model/universal-sentence-encoder-lite/1/default/1), which are also Apache 2.0 licensed.\n\n```\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellojwilde%2Fenergetic-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhellojwilde%2Fenergetic-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellojwilde%2Fenergetic-ai/lists"}