https://github.com/ogty/desktop-articles-manager
📝 Manage articles to be placed on the desktop.
https://github.com/ogty/desktop-articles-manager
articles commad-line desktop macos manager marp pdf tool
Last synced: about 1 month ago
JSON representation
📝 Manage articles to be placed on the desktop.
- Host: GitHub
- URL: https://github.com/ogty/desktop-articles-manager
- Owner: ogty
- Created: 2022-09-26T06:21:53.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-26T16:36:44.000Z (over 3 years ago)
- Last Synced: 2025-02-25T09:47:13.479Z (over 1 year ago)
- Topics: articles, commad-line, desktop, macos, manager, marp, pdf, tool
- Language: Shell
- Homepage:
- Size: 894 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Desktop Articles Manager
## ⚙️ Setup
```zsh
$ cd ~/
$ git clone https://github.com/ogty/desktop-articles-manager.git
$ source ./desktop-articles-manager.git/setup.sh
```
## 📖 Usage
```zsh
$ artima # All files are eligible
$ artima head 3
$ artima tail 2
```
`head` creates the files in the order they were updated; `tail` creates the files starting with the oldest.
You can limit the number of PDFs generated by giving a number as an argument.
The default value is `5`.
## ✏️ Example
**~/Desktop/articles/articles_about_docker.md**
```md
---
icon: "docker-original"
---
# Articles About Docker
```
> **Note**
> If `icon` is not specified, the `pdf` icon will be displayed.
##
When using Marp
```md
---
icon: "docker-original"
marp: true
theme: "gaia"
---
# Articles About Docker
```
> **Note**
> By preparing your own CSS design file directly under `marp`,
> you can set the file name to theme and that design will be applied.
> ```md
> ---
> marp: true
> theme: "dracula"
> ---
> ```
## 📍 Items that can be specified
| Key | Value | Description |
| ------ | ------- | ------------------------------------------------------------------------------------------------- |
| icon | string | Icon name of PDF file. [Icon name that can be specified](https://github.com/ogty/iconic-commands) |
| marp | boolean | Whether to create in Marp |
| create | boolean | Whether to create it in the first place |
| theme | string | Marp Theme |