Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smdn/hatenablogtools
Command line tools for authoring and editting Hatena Blog
https://github.com/smdn/hatenablogtools
atompub command-line-tool dotnet hatena-blog
Last synced: 25 days ago
JSON representation
Command line tools for authoring and editting Hatena Blog
- Host: GitHub
- URL: https://github.com/smdn/hatenablogtools
- Owner: smdn
- License: other
- Created: 2020-04-02T06:32:24.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-24T16:24:02.000Z (about 2 years ago)
- Last Synced: 2024-10-14T03:10:42.887Z (2 months ago)
- Topics: atompub, command-line-tool, dotnet, hatena-blog
- Language: C#
- Homepage: https://smdn.jp/works/tools/HatenaBlogTools/
- Size: 650 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
はてなブログ用ツール(HatenaBlogTools)
================
**HatenaBlogTools**は、[はてなブログ](https://hatenablog.com/)の記事をエクスポートしたり投稿・編集を行うためのコマンドラインツール集です。 HatenaBlogToolsは[はてなブログAtomPub API](http://developer.hatena.ne.jp/ja/documents/blog/apis/atom)を用いています。**HatenaBlogTools** is the command line tools for authoring and editting [Hatena Blog](https://hatenablog.com/).
# Requirements
Requires one of the following **.NET runtimes** to run binaries.- [.NET Runtime](https://dotnet.microsoft.com/download/dotnet/8.0) 8.0 or over
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.```sh
# 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 --blog-id --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](./LICENSE.txt)の条件に基づきライセンスされています。This project is licensed under the terms of the [MIT License](./LICENSE.txt).
## Disclaimer
本プロジェクトは[はてなブログ](https://hatena.blog/)および[株式会社はてな](https://hatena.co.jp/)とは無関係の、非公式なものです。This is an unofficial project that has no affiliation with [Hatena Blog](https://hatena.blog/) and [Hatena Co., Ltd.](https://hatena.co.jp/)