{"id":14970849,"url":"https://github.com/innerdoc/streamlit-timeline","last_synced_at":"2025-10-09T15:26:16.854Z","repository":{"id":45169352,"uuid":"337656313","full_name":"innerdoc/streamlit-timeline","owner":"innerdoc","description":"A simple Streamlit Component to display a Timeline in Streamlit apps. It integrates Knightlab's TimelineJS.","archived":false,"fork":false,"pushed_at":"2021-02-10T09:52:31.000Z","size":272,"stargazers_count":147,"open_issues_count":5,"forks_count":17,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T16:07:37.424Z","etag":null,"topics":["streamlit","streamlit-component","timeline","timeline-analysis"],"latest_commit_sha":null,"homepage":"https://www.innerdoc.com","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/innerdoc.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}},"created_at":"2021-02-10T08:06:30.000Z","updated_at":"2025-03-22T14:28:00.000Z","dependencies_parsed_at":"2022-07-13T16:50:35.218Z","dependency_job_id":null,"html_url":"https://github.com/innerdoc/streamlit-timeline","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/innerdoc%2Fstreamlit-timeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/innerdoc%2Fstreamlit-timeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/innerdoc%2Fstreamlit-timeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/innerdoc%2Fstreamlit-timeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/innerdoc","download_url":"https://codeload.github.com/innerdoc/streamlit-timeline/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248065287,"owners_count":21041871,"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","timeline","timeline-analysis"],"created_at":"2024-09-24T13:44:14.299Z","updated_at":"2025-10-09T15:26:11.833Z","avatar_url":"https://github.com/innerdoc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![repo logo](https://github.com/innerdoc/streamlit-timeline/raw/main/component-logo.png)\n\n# Timeline Component for Streamlit\n\nA simple component to display a timeline in Streamlit apps. It integrates [Knightlab's TimelineJS](https://timeline.knightlab.com).\n\n\n## Installation\n\nFirst install Streamlit (of course!) then pip-install this library:\n\n```bash\npip install streamlit\npip install streamlit-timeline\n```\n\n\n## Example\n\n```python\n# Streamlit Timeline Component Example\n\nimport streamlit as st\nfrom streamlit_timeline import timeline\n\n\n# use full page width\nst.set_page_config(page_title=\"Timeline Example\", layout=\"wide\")\n\n# load data\nwith open('example.json', \"r\") as f:\n    data = f.read()\n\n# render timeline\ntimeline(data, height=800)\n```\n\n\n## Parameters\n\nThe `timeline()` function accepts a string or a dict, as long as it's in the [TimelineJS json format](https://timeline.knightlab.com/docs/json-format.html). The optional heigth of the visualization is in px.\n\n\n## Preview\nYou can also check the [preview video](https://www.youtube.com/embed/N61ed-XvPR4) or go to the demo [A History of Natural Language Processing](https://github.com/innerdoc/nlp-history-timeline).\n\n[![timeline example](https://github.com/innerdoc/streamlit-timeline/raw/main/example.png)](https://www.youtube.com/embed/N61ed-XvPR4)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finnerdoc%2Fstreamlit-timeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finnerdoc%2Fstreamlit-timeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finnerdoc%2Fstreamlit-timeline/lists"}