Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geekdada/flomo-cli
A CLI tool for flomo.
https://github.com/geekdada/flomo-cli
flomo
Last synced: about 2 months ago
JSON representation
A CLI tool for flomo.
- Host: GitHub
- URL: https://github.com/geekdada/flomo-cli
- Owner: geekdada
- License: mit
- Created: 2020-12-23T12:12:59.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-01-05T14:18:49.000Z (over 3 years ago)
- Last Synced: 2024-06-21T15:46:30.034Z (3 months ago)
- Topics: flomo
- Language: Go
- Homepage:
- Size: 37.1 KB
- Stars: 11
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# flomo-cli
![Go](https://github.com/geekdada/flomo-cli/workflows/Go/badge.svg)
[![codecov](https://codecov.io/gh/geekdada/flomo-cli/branch/master/graph/badge.svg?token=FJ3Y2ZB8YS)](https://codecov.io/gh/geekdada/flomo-cli)A CLI tool for [flomo](https://flomoapp.com/register2/?Mzk3).
## 📥 安装
```bash
# 支持在不同平台运行
curl -sf https://gobinaries.com/geekdada/flomo-cli | sh
```**或者** 在 [Releases](https://github.com/geekdada/flomo-cli/releases) 页面下载对应的二进制文件。目前有:
- `flomo-cli-darwin-amd64.gz`
- `flomo-cli-freebsd-386.gz`
- `flomo-cli-freebsd-amd64.gz`
- `flomo-cli-linux-386.gz`
- `flomo-cli-linux-amd64.gz`
- `flomo-cli-linux-armv5.gz`
- `flomo-cli-linux-armv6.gz`
- `flomo-cli-linux-armv7.gz`
- `flomo-cli-linux-armv8.gz`
- `flomo-cli-windows-386.zip`
- `flomo-cli-windows-amd64.zip`
- `flomo-cli-windows-arm32v7.zip`macOS 系统请使用 `flomo-cli-darwin-amd64.gz`。
## 👉 使用
### 添加一条新的墨
```bash
$ flomo-cli new --api "一条新的墨"
```### 添加一条带标签的墨
```bash
$ flomo-cli new --api --tag "随手记" "一条新的墨"
```**🔮 效果**
![CleanShot 2020-12-24 at [email protected]](https://i.loli.net/2020/12/24/g3v7c6fwOKyauRT.png)
### 使用环境变量来指定 API
```bash
$ export FLOMO_API=
$ flomo-cli new --tag "随手记" "一条新的墨"
```### 将文本文件添加到浮墨
```bash
$ cat memo.txt | flomo-cli new --tag "Quote"
```## LICENCE
[MIT](./LICENSE)