{"id":20740651,"url":"https://github.com/tern-tools/tern-web-api","last_synced_at":"2025-04-24T02:26:03.250Z","repository":{"id":54215079,"uuid":"342016386","full_name":"tern-tools/tern-web-api","owner":"tern-tools","description":"Code for Tern APIs","archived":false,"fork":false,"pushed_at":"2021-03-03T03:37:51.000Z","size":5,"stargazers_count":3,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T06:05:01.758Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tern-tools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-24T19:46:20.000Z","updated_at":"2022-02-16T19:06:03.000Z","dependencies_parsed_at":"2022-08-13T09:20:47.080Z","dependency_job_id":null,"html_url":"https://github.com/tern-tools/tern-web-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tern-tools%2Ftern-web-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tern-tools%2Ftern-web-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tern-tools%2Ftern-web-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tern-tools%2Ftern-web-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tern-tools","download_url":"https://codeload.github.com/tern-tools/tern-web-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250547054,"owners_count":21448433,"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-17T06:29:30.194Z","updated_at":"2025-04-24T02:26:03.236Z","avatar_url":"https://github.com/tern-tools.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tern API\n\nTern api is Web API for [Tern](https://github.com/tern-tools/tern). \nThis project is still a PoC phase, so it may have bugs and apis are subject to change.\n\n# Getting Started\n\n## Getting Started with Docker\nIf you already have Docker installed, you can run Tern API by building a container with the Dockerfile provided and the `docker_run.sh` script:\n\nClone this repository:\n```\n$ git clone https://github.com/tern-tools/tern-api.git\n```\n\nBuild the Docker image (called `tern-api` here). You may need to use sudo:\n```\n$ docker build -f docker/Dockerfile -t tern-api .\n```\n\nRun the script `docker_run.sh`. You may need to use sudo.\n\n```\n$ ./docker_run.sh tern-api\n```\n\nTo try producing a report via a sample Web UI, access to 127.0.0.1:5000/webui from browser.\nSwagger UI is also available on 127.0.0.1:5000/.\n\nWhat the `docker_run.sh` script does is run the built container as privileged.\n\n*WARNING:* privileged Docker containers are not secure. DO NOT run this container in production unless you have secured the node (VM or bare metal machine) that the docker daemon is running on.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftern-tools%2Ftern-web-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftern-tools%2Ftern-web-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftern-tools%2Ftern-web-api/lists"}