{"id":26287664,"url":"https://github.com/litegraphdb/ui","last_synced_at":"2025-03-14T21:52:05.527Z","repository":{"id":282003490,"uuid":"946775922","full_name":"litegraphdb/ui","owner":"litegraphdb","description":"LiteGraph web user interface","archived":false,"fork":false,"pushed_at":"2025-03-12T09:01:44.000Z","size":360,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-12T09:37:06.609Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/litegraphdb.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":"2025-03-11T16:53:12.000Z","updated_at":"2025-03-12T09:01:47.000Z","dependencies_parsed_at":"2025-03-12T09:47:14.451Z","dependency_job_id":null,"html_url":"https://github.com/litegraphdb/ui","commit_stats":null,"previous_names":["litegraphdb/ui"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litegraphdb%2Fui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litegraphdb%2Fui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litegraphdb%2Fui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litegraphdb%2Fui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/litegraphdb","download_url":"https://codeload.github.com/litegraphdb/ui/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243652694,"owners_count":20325607,"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":"2025-03-14T21:52:04.994Z","updated_at":"2025-03-14T21:52:05.521Z","avatar_url":"https://github.com/litegraphdb.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://raw.githubusercontent.com/jchristn/LiteGraph/refs/heads/main/assets/favicon.png\" height=\"48\"\u003e\n\n# LiteGraph Web UI\n\nA web interface for visualizing and managing network graphs, built with Next.js and React.\n\n## Features\n\nTenant Dashboard\nThis can be accessed by logging in to `localhost:3000/login`\n\n- **Home**: Main graph visualization interface\n- **Graphs**: Manage and edit graph definitions\n- **Nodes**: View and edit graph nodes\n- **Edges**: Manage connections between nodes\n- **Labels**: Manage and edit labels\n- **Tags**: Manage and edit tags\n- **Vectors**: Manage and edit vectors\n\nAdmin Dashboard\nThis can be accessed by logging in to `localhost:3000/login/admin`\n\n- **Tenants**: Manage and edit tenants\n- **Users**: Manage and edit users\n- **Credentials**: Manage and edit credentials\n\n## Requirements\n\n- Node.js v18.20.4\n- npm\n\n## Quick Start\n\n### Development Setup\n\n#### Install dependencies:\n\n```bash\nnpm install\n```\n\n#### Set the liteGraph instance URL\n\nUpdate the `liteGraphInstanceURL` in [`constants/config.ts`](constants/config.ts) to point to your litegraph instance:\n\n```typescript\nexport const liteGraphInstanceURL = 'http://localhost:3000';\n```\n\n#### Start the production server (for using web ui locally):\n\n```bash\nnpm run build\n```\n\n```bash\nnpm run start\n```\n\nOR\n\n#### Start the development server (for development, can be used to test web ui locally as well):\n\n```bash\nnpm run dev\n```\n\nThe application will be available at `http://localhost:3000`.\n\n### Testing\n\nRun the test suite:\n\n```bash\n# Run all tests\nnpm test\n\n# Run tests with coverage\nnpm run test:coverage\n\n# Watch mode for development\nnpm run test:watch\n```\n\n## Deployment Process\n\n#### Build the Application\n\nPrepare the app for production:\n\n```bash\nnpm run build\n```\n\n#### Start the Production Server\n\nStart the built application:\n\n```bash\nnpm run start\n```\n\nThe app will be available at http://localhost:3000.\n\n### Code Quality\n\nThe project uses several tools to maintain code quality:\n\n- ESLint for code linting\n- Prettier for code formatting\n- Jest for testing\n- Husky for pre-commit hooks\n\n## Development Guidelines\n\n1. **Code Style**\n\n   - Follow the Prettier configuration\n   - Use TypeScript for type safety\n   - Follow component-based architecture\n\n2. **Testing**\n   - Write unit tests for components\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitegraphdb%2Fui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flitegraphdb%2Fui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitegraphdb%2Fui/lists"}