{"id":18551370,"url":"https://github.com/morvanzhou/rethink","last_synced_at":"2026-03-14T22:34:17.271Z","repository":{"id":199009832,"uuid":"702003633","full_name":"MorvanZhou/rethink","owner":"MorvanZhou","description":"Beyond notes, record and expand your thoughts, assisting you in efficient growth.","archived":false,"fork":false,"pushed_at":"2024-12-25T09:05:13.000Z","size":35882,"stargazers_count":82,"open_issues_count":0,"forks_count":11,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-09-25T14:38:42.822Z","etag":null,"topics":["knowledge-management","note","pkm","rethink","thoughts"],"latest_commit_sha":null,"homepage":"https://rethink.run","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MorvanZhou.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-10-08T08:01:07.000Z","updated_at":"2025-09-19T12:42:22.000Z","dependencies_parsed_at":"2024-03-07T18:30:49.808Z","dependency_job_id":"221df148-68c6-4072-953b-35674972b6eb","html_url":"https://github.com/MorvanZhou/rethink","commit_stats":null,"previous_names":["morvanzhou/rethink"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/MorvanZhou/rethink","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorvanZhou%2Frethink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorvanZhou%2Frethink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorvanZhou%2Frethink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorvanZhou%2Frethink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MorvanZhou","download_url":"https://codeload.github.com/MorvanZhou/rethink/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorvanZhou%2Frethink/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30520476,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-14T19:51:21.629Z","status":"ssl_error","status_checked_at":"2026-03-14T19:51:12.959Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["knowledge-management","note","pkm","rethink","thoughts"],"created_at":"2024-11-06T21:08:51.082Z","updated_at":"2026-03-14T22:34:17.226Z","avatar_url":"https://github.com/MorvanZhou.png","language":"Python","readme":"# Rethink\n\n[![Unittest](https://github.com/MorvanZhou/rethink/actions/workflows/python-tests.yml/badge.svg)](https://github.com/MorvanZhou/rethink/actions/workflows/python-tests.yml)\n[![License](https://img.shields.io/github/license/MorvanZhou/rethink)](https://github.com/MorvanZhou/rethink/blob/master/LICENSE)\n\u003ca href=\"https://pypi.org/project/retk\" target=\"_blank\"\u003e\n\u003cimg src=\"https://img.shields.io/pypi/v/retk?color=%2334D058\u0026label=pypi%20package\" alt=\"Package version\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://pypi.org/project/retk\" target=\"_blank\"\u003e\n\u003cimg src=\"https://img.shields.io/pypi/pyversions/retk.svg?color=%2334D058\" alt=\"Supported Python versions\"\u003e\n\u003c/a\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eEnglish\u003c/strong\u003e | \u003ca href=\"README_ZH.md\" target=\"_blank\"\u003e简体中文\u003c/a\u003e\n\u003c/p\u003e\n\n\n[Rethink](https://rethink.run) represents rethinking and is an AI (Large Language Model, LLM)\nbased personal knowledge and cognitive growth assistant tool.\n[Rethink](https://rethink.run) will assist your knowledge and cognitive growth in the following two aspects:\n\n1. Going beyond note-taking software,\n   it automatically recommends and links existing knowledge and cognition when recording,\n   building a more solid knowledge network;\n\n![internal link](https://github.com/MorvanZhou/rethink/raw/main/img/linking.gif)\n\n2. AI knowledge expansion based on the LLM, allowing your cognition to continuously iterate and extend.\n\n![AI recommend](https://github.com/MorvanZhou/rethink/raw/main/img/ai-recommend.gif)\n\n## Main Features of Rethink\n\n1. **[Personal Cognitive Growth Tool](https://rethink.run/start/#personal-cognitive-growth-tool)**:\n   Record and extend your thinking, assisting you in efficient growth;\n2. **[AI Recommendation](https://rethink.run/guide/use/ai-extend.html)**:\n   AI knowledge expansion based on the large language model LLM, allowing your cognition to continuously iterate and\n   extend;\n3. **[Bidirectional Linking](https://rethink.run/guide/use/recommend.html)**:\n   Use @ linking or automatic recommendation to other notes;\n4. **[Markdown Syntax](https://rethink.run/guide/use/markdown.html)**: Seamless support for Markdown syntax;\n5. **[Local Storage](https://rethink.run/guide/self-hosted/install.html)**:\n   Rethink highly values data security and provides a local deployment solution.\n   In addition, there is an online version at [https://rethink.run/r/login](https://rethink.run/r/login) for\n   synchronization between multiple platforms;\n6. **[History Version Tracking](https://rethink.run/guide/use/history.html)**:\n   Supports history version tracking, making it easy to view and restore historical versions;\n\nInstallation and deployment methods:\n\n- [Deploy using Docker containerization](#deploy-using-docker-containerization)\n- [Deploy using Python](#deploy-using-python)\n\n## Deploy using Docker containerization\n\n### Pull the image:\n\n```shell\ndocker pull morvanzhou/rethink\n```\n\n### Run the container:\n\nTo ensure data security, you should mount the local path to the container.\n\n```shell\ndocker run \\\n -p 8080:8080 \\\n -v /your/data/path:/.data \\\n morvanzhou/rethink\n```\n\nNow you can access `http://127.0.0.1:8080` in your browser to use the service.\n\nIf you want to customize other ports, in addition to modifying the first half of the `-p` parameter, you also need to\nadd an environment variable `API_URL` to redirect the API address in the frontend service:\nMake sure the port number in `API_URL` is consistent with the first half of the `-p` parameter (port `8001` in the\nfollowing example).\n\n```shell \ndocker run \\\n -e API_URL=http://127.0.0.1:8081 \\\n -p 8081:8080 \\\n -v /your/data/path:/.data \\\n morvanzhou/rethink\n```\n\nIf you want to use Rethink authentication, you can add the environment variable `APP_PASSWORD`:\n\n```shell\ndocker run \\\n -e APP_PASSWORD=12345678 \\\n -p 8080:8080 \\\n -v /your/data/path:/.data \\\n morvanzhou/rethink\n```\n\n### All configurable environment variables:\n\n- `API_URL`: API address in the frontend service, default is `http://127.0.0.1:8080`\n- `APP_PASSWORD`: Authentication password, default is None\n- `APP_LANGUAGE`: Language, default is English, optional values: zh, en\n\n## Deploy using Python\n\n### Install via pip\n\nThe second way to install and use Rethink is through pip installation. Then start the service directly with Python.\n\nInitial installation:\n\n```shell\npip install retk\n```\n\nUpdate:\n\n```shell\npip install -U retk\n```\n\n### Configure with Python\n\nUse the `retk.run()` method to quickly start\n\n## Star History\n\n\u003ca href=\"https://star-history.com/?utm_source=bestxtools.com#MorvanZhou/rethink\u0026Date\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://api.star-history.com/svg?repos=MorvanZhou/rethink\u0026type=Date\u0026theme=dark\" /\u003e\n    \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://api.star-history.com/svg?repos=MorvanZhou/rethink\u0026type=Date\" /\u003e\n    \u003cimg alt=\"Star History Chart\" src=\"https://api.star-history.com/svg?repos=MorvanZhou/rethink\u0026type=Date\" /\u003e\n  \u003c/picture\u003e\n\u003c/a\u003e\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorvanzhou%2Frethink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorvanzhou%2Frethink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorvanzhou%2Frethink/lists"}