VS Code plugin for xLog
https://github.com/hyoban/vscode-xlog.git
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 ็้ดๆ
https://github.com/hyoban/vscode-xlog/assets/38493346/42fbdf40-0430-484a-9cad-50217e8b7c9d