-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f3216a6
commit 26bfa34
Showing
13 changed files
with
217 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,55 @@ | ||
# Dandori(段取り) | ||
|
||
<img src="./media/dandori.png" alt="dandori" width="206" height="206"> | ||
<img src="./media/dandori.png" alt="dandori" width="206"> | ||
|
||
*This project is experimental.* | ||
*This project is experimental.* | ||
|
||
Dandori analyzes and visualizes the dependencies of your tasks. | ||
|
||
Let's look at a few examples. | ||
|
||
## Example 1 | ||
|
||
### Input | ||
|
||
```text | ||
Today's My Tasks | ||
* Send Email to John | ||
* Send Email to Mary | ||
* Report to Boss after sending emails | ||
``` | ||
|
||
### Output(Miro) | ||
|
||
<img src="./media/miro_example.png" alt="miro output example" width="422"> | ||
|
||
## Example 2 | ||
|
||
### Input | ||
|
||
```text | ||
Today's My Tasks | ||
* [todo] Send Email to John | ||
* [doing] Write a blog | ||
* [done] Report to Boss | ||
``` | ||
|
||
### Output(Notion) | ||
|
||
<img src="./media/notion_example.png" alt="notion output example" width="426"> | ||
|
||
## Usage | ||
|
||
This project is monorepo. You can choose the following ways to use it. | ||
|
||
### Use CLI | ||
|
||
Please read [`@dandori/cli` README](./packages/cli/README.md). | ||
|
||
### Use your own code | ||
|
||
Please read [`@dandori/core` README](./packages/core/README.md) and [`@dandori/ui` README](./packages/ui/README.md). | ||
|
||
### License | ||
|
||
Released under the MIT license. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,51 @@ | ||
# dandori/cli | ||
|
||
*This project is experimental.* | ||
This repository is responsible for executing `@dandori/*` packages. | ||
|
||
## Installation | ||
|
||
```bash | ||
# It isn't necessary to install this package if you use the command like `npx` . | ||
npm install @dandori/cli | ||
yarn add @dandori/cli | ||
pnpm add @dandori/cli | ||
``` | ||
|
||
## Usage | ||
|
||
First, please create `.env` file and set environment variables like below. | ||
|
||
```text | ||
OPENAI_API_KEY=your_openai_api_key | ||
MIRO_API_KEY=your_miro_api_key | ||
``` | ||
|
||
Second, | ||
|
||
```ts | ||
import generateDandoriTasks from '@dandori/core'; | ||
import { generateDandoriMiroCards } from "@dandori/ui"; | ||
|
||
const text = ` | ||
Today's My Tasks | ||
* Send Email to John | ||
* Send Email to Mary | ||
* Report to Boss after sending emails | ||
`; | ||
|
||
const tasks = await generateDandoriTasks(text); | ||
await generateDandoriMiroCards(tasks, { | ||
boardId: '1234567890', | ||
}); | ||
``` | ||
|
||
## Requirements | ||
|
||
* Please see [`@dandori/core` README]('../core/README.md') before using `@dandori/ui`. | ||
* `@dandori/ui` depends on external APIs. You need to set `EXTERNALAPP_API_KEY` environment variables like `MIRO_API_KEY` . | ||
* `@dandori/ui` supports to load `.env` file. Please create `.env` file and set environment variables. | ||
|
||
## Supported External APIs | ||
|
||
* [Miro](https://miro.com/) | ||
* [Notion](https://www.notion.so/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,31 @@ | ||
# dandori/core | ||
|
||
*This project is experimental.* | ||
This repository is responsible for generating the task dependency from texts by using AI. | ||
|
||
## Installation | ||
|
||
```bash | ||
npm install @dandori/core | ||
yarn add @dandori/core | ||
pnpm add @dandori/core | ||
``` | ||
|
||
## Usage | ||
|
||
```ts | ||
import generateDandoriTasks from '@dandori/core'; | ||
|
||
const texts = ` | ||
Today's My Tasks | ||
* Send Email to John | ||
* Send Email to Mary | ||
* Report to Boss after sending emails | ||
`; | ||
|
||
const tasks = await generateDandoriTasks(texts); | ||
``` | ||
|
||
## Requirements | ||
|
||
* `@dandori/core` depends on OpenAI API. You need to set `OPENAI_API_KEY` environment variable. | ||
* `@dandori/core` supports to load `.env` file. Please create `.env` file and set `OPENAI_API_KEY` environment variable. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# dandori/ui | ||
# dandori/libs | ||
|
||
*This project is experimental.* | ||
This repository is responsible for defining common logics for `@dandori/*` packages. | ||
|
||
In most cases, you don't need to use this package directly. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,41 @@ | ||
# dandori/ui | ||
|
||
*This project is experimental.* | ||
This repository is responsible for viewing your tasks which are generated by `@dandori/core` . | ||
|
||
## Installation | ||
|
||
```bash | ||
npm install @dandori/core @dandori/ui | ||
yarn add @dandori/core @dandori/ui | ||
pnpm add @dandori/core @dandori/ui | ||
``` | ||
|
||
## Usage | ||
|
||
```ts | ||
import generateDandoriTasks from '@dandori/core'; | ||
import { generateDandoriMiroCards } from "@dandori/ui"; | ||
|
||
const text = ` | ||
Today's My Tasks | ||
* Send Email to John | ||
* Send Email to Mary | ||
* Report to Boss after sending emails | ||
`; | ||
|
||
const tasks = await generateDandoriTasks(text); | ||
await generateDandoriMiroCards(tasks, { | ||
boardId: '1234567890', | ||
}); | ||
``` | ||
|
||
## Requirements | ||
|
||
* Please see [`@dandori/core` README]('../core/README.md') before using `@dandori/ui`. | ||
* `@dandori/ui` depends on external APIs. You need to set `EXTERNALAPP_API_KEY` environment variables like `MIRO_API_KEY` . | ||
* `@dandori/ui` supports to load `.env` file. Please create `.env` file and set environment variables. | ||
|
||
## Supported External APIs | ||
|
||
* [Miro](https://miro.com/) | ||
* [Notion](https://www.notion.so/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.