๐Ÿ“ฆ hyoban / vscode-xlog

VS Code plugin for xLog

โ˜… 5 stars โ‘‚ 2 forks ๐Ÿ‘ 5 watching โš–๏ธ MIT License
๐Ÿ“ฅ Clone https://github.com/hyoban/vscode-xlog.git
HTTPS git clone https://github.com/hyoban/vscode-xlog.git
SSH git clone git@github.com:hyoban/vscode-xlog.git
CLI gh repo clone hyoban/vscode-xlog
Stephen Zhou Stephen Zhou chore: update 8d04b99 1 years ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ .github
๐Ÿ“ .vscode
๐Ÿ“ doc
๐Ÿ“ res
๐Ÿ“ src
๐Ÿ“ test
๐Ÿ“„ .gitignore
๐Ÿ“„ .npmrc
๐Ÿ“„ .release-it.json
๐Ÿ“„ .vscodeignore
๐Ÿ“„ eslint.config.mjs
๐Ÿ“„ LICENSE
๐Ÿ“„ package.json
๐Ÿ“„ pnpm-lock.yaml
๐Ÿ“„ README.md
๐Ÿ“„ tsconfig.json
๐Ÿ“„ tsup.config.ts
๐Ÿ“„ README.md

vscode xLog

Visual Studio Marketplace Version

Usage

Create a configuration in your vscode settings.json file:

{
  "xlog.handle": "hyoban",
  "xlog.post-folder": "posts",
  "xlog.token": "your-token"
}

[!CAUTION]
Do not commit your token to your repository. You should put it in both your user settings and your workspace settings.(In VSCode, click on the gear icon in the bottom left corner and navigate to Settings. Searching for 'xlog' will allow you to find both the user settings and workspace settings.)

To get your token, go to your xLog dashboard, open developer tools (F12), and run the following code in console:

JSON.parse(localStorage.getItem("connect-kit:account")).state.wallet.siwe.token;

[!NOTE]
Read more: ๆŠ€ๆœฏๆŠ˜่…พ xLog 2 ๆทฑๅ…ฅ็†่งฃ xlog ็š„้‰ดๆƒ

Features

  • download your posts
  • create/update a post by right-clicking your markdown file.
  • upload any file to ipfs by right-clicking your file.
https://github.com/hyoban/vscode-xlog/assets/38493346/28b0ffbc-47dd-41da-a185-d2f727814a61

https://github.com/hyoban/vscode-xlog/assets/38493346/42fbdf40-0430-484a-9cad-50217e8b7c9d