{"id":20163632,"url":"https://github.com/mortafix/teleport","last_synced_at":"2026-06-08T11:02:59.171Z","repository":{"id":252221000,"uuid":"839779889","full_name":"Mortafix/TelePort","owner":"Mortafix","description":"TelePort (TELEgram rePORT) is an interactive tool for analyzing and visualizing Telegram chat histories with sentiment analysis and customizable data visualizations.","archived":false,"fork":false,"pushed_at":"2025-09-02T10:04:40.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-30T20:32:43.146Z","etag":null,"topics":["python","report","telegram"],"latest_commit_sha":null,"homepage":"https://teleport.moris.dev","language":"Python","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/Mortafix.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":"2024-08-08T10:02:09.000Z","updated_at":"2025-09-02T10:04:43.000Z","dependencies_parsed_at":"2024-08-27T08:40:45.875Z","dependency_job_id":null,"html_url":"https://github.com/Mortafix/TelePort","commit_stats":null,"previous_names":["mortafix/teleport"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Mortafix/TelePort","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mortafix%2FTelePort","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mortafix%2FTelePort/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mortafix%2FTelePort/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mortafix%2FTelePort/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mortafix","download_url":"https://codeload.github.com/Mortafix/TelePort/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mortafix%2FTelePort/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34059157,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["python","report","telegram"],"created_at":"2024-11-14T00:30:48.008Z","updated_at":"2026-06-08T11:02:59.155Z","avatar_url":"https://github.com/Mortafix.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TelePort: Interactive Telegram Conversation Report\n\nTelePort (TELEgram rePORT) is an interactive tool for analyzing and visualizing Telegram chat histories using sentiment analysis and customizable data visualizations.\n\n## Installation \u0026 Setup\n\nTo install the project requirements, run the following command in a virtual environment:\n\n```bash\npython3 -m venv venv\nsource venv/bin/activate\npip install -r requirements.txt\n```\n\nIn order to use the **dumper functionality** you need to set up a `.env` file:\n\n```env\n## example of '.env' file\nSCRIPT_FOLDER = \".\"\nDEVICE_ML = \"cpu\"\n\nAPI_ID = \"TELEGRAM-APP-ID\"\nAPI_HASH = \"TELEGRAM-APP-HASH\"\nPHONE_NUMBER = \"+39 XXXXXXXXXX\"\nUSERNAME = \"Mortafix\"\n```\nTo dump a Telegram conversation you need to create a Telegram app with your account at [this link](https://my.telegram.org/).  \nAfter creating it, enter the `app ID` and `hash`, as well as the phone number and username.\n\nThe device specification is required for the model used for sentiment analysis\n| Device | Specification |\n| ------------- | ------------- |\n| Processor | cpu |\n| Graphic card | gpu |\n| Nvidia graphic card | cuda |\n| Mac M series | mps |\n\n### Setup a password for a conversation\n\nYou can set a password to lock a conversation with a **password** by writing it in the `.env` file\n```env\nPASSWORD_USERNAME = \"password\"\n\n# example with 'mortafix' chat\nPASSWORD_MORTAFIX = \"opsie\"\n```\n\n## Dumping Conversations\n\nTo export Telegram conversations, run the following command, replacing `chat-name` with the name of the chat:\n\n```bash\npython3 utils/dumper.py \u003cchat-name\u003e\n```\n\n* You can also dump group chats with the `-g` parameter:\n```bash\npython3 utils/dumper.py -g \u003cgroup-chat-id\u003e\n```\n* You can rename a chat with `-n` parameter:\n```bash\npython3 utils/dumper.py \u003cchat-name\u003e -n \"WowChat\"\n```\n* You can update every dumped conversations with `-all` parameter:\n```bash\npython3 utils/dumper.py -all\n```\n* You can list last N conversations with `-l N` parameter:\n```bash\npython3 utils/dumper.py -l 10\n```\n\u003e For all the other parameters use `-h`\n\n### Sentiment Model\n\nThe model used for emotion and sentiment analysis is [Feel-IT](https://huggingface.co/MilaNLProc/feel-it-italian-emotion).\n\n## Viewing the report\n\nTo start the application and view the interactive report, run the following command:\n\n```bash\nstreamlit run app.py\n```\nView **an example** at [teleport.moris.dev](https://teleport.moris.dev).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmortafix%2Fteleport","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmortafix%2Fteleport","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmortafix%2Fteleport/lists"}