Skip to content

smdn/HatenaBlogTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

はてなブログ用ツール(HatenaBlogTools)

HatenaBlogToolsは、はてなブログの記事をエクスポートしたり投稿・編集を行うためのコマンドラインツール集です。 HatenaBlogToolsははてなブログAtomPub APIを用いています。

HatenaBlogTools is the command line tools for authoring and editting Hatena Blog.

Requirements

Requires one of the following .NET runtimes to run binaries.

Also requires .NET SDK 8.0 to build and run from source codes.

Install & How to use

see https://smdn.jp/works/tools/HatenaBlogTools/

How to build and run from source

The instructions of using 'Login' command is shown in below.

# change directory to 'Login' command
cd src/Smdn.HatenaBlogTools.Cli.Login/

# restore the build and library dependencies (This is an essential step for a first time build)
dotnet restore

# build the command
dotnet build -f net8.0

# run the command
dotnet run -f net8.0 -- --id <your-hatena-id> --blog-id <your.hatena.blog.domain> --api-key <your-api-key>

# show usage of the command
dotnet run -f net8.0 -- --help

Note

'Login' command only attempts to login Hatena Blog, and does not edit anything even if the login is successful.

Notice

License

本プロジェクトはMIT Licenseの条件に基づきライセンスされています。

This project is licensed under the terms of the MIT License.

Disclaimer

本プロジェクトははてなブログおよび株式会社はてなとは無関係の、非公式なものです。

This is an unofficial project that has no affiliation with Hatena Blog and Hatena Co., Ltd.