{"id":20198599,"url":"https://github.com/eclipsesource/ide-ai-assistant","last_synced_at":"2026-06-06T04:31:21.799Z","repository":{"id":205078879,"uuid":"713310657","full_name":"eclipsesource/ide-ai-assistant","owner":"eclipsesource","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-19T13:03:27.000Z","size":761,"stargazers_count":2,"open_issues_count":17,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-13T19:49:38.522Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eclipsesource.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-02T09:09:21.000Z","updated_at":"2024-07-17T05:03:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"e2a48bcc-cd8d-41da-83b4-a19c3464e1ab","html_url":"https://github.com/eclipsesource/ide-ai-assistant","commit_stats":null,"previous_names":["eclipsesource/ide-ai-assistant"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipsesource%2Fide-ai-assistant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipsesource%2Fide-ai-assistant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipsesource%2Fide-ai-assistant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipsesource%2Fide-ai-assistant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eclipsesource","download_url":"https://codeload.github.com/eclipsesource/ide-ai-assistant/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241631400,"owners_count":19994020,"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":[],"created_at":"2024-11-14T04:32:29.834Z","updated_at":"2026-06-06T04:31:21.616Z","avatar_url":"https://github.com/eclipsesource.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ide-ai-assistant\nThe example of how to build the Theia-based applications with the ide-ai-assistant.\n# License Header\n/********************************************************************************\n * Copyright (c) 2023-2024 EclipseSource and others.\n *\n * This program and the accompanying materials are made available under the\n * terms of the Eclipse Public License v. 2.0 which is available at\n * https://www.eclipse.org/legal/epl-2.0, or the MIT License which is\n * available at https://opensource.org/licenses/MIT.\n *\n * SPDX-License-Identifier: EPL-2.0 OR MIT\n ********************************************************************************/\n\n## Getting started\n\nPlease install all necessary [prerequisites](https://github.com/eclipse-theia/theia/blob/master/doc/Developing.md#prerequisites).\n\nTo install and build the extensions and apps use the command \n\n    yarn\n\n### Setting needed variables\n\nFor the Backend to work a API KEY to OpenAI needs to be provided.\nThis can be done by creating a file `backend/secrets.env` as this is ignored by git, then set `API_KEY = [YOUR KEY]`.\n\nFor the moment there is an API missing in theia needed for the log in in our extenstion, this API should be coming soon! (Ref: [issue #13169](https://github.com/eclipse-theia/theia/issues/13169) and in our repo [#55](https://github.com/eclipsesource/ide-ai-assistant/issues/55)).\nSo to run the application in theia you need to set a personal access token from github in the [loginScript.js](./extensions/ai-assistant-vsc/src/resources/loginScript.js) in the function [setupLogin](https://github.com/eclipsesource/ide-ai-assistant/blob/83539ba60f2aa967bb6aeecbf8738faaf634af9f/extensions/ai-assistant-vsc/src/resources/loginScript.js#L23). Insert your PAT here.\n\n```ts\nthis.access_token = \"[Your access token]\";\n```\nThere are several ways to start the program. \n\n## Running the browser app with plugins\nIf you want to run the Theia browser app with the plugins and the backend, we recommend using \n\n    yarn start \n\nor \n    \nlaunching with the vscode configuration `Theia IDE` and starting the backend workspace separately\nVscode will also automatically launch chrome.\n\n## Running the browser example\n\n    yarn start:browser\n\n*or:*\n\n    cd browser-app\n    yarn start\n\n*or:* launch `IDE (Backend)` configuration from VS code.\n\nOpen http://localhost:3000 in the browser.\n\n## Running the Electron example\n\n    yarn build:electron\n    yarn start:electron\n\n*or:*\n\n    yarn build:electron\n    cd electron-app\n    yarn start\n\n*or:* launch `Start Electron Backend` configuration from VS code.\n\n\n## Running the tests\n\n    yarn test\n\n*or* run the tests of a specific package with\n\n    cd [workspace you want to test]\n    yarn test\n\n\n## Developing with the browser example\n\nStart watching all packages, including `browser-app`, of your application with\n\n    yarn watch\n\n*or* watch only specific packages with\n\n    cd ide-ai-assistant\n    yarn watch\n\nand the browser example.\n\n    cd browser-app\n    yarn watch\n\nRun the example as [described above](#Running-the-browser-example)\n## Developing with the Electron example\n\nStart watching all packages, including `electron-app`, of your application with\n\n    yarn watch\n\n*or* watch only specific packages with\n\n    cd ide-ai-assistant\n    yarn watch\n\nand the Electron example.\n\n    cd electron-app\n    yarn watch\n\nRun the example as [described above](#Running-the-Electron-example)\n\n## Publishing ide-ai-assistant\n\nCreate a npm user and login to the npm registry, [more on npm publishing](https://docs.npmjs.com/getting-started/publishing-npm-packages).\n\n    npm login\n\nPublish packages with lerna to update versions properly across local packages, [more on publishing with lerna](https://github.com/lerna/lerna#publish).\n\n    npx lerna publish\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feclipsesource%2Fide-ai-assistant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feclipsesource%2Fide-ai-assistant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feclipsesource%2Fide-ai-assistant/lists"}