{ "info": { "author": "Don Kim", "author_email": "dgkimdev@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# Tistory-CLI\n\nA command line tool for Tistory, the Korean blogging platform. It conveys Markdown files to your Tistory blog.\n\nThis project is currently in alpha stage and supports the minimal features: To post an article. It supports Linux only.\n\n\ud55c\uad6d Tistory \uc0ac\uc6a9\uc790\ub97c \uc704\ud55c \ub3c4\uad6c\uc774\ubbc0\ub85c \uc55e\uc73c\ub85c \ud55c\uae00\ub85c \uc124\uba85\ud569\ub2c8\ub2e4.\n\n## Dependencies\n\nLinux SecretStorage \uae30\ub2a5\uc744 \uc704\ud574 \ub2e4\uc74c\uacfc \uac19\uc740 \ud328\ud0a4\uc9c0\uac00 \ud544\uc694\ud569\ub2c8\ub2e4.\n* libsecret\n* gnome-keyring\n\n\ub300\ubd80\ubd84\uc758 Linux \ubc30\ud3ec\ud310\uc5d0\uc11c \uae30\ubcf8\uc801\uc73c\ub85c \uc124\uce58\uac00 \ub418\uc5b4\uc788\uc744 \uac83\uc785\ub2c8\ub2e4. Arch Linux\uc758 \uacbd\uc6b0\uc5d0\ub294 gnome-keyring\uc774 \uae30\ubcf8\uc73c\ub85c \uc124\uce58\ub418\uc9c0 \uc54a\uc73c\ubbc0\ub85c \ub530\ub85c \uc124\uce58\ud574\uc57c \ud569\ub2c8\ub2e4.\n\n## Installation\n\n`pip`\ub97c \ud1b5\ud574\uc11c \uc27d\uac8c \uc124\uce58 \uac00\ub2a5\ud569\ub2c8\ub2e4. \uc2dc\uc2a4\ud15c \ud658\uacbd \ub610\ub294 \uc6d0\ud558\ub294 \uac00\uc0c1 \ud658\uacbd\uc5d0\uc11c\n```sh\n$ pip install tistory-cli\n```\n\n\ub610\ub294 \uc18c\uc2a4\uc5d0\uc11c \uc9c1\uc811 \uc124\uce58\ud558\ub824\uba74 (\uc5ed\uc2dc\ub098 \uc6d0\ud558\ub294 \ud658\uacbd\uc5d0\uc11c)\n```sh\n$ git clone https://github.com/dgkim5360/tistory-cli-python.git\n$ cd tistory-cli-python\n$ python setup.py install\n```\n\n## Features and Non-features\n\n* \ubcf8\uc778\uc758 client/secret key\ub97c \uc0ac\uc6a9\ud574\uc11c \uc9c1\uc811 \ub85c\uadf8\uc778\ud558\ubbc0\ub85c, \uc678\ubd80 \uc11c\ube44\uc2a4\uc5d0 \ube44\ubc00 \uc815\ubcf4\ub97c \ub0a8\uae30\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.\n* \uc18c\uc2a4\ucf54\ub4dc, \ud658\uacbd\ubcc0\uc218 \ub4f1\uc5d0 credential\ub97c \uc800\uc7a5\ud558\uc9c0 \uc54a\uace0, [\uc6b4\uc601 \uccb4\uc81c \ub808\ubca8\uc758 \ube44\ubc00 \uc800\uc7a5\uc18c](https://specifications.freedesktop.org/secret-service)\uc5d0 \uc800\uc7a5\ud569\ub2c8\ub2e4.\n* Git commit message \uc2a4\ud0c0\uc77c\ub85c \uc81c\ubaa9/\ub0b4\uc6a9 \uad6c\ubd84\ud574\uc11c Markdown \ud30c\uc77c\uc744 \uc791\uc131\ud574\uc11c Tistory\uc5d0 \ube44\uacf5\uac1c\uae00\ub85c \uc5c5\ub85c\ub4dc\ud569\ub2c8\ub2e4.\n* \uce74\ud14c\uace0\ub9ac\uc640 slug\ub294 \uc124\uc815 \uac00\ub2a5\ud569\ub2c8\ub2e4.\n* \uacf5\uac1c\uae00\ub85c \uc5c5\ub85c\ub4dc __\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4__.\n* \uc774\ubbf8\uc9c0 \uc5c5\ub85c\ub4dc __\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4__.\n* \ud0dc\uadf8 \ucd94\uac00 __\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4__.\n\n## Oauth Setting\n\n1. Tistory --> \uac00\uc774\ub4dc --> \uc624\ud508API \uac00\uc774\ub4dc --> \ud074\ub77c\uc774\uc5b8\ud2b8 \ub4f1\ub85d\n2. Callback \uacbd\ub85c\ub97c `http://localhost:8888`(\uae30\ubcf8\uac12, \ub2e4\ub978 \ud3ec\ud2b8\ub97c \uc6d0\ud560 \uc2dc `.redirect-uri` \ud30c\uc77c\uc5d0 \ud574\ub2f9 \uc8fc\uc18c\ub97c \uc77c\uce58\ud558\uac8c \uc368 \ub193\uc73c\uba74 \ub428)\ub85c \uc124\uc815\ud574\uc11c \ud074\ub77c\uc774\uc5b8\ud2b8 \ub4f1\ub85d\uc744 \uc644\ub8cc\ud569\ub2c8\ub2e4.\n3. `tistory login` \uc2e4\ud589\ud558\uba74 (OS \uacc4\uc815 \ube44\ubc00\ubc88\ud638\ub97c \uc694\uad6c\ud560 \uc218\ub3c4 \uc788\uc2b5\ub2c8\ub2e4), \ub85c\uadf8\uc778\ud560 \ud398\uc774\uc9c0\ub97c \ucf58\uc194\uc5d0 \ub744\uc6cc\uc90d\ub2c8\ub2e4.\n4. \ube0c\ub77c\uc6b0\uc800\ub85c \ud574\ub2f9 \uc8fc\uc18c\ub85c \ub4e4\uc5b4\uac00\uc11c Tistory \ub85c\uadf8\uc778\uc744 \ud574\uc11c API \ud1a0\ud070\uc744 \ubc1b\uc544\uc635\ub2c8\ub2e4.\n5. \ucf58\uc194\uc5d0 \ub2e4\uc74c\uacfc \uac19\uc774 \ub098\uc624\uba74 \ub85c\uadf8\uc778\uc774 \ub05d\ub0a9\ub2c8\ub2e4.\n\n## Usage\n\n```sh\n$ tistory\nUSAGE:\n tistory login\n tistory logout\n tistory purge\n\n tistory category \n tistory post \n```\n\n* `tistory login`: \ubaa8\ub4e0 \ube44\ubc00 \uc815\ubcf4\uac00 \uc788\ub294 \uc9c0 \ud655\uc778\ud558\uace0 \uc5c6\uc73c\uba74 \ub85c\uadf8\uc778\uc744 \uc2dc\ud0b5\ub2c8\ub2e4.\n* `tistory logout`: Access token\ub9cc\uc744 \uc9c0\uc6c1\ub2c8\ub2e4.\n* `tistory purge`: \ubaa8\ub4e0 \ube44\ubc00 \uc815\ubcf4\ub97c \uc9c0\uc6c1\ub2c8\ub2e4.\n* `tistory category`: \ud574\ub2f9 \ube14\ub85c\uadf8\uc758 \uce74\ud14c\uace0\ub9ac \uc544\uc774\ub514 \uc815\ubcf4\ub97c \ubc1b\uc544\uc635\ub2c8\ub2e4.\n* `tistory post`: \ud30c\uc77c\uc744 \uc77d\uc5b4\uc11c \ud574\ub2f9 \ube14\ub85c\uadf8 \ubc0f \uce74\ud14c\uace0\ub9ac\uc5d0 \ube44\uacf5\uac1c \uae00\ub85c \uc5c5\ub85c\ub4dc\ud569\ub2c8\ub2e4.\n\n## Step-by-step Tutorial\n\n1. \ub85c\uadf8\uc778\uc744 \ud569\ub2c8\ub2e4 (Oauth Setting \ucc38\uc870).\n2. `tistory category `\uc744 \ud1b5\ud574 \ubcf8\uc778 \ube14\ub85c\uadf8\uc758 \uce74\ud14c\uace0\ub9ac \uc544\uc774\ub514\ub97c \ud655\uc778\ud569\ub2c8\ub2e4. \n ```bash\n $ tistory category dgkim5360\n ID Name\n -- ----\n 880607 HTML+CSS\n 880608 Django\n 886608 Bootstrap\n 892553 Python\n 892554 Javascript\n 894029 GNU-Linux\n 896354 \ubed8\uae00\n 897315 Cloud\n 907471 etc\n 908711 Front-end\n 912687 Machine Learning\n 931755 NBA\n 933686 Elastic\n 937655 Flask\n 951477 Javascript\n 959045 Travelogue\n 990157 Rust\n ```\n3. `.md` \ud30c\uc77c\uc744 Git commit message\ucc98\ub7fc \uc791\uc131\ud569\ub2c8\ub2e4 (\uccab \uc904 \uc81c\ubaa9, \ud55c \uc904 \ub744\uc6b0\uace0 \ub0b4\uc6a9 \uc2dc\uc791). \uae00 \ub0b4\uc6a9\uc740 Markdown \ud615\uc2dd\uc5d0 \ub9de\ucd94\uc5b4 \uc791\uc131\ud569\ub2c8\ub2e4. (\ud30c\uc77c\uba85: `tistory-cli-test.md`)\n ```markdown\n [\uc81c\ubaa9]Hello Tistory!\n\n # Tistory-cli \ud14c\uc2a4\ud2b8 \uc911\uc785\ub2c8\ub2e4.\n\n \uc544\ub798\ub294 list\n * hello\n * tistory\n * bye\n * tistory\n\n 1. hello\n 1. tistory\n 1. bye\n 1. tistory\n\n \uc774\uac83\uc740 [\ub9c1\ud06c](http://dgkim5360.tistory.com)\n\n Inline `code text`\ub3c4 \uc368\ubd05\ub2c8\ub2e4.\n ```\n4. `tistory post .md`\ub85c \ud3ec\uc2a4\ud305\uc744 \ud55c \ud6c4, Tistory\uc5d0\uc11c \ud655\uc778\ud569\ub2c8\ub2e4. \uc791\uc5c5\uc774 \uc644\ub8cc\ub418\uba74 \ud574\ub2f9 Markdown \ubb38\uc11c\uc758 \ud30c\uc77c \uc55e\uc5d0 Tistory \uc2dc\uc2a4\ud15c\uc758 ID\uac12\uc774 \ubd99\uc2b5\ub2c8\ub2e4 (\uc544\ub798 \uc608\uc81c\uc5d0\uc11c\ub294 191\uc774 \ubd99\uc5c8\uc2b5\ub2c8\ub2e4).\n ```bash\n $ tistory post dgkim5360 896354 path/to/tistory-cli-test.md\n\n $ ls path/to\n 191_tistory-cli-test.md\n ```\n5. \ucd94\uac00\uc801\uc73c\ub85c \ud544\uc694\ud55c \uc774\ubbf8\uc9c0 \uc5c5\ub85c\ub4dc, \ud0dc\uadf8 \ucd94\uac00, \uacf5\uac1c \uc124\uc815\uc740 Tistory\uc5d0\uc11c \ud574\uacb0\ud569\ub2c8\ub2e4.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dgkim5360/tistory-cli-python", "keywords": "Command Line Tool,Tistory,Markdown,blogging", "license": "", "maintainer": "", "maintainer_email": "", "name": "tistory-cli", "package_url": "https://pypi.org/project/tistory-cli/", "platform": "", "project_url": "https://pypi.org/project/tistory-cli/", "project_urls": { "Homepage": "https://github.com/dgkim5360/tistory-cli-python" }, "release_url": "https://pypi.org/project/tistory-cli/0.1.4/", "requires_dist": [ "secretstorage (>=3.0.0)", "mistune (>=0.8.3)" ], "requires_python": "", "summary": "The simplest command line tool for Tistory, the Korean blogging platform", "version": "0.1.4" }, "last_serial": 4184264, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "51102c40a165146668615c9ab66d6e8e", "sha256": "4856263798e28e03ab93c6c962f7614cd57ef7f38dfcbeed561bf8f4541d14d1" }, "downloads": -1, "filename": "tistory_cli-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "51102c40a165146668615c9ab66d6e8e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1407, "upload_time": "2018-08-11T06:23:23", "url": "https://files.pythonhosted.org/packages/f0/f7/3c4bfe123f82c54ef7da045484232ab91593e520400962ea2af69c196624/tistory_cli-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5825ab002cc34cc40d4f22168e8af822", "sha256": "da9f72d5fc6fb7a3b66273e13b0fb6bac69ec4afdb517f405d789c1215c2584c" }, "downloads": -1, "filename": "tistory-cli-0.1.0.tar.gz", "has_sig": false, "md5_digest": "5825ab002cc34cc40d4f22168e8af822", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2602, "upload_time": "2018-08-11T06:23:24", "url": "https://files.pythonhosted.org/packages/2f/88/b5c837deedf0ad61ec598e96a08061dc636b5ec0972ca5c5e04868d80495/tistory-cli-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "515144f05190dcdc4d329cdca04225ba", "sha256": "40ae0748ebc6a79bdc59760991d45690f31b493d2a607b41cf2860ca23478755" }, "downloads": -1, "filename": "tistory_cli-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "515144f05190dcdc4d329cdca04225ba", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5275, "upload_time": "2018-08-12T02:30:28", "url": "https://files.pythonhosted.org/packages/9c/59/7a2d55b7826cc2429b6b606b52ee783db7560baf48f7cb96a3f64f6cc2af/tistory_cli-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ba6424c780c2ea3a23ac346d60e95302", "sha256": "2b528de9852f96eb30b04eae1e34e51e35bad59df2646cc94ba7b7c6e2074295" }, "downloads": -1, "filename": "tistory-cli-0.1.1.tar.gz", "has_sig": false, "md5_digest": "ba6424c780c2ea3a23ac346d60e95302", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4177, "upload_time": "2018-08-12T02:30:31", "url": "https://files.pythonhosted.org/packages/89/ee/ceb79d8920f2410a32f08fc2ac005edf939a4c2ed5914bc4c0ea99688611/tistory-cli-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "c892289a2e043631b2bc844e5b147b41", "sha256": "b27af6ec45871678daf482a65439c3a9d1351c1ec2f7dbb834ddfc6260b607d4" }, "downloads": -1, "filename": "tistory_cli-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "c892289a2e043631b2bc844e5b147b41", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8343, "upload_time": "2018-08-12T02:41:22", "url": "https://files.pythonhosted.org/packages/62/b8/338d877d329156daf7f36f55edf89d362f45e738ab8e789811c79fbf4b53/tistory_cli-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "386888b090e766fca991fb5dc55ea915", "sha256": "b84c7faa5d457be193a764f1a17c1bdb4e35f85967b63fdbc931e6057140cdcd" }, "downloads": -1, "filename": "tistory-cli-0.1.2.tar.gz", "has_sig": false, "md5_digest": "386888b090e766fca991fb5dc55ea915", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5980, "upload_time": "2018-08-12T02:41:26", "url": "https://files.pythonhosted.org/packages/b0/96/701fb74bc26c5ff8637145c7bf48ab25a7842b9f5f9b1a141663f7edd2f5/tistory-cli-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "dc0c27bfd6c374c0fb9ee1156fa834a7", "sha256": "a3295b1772e40a477881168761a5bea8d84c8846ddd9bb3897ce47b5b95da831" }, "downloads": -1, "filename": "tistory_cli-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "dc0c27bfd6c374c0fb9ee1156fa834a7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8269, "upload_time": "2018-08-12T03:04:48", "url": "https://files.pythonhosted.org/packages/6d/53/19394ebac74c6a7432f87a3593cc792dc1974e0d389cc89ec3c08ff4b2ca/tistory_cli-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d29ad2156d2a9ccde9fa743f0a83f1b2", "sha256": "39fad67944f05d14c7d09d56ac5288770c253a6d877a82ca603e592ab8b1f04e" }, "downloads": -1, "filename": "tistory-cli-0.1.3.tar.gz", "has_sig": false, "md5_digest": "d29ad2156d2a9ccde9fa743f0a83f1b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5927, "upload_time": "2018-08-12T03:04:53", "url": "https://files.pythonhosted.org/packages/15/5e/2f8a605af29b592f66a2dfb5225a4867a959e02bd548d28df83d2d5aa098/tistory-cli-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "dd183333e626cf47b098ac5dbb4883e8", "sha256": "c7ae1de469c79b77a10fbf038569c0c0eea88cb1387595957ce127b4d18e8a0e" }, "downloads": -1, "filename": "tistory_cli-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "dd183333e626cf47b098ac5dbb4883e8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8773, "upload_time": "2018-08-19T02:31:25", "url": "https://files.pythonhosted.org/packages/ac/88/64e75d1f75c043244138f2e0379deb37c6aa839464cf7ab40f344c2f8001/tistory_cli-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "196bf7b78a82900bddc20bd3ab689e84", "sha256": "62ea104f01c4fd61a787e38577d7eeaf11aafdc0945292eea2667b7356dc212a" }, "downloads": -1, "filename": "tistory-cli-0.1.4.tar.gz", "has_sig": false, "md5_digest": "196bf7b78a82900bddc20bd3ab689e84", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7125, "upload_time": "2018-08-19T02:31:31", "url": "https://files.pythonhosted.org/packages/63/2b/45ed6af85fa2b6dd8a7a38a89fa98b602e9e371dc72af4c364b9a69c13c3/tistory-cli-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dd183333e626cf47b098ac5dbb4883e8", "sha256": "c7ae1de469c79b77a10fbf038569c0c0eea88cb1387595957ce127b4d18e8a0e" }, "downloads": -1, "filename": "tistory_cli-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "dd183333e626cf47b098ac5dbb4883e8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8773, "upload_time": "2018-08-19T02:31:25", "url": "https://files.pythonhosted.org/packages/ac/88/64e75d1f75c043244138f2e0379deb37c6aa839464cf7ab40f344c2f8001/tistory_cli-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "196bf7b78a82900bddc20bd3ab689e84", "sha256": "62ea104f01c4fd61a787e38577d7eeaf11aafdc0945292eea2667b7356dc212a" }, "downloads": -1, "filename": "tistory-cli-0.1.4.tar.gz", "has_sig": false, "md5_digest": "196bf7b78a82900bddc20bd3ab689e84", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7125, "upload_time": "2018-08-19T02:31:31", "url": "https://files.pythonhosted.org/packages/63/2b/45ed6af85fa2b6dd8a7a38a89fa98b602e9e371dc72af4c364b9a69c13c3/tistory-cli-0.1.4.tar.gz" } ] }