{"id":19626707,"url":"https://github.com/linggarm/text-modification-for-notion","last_synced_at":"2026-05-10T05:04:17.042Z","repository":{"id":145514394,"uuid":"616061643","full_name":"LinggarM/text-modification-for-notion","owner":"LinggarM","description":"This repository contain some module \u0026 functions that can be useful to automate process on editing text that will be pasted on Notion (a productivity app)","archived":false,"fork":false,"pushed_at":"2023-03-22T13:34:05.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T20:13:49.946Z","etag":null,"topics":["notion","productivity","python","python-scripting","scripting"],"latest_commit_sha":null,"homepage":"","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/LinggarM.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":"2023-03-19T14:02:31.000Z","updated_at":"2023-10-16T19:34:36.000Z","dependencies_parsed_at":"2023-03-27T13:45:43.112Z","dependency_job_id":null,"html_url":"https://github.com/LinggarM/text-modification-for-notion","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LinggarM/text-modification-for-notion","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinggarM%2Ftext-modification-for-notion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinggarM%2Ftext-modification-for-notion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinggarM%2Ftext-modification-for-notion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinggarM%2Ftext-modification-for-notion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LinggarM","download_url":"https://codeload.github.com/LinggarM/text-modification-for-notion/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinggarM%2Ftext-modification-for-notion/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266253787,"owners_count":23900056,"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":["notion","productivity","python","python-scripting","scripting"],"created_at":"2024-11-11T11:47:24.396Z","updated_at":"2026-05-10T05:04:12.015Z","avatar_url":"https://github.com/LinggarM.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Text Modification For Notion\nThis repository contain some module \u0026amp; functions that can be useful to automate process on editing text that will be pasted on [`Notion`](notion.so) (a productivity app).\n\n## Description\n[`Notion`](notion.so) is a freemium productivity and note-taking web application developed by Notion Labs Inc. It offers organizational tools including task management, project tracking, to-do lists, bookmarking, and more.\n\nBut there is a problem with Notioin. Often we want to paste text from a text editor into the Notion app but we get bad formatting when the text is pasted. For example when we want to paste a list that we separate each item with a new line like this:\n\n  ```sh\nlist_item1\nlist_item2\nlist_item3\n  ```\n\nWhen we paste it directly into the notion, the list will gather into a block of text, like this:\n\n![1](images/1.PNG)\n\nThis is an unwanted condition for us. So the solution to this problem is to add several characters, for example by adding a bullet at the beginning of each item, like following:\n\n  ```sh\n- list_item1\n- list_item2\n- list_item3\n  ```\nThe result on notion will be like this:\n\n![2](images/2.PNG)\n\nBut it would be very **tiring** if we add bullets one by one for each item manually. Therefore it is necessary to do **automation**.\n\n## Prerequisites\n\nThis repository only have 1 dependencies, which is `pytube`, so you can install it by regular pip command :\n```\npip install pytube\n```\nor by installing requirements.txt\n```\npip install -r requirements.txt\n```\n\n## Getting Started\n\n1. Open and modify the text in `files/input.txt` with the text you want to modify.\n2. Open `main.py` and modify the code. For example i want to add bullet for each item, then i will add this code:\n  ```\n  notion_modifier(input_filename, output_filename, 'add_bullet')\n  ```\n3. Run `main.py`. If it's successful, the result will be in `files/output.txt`\n\n## Features\n* **Add New Line**\n\n  Double the new line\n\n  ```\n  notion_modifier(input_filename, output_filename, 'add_newline')\n  ```\n* **Add Bullet**\n\n  Add bullet at the start of each line\n  \n  ```\n  notion_modifier(input_filename, output_filename, 'add_bullet')\n  ```\n* **Add Number**\n\n  Add number at the start of each line\n\n  ```\n  notion_modifier(input_filename, output_filename, 'add_number')\n  ```\n* **Normalize Notion Link**\n  \n  To give more information about a youtube link, by adding the title and the channel name \n  \n  ```\n  notion_modifier(input_filename, output_filename, 'normalize_notion_link')\n  ```\n  \n  * Input:\n  \n  ```\n  - https://www.youtube.com/watch?v=gGGPTskb7c8\n  - https://www.youtube.com/watch?v=lKr3wa24NFg\n  ```\n  \n  * Output:\n  \n  ```\n  - https://www.youtube.com/watch?v=gGGPTskb7c8 Starting A Serious Web Development Project - Traversy Media\n  - https://www.youtube.com/watch?v=lKr3wa24NFg What is a deep learning architect and the interview process. With Adam Grzywaczewski (NVIDIA) - What's AI by Louis Bouchard\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinggarm%2Ftext-modification-for-notion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinggarm%2Ftext-modification-for-notion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinggarm%2Ftext-modification-for-notion/lists"}