{"id":17671517,"url":"https://github.com/giswqs/streamlit-timeline-demo","last_synced_at":"2025-04-15T18:57:13.463Z","repository":{"id":96385821,"uuid":"549357370","full_name":"giswqs/streamlit-timeline-demo","owner":"giswqs","description":"Streamlit component for rendering vis.js timeline","archived":false,"fork":false,"pushed_at":"2023-02-14T13:48:48.000Z","size":6,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T23:51:14.541Z","etag":null,"topics":["streamlit","streamlit-component","streamlit-webapp","timeline","timeline-component"],"latest_commit_sha":null,"homepage":"https://timeline.streamlit.app","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/giswqs.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":"2022-10-11T04:07:16.000Z","updated_at":"2025-02-06T03:50:01.000Z","dependencies_parsed_at":"2023-07-11T15:15:30.629Z","dependency_job_id":null,"html_url":"https://github.com/giswqs/streamlit-timeline-demo","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/giswqs%2Fstreamlit-timeline-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giswqs%2Fstreamlit-timeline-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giswqs%2Fstreamlit-timeline-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giswqs%2Fstreamlit-timeline-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/giswqs","download_url":"https://codeload.github.com/giswqs/streamlit-timeline-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249135789,"owners_count":21218365,"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":["streamlit","streamlit-component","streamlit-webapp","timeline","timeline-component"],"created_at":"2024-10-24T03:42:45.043Z","updated_at":"2025-04-15T18:57:13.443Z","avatar_url":"https://github.com/giswqs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# streamlit-timeline-demo\n\n[![image](https://img.shields.io/pypi/v/streamlit-vis-timeline.svg)](https://pypi.python.org/pypi/streamlit-vis-timeline)\n[![Open in Streamlit](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://timeline.streamlitapp.com/)\n\nStreamlit component for rendering [vis.js timeline](https://github.com/visjs/vis-timeline).\n\nCheck out the GitHub repositories [streamlit-timeline](https://github.com/giswqs/streamlit-timeline) and\n[streamlit-timeline-demo](https://github.com/giswqs/streamlit-timeline-demo). For JavaScript examples,\ncheck out the vis.js timeline [examples](https://visjs.github.io/vis-timeline/examples/timeline/) and\n[documentation](https://visjs.github.io/vis-timeline/docs/timeline/).\n\n## Installation\n\n```bash\npip install streamlit-vis-timeline\n```\n\n## Usage\n\n```python\nimport streamlit as st\nfrom streamlit_timeline import st_timeline\n\nst.set_page_config(layout=\"wide\")\n\nitems = [\n    {\"id\": 1, \"content\": \"2022-10-20\", \"start\": \"2022-10-20\"},\n    {\"id\": 2, \"content\": \"2022-10-09\", \"start\": \"2022-10-09\"},\n    {\"id\": 3, \"content\": \"2022-10-18\", \"start\": \"2022-10-18\"},\n    {\"id\": 4, \"content\": \"2022-10-16\", \"start\": \"2022-10-16\"},\n    {\"id\": 5, \"content\": \"2022-10-25\", \"start\": \"2022-10-25\"},\n    {\"id\": 6, \"content\": \"2022-10-27\", \"start\": \"2022-10-27\"},\n]\n\ntimeline = st_timeline(items, groups=[], options={}, height=\"300px\")\nst.subheader(\"Selected item\")\nst.write(timeline)\n```\n\n## Demo\n\n![](https://i.imgur.com/i6N7aj4.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiswqs%2Fstreamlit-timeline-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiswqs%2Fstreamlit-timeline-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiswqs%2Fstreamlit-timeline-demo/lists"}