{"id":38113023,"url":"https://github.com/tinymultiverse/jupyterlab-tinyapp","last_synced_at":"2026-01-16T22:04:13.780Z","repository":{"id":255501362,"uuid":"852289469","full_name":"tinymultiverse/jupyterlab-tinyapp","owner":"tinymultiverse","description":"AI-native JupyterLab extension for deploying web apps to Kubernetes.","archived":false,"fork":false,"pushed_at":"2025-10-27T00:17:30.000Z","size":9247,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-27T02:28:16.668Z","etag":null,"topics":["ai","codegen","dash-plotly","gradio","jupyterlab","kubernetes","streamlit","webapp"],"latest_commit_sha":null,"homepage":"","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/tinymultiverse.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-09-04T14:55:49.000Z","updated_at":"2025-10-27T00:17:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"15f99db5-9c4e-4ffd-a1de-45b804c4925b","html_url":"https://github.com/tinymultiverse/jupyterlab-tinyapp","commit_stats":null,"previous_names":["tinymultiverse/jupyterlab-tinyapp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tinymultiverse/jupyterlab-tinyapp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinymultiverse%2Fjupyterlab-tinyapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinymultiverse%2Fjupyterlab-tinyapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinymultiverse%2Fjupyterlab-tinyapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinymultiverse%2Fjupyterlab-tinyapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinymultiverse","download_url":"https://codeload.github.com/tinymultiverse/jupyterlab-tinyapp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinymultiverse%2Fjupyterlab-tinyapp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28484673,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: 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","codegen","dash-plotly","gradio","jupyterlab","kubernetes","streamlit","webapp"],"created_at":"2026-01-16T22:04:12.957Z","updated_at":"2026-01-16T22:04:13.765Z","avatar_url":"https://github.com/tinymultiverse.png","language":"TypeScript","readme":"# jupyterlab-tinyapp\n\nThis extension allows you to develop, preview, and deploy TinyApp from JupyterLab.\n\nDescribe your app in natural language to let LLM model generate code and requirements.txt:\n\n![app preview](./docs/assets/generate-app.gif)\n\n## Install\n\nTo install the extension, execute:\n\n```bash\npip install jupyterlab_tinyapp\n```\n\n## Uninstall\n\nTo remove the extension, execute:\n\n```bash\npip uninstall jupyterlab_tinyapp\n```\n\n## Build Wheel\n\nTo build wheel file in 'dist' folder:\n\n```bash\npip install build\npython -m build -w\n```\n\n#### Environment variables\n\n| Environment Variable            | Default                       | Description |\n|---------------------------------|-------------------------------|-------------|\n| APP_PREVIEW_PORT                | 8002                          | app preview port. Ignored if APP_PREVIEW_URL is set |\n| APP_PREVIEW_URL                 | http://127.0.0.1:8005         | url for app preview |\n| APP_PREVIEW_BASE_URL            | /tinyapp/app-preview          | base url for app preview |\n| TINY_APP_SERVER_URL             | (REQUIRED)                    | url for tinyapp server |\n| CONDA_ENV_DIR                   | /opt/conda                    | path to conda env under which app preview process is run |\n| VALIDATE_SSL                    | true                          | validate ssl if set to true |\n| TINY_APP_IMAGE                  |                               | image for app publish |\n| VOLUME_CLAIM_NAME               | (REQUIRED)                    | k8s volume claim containing main file for app publish |\n| VOLUME_CLAIM_SUB_PATH           |                               | subpath within volume claim |\n| VOLUME_CLAIM_MOUNT_PATH         | (REQUIRED)                    | mount path of volume claim to app container |\n| AI_ENABLED                      | true                          | enable app code generation using LLM |\n| OPENAI_API_KEY                  | (REQUIRED if AI_ENABLED set)  | api key to connect to openai LLM model |\n| OPENAI_TEXT_MODEL               | (REQUIRED if AI_ENABLED set)  | OpenAI model to use for text-based generation (e.g., gpt-5, gpt-5-mini) |\n| OPENAI_IMAGE_MODEL              | (REQUIRED if AI_ENABLED set)  | OpenAI model to use for image-based generation (e.g., gpt-5) |\n| MOCK_AI_STREAM                  | false                         | mock ai response |\n\n## Backend\n\nTo be able to deploy an app, you need to install the TinyApp backend. Follow instructions [here](https://github.com/tinymultiverse/tinyapp/blob/main/docs/getting_started.md).\n\n## User guide\n\nSee [User Guide](./docs/USER_GUIDE.md)\n\n## Contributing\n\n#### Development install\n\nTo develop the extension locally:\n\n```bash\n# Set necessary environment variables\nsource envs.sh\n\n# Activate your conda env (you can follow this tutorial: https://jupyterlab.readthedocs.io/en/stable/extension/extension_tutorial.html)\nconda activate jupyterlab-ext\n\n# Install package in development mode\npip install -e \".\"\n# Link your development version of the extension with JupyterLab\njupyter labextension develop . --overwrite\n# Server extension must be manually installed in develop mode\njupyter server extension enable jupyterlab_tinyapp\n# Rebuild extension Typescript source after making changes\njlpm build\n```\n\nYou can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.\n\n```bash\n# Watch the source directory in one terminal, automatically rebuilding when needed\njlpm watch\n# Run JupyterLab in another terminal\njupyter lab\n```\n\nWith the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).\n\nBy default, the `jlpm build` command generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:\n\n```bash\njupyter lab build --minimize=False\n```\n\n#### Development uninstall\n\n```bash\n# Server extension must be manually disabled in develop mode\njupyter server extension disable jupyterlab_tinyapp\npip uninstall jupyterlab_tinyapp\n```\n\nIn development mode, you will also need to remove the symlink created by `jupyter labextension develop`\ncommand. To find its location, you can run `jupyter labextension list` to figure out where the `labextensions`\nfolder is located. Then you can remove the symlink named `jupyterlab_tinyapp` within that folder.\n\n#### Releasing the extension\n\nOnce a new release is created in GitHub, GitHub Action will be triggered that automatically packages and push the new version to PyPi.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinymultiverse%2Fjupyterlab-tinyapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinymultiverse%2Fjupyterlab-tinyapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinymultiverse%2Fjupyterlab-tinyapp/lists"}