Skip to content

Commit 22ebb9b

Browse files
committed
readme
1 parent 7d75756 commit 22ebb9b

2 files changed

Lines changed: 75 additions & 13 deletions

File tree

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<a href="https://github.com/stackpress/idea/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-Apache%202.0-blue.svg?style=flat" /></a>
55
<a href="https://github.com/stackpress/idea/commits/main/"><img src="https://img.shields.io/github/last-commit/stackpress/idea" /></a>
66
<a href="https://github.com/stackpress/idea/actions"><img src="https://img.shields.io/github/actions/workflow/status/stackpress/idea/test.yml" /></a>
7+
<a href="https://coveralls.io/github/stackpress/idea?branch=main"><img src="https://coveralls.io/repos/github/stackpress/idea/badge.svg?branch=main" /></a>
78
<a href="https://github.com/stackpress/idea/blob/main/docs/contribute.md"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" /></a>
89
<br />
910
<br />
@@ -140,6 +141,6 @@ $ npx idea -i my.idea
140141
141142
Learn more:
142143
143-
- [Form an Idea](//github.com/stackpress/idea/blob/main/docs/schema.md)
144-
- [Transform an Idea](//github.com/stackpress/idea/blob/main/docs/transform.md)
145-
- [Plugins](//github.com/stackpress/idea/blob/main/docs/plugins.md)
144+
- [Form an Idea](https://github.com/stackpress/idea/blob/main/docs/schema.md)
145+
- [Transform an Idea](https://github.com/stackpress/idea/blob/main/docs/transform.md)
146+
- [Plugins](https://github.com/stackpress/idea/blob/main/docs/plugins.md)

packages/idea/README.md

Lines changed: 71 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,75 @@
1-
# 💡 Idea
2-
3-
A meta language to express and transform your ideas to reality.
4-
It all starts with an idea...
1+
<div align="center">
2+
<h1>💡 Idea</h1>
3+
<a href="https://www.npmjs.com/package/@stackpress/idea"><img src="https://img.shields.io/npm/v/@stackpress/idea.svg?style=flat" /></a>
4+
<a href="https://github.com/stackpress/idea/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-Apache%202.0-blue.svg?style=flat" /></a>
5+
<a href="https://github.com/stackpress/idea/commits/main/"><img src="https://img.shields.io/github/last-commit/stackpress/idea" /></a>
6+
<a href="https://github.com/stackpress/idea/actions"><img src="https://img.shields.io/github/actions/workflow/status/stackpress/idea/test.yml" /></a>
7+
<a href="https://coveralls.io/github/stackpress/idea?branch=main"><img src="https://coveralls.io/repos/github/stackpress/idea/badge.svg?branch=main" /></a>
8+
<a href="https://github.com/stackpress/idea/blob/main/docs/contribute.md"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" /></a>
9+
<br />
10+
<br />
11+
<a href="https://github.com/stackpress/idea/blob/main/docs/schema.md">Form an Idea</a>
12+
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
13+
<a href="https://github.com/stackpress/idea/blob/main/docs/transform.md">Transform an Idea</a>
14+
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
15+
<a href="https://marketplace.visualstudio.com/items?itemName=stackpress.idea-schema">Code Extension</a>
16+
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
17+
<a href="https://github.com/stackpress/idea/blob/main/docs/plugins.md">Plugins</a>
18+
<br />
19+
<hr />
20+
</div>
21+
22+
> A meta language to express and transform your ideas to reality.
23+
24+
The purpose of this language is to streamline and automate parts of
25+
software development that follow a common pattern and therefore can be
26+
rendered. Some example code that can be generated using `.idea` files
27+
including the following.
28+
29+
- Database calls with any ORM
30+
- API, REST, or GraphQL endpoints
31+
- React components
32+
- TypeScript type safety
33+
- Admin pages
34+
- more than 70% of the code you produce
35+
36+
> It all starts with an idea...
537
638
## Install
739

840
```bash
941
$ npm i -D @stackpress/idea
1042
```
1143

44+
## How It Works
45+
46+
1. Describe your idea in a flexible schema format `my.idea`.
47+
2. Install plugins to transform your idea to code `make-database`.
48+
3. Generate your platform using the Idea commandline `$ idea`.
49+
50+
## Benefits
51+
52+
This tool is particularly useful for startups and companies looking
53+
to build scalable and flexible software solutions quickly.
54+
55+
- **Speed and Efficiency**: Dramatically speeds up development time.
56+
What might normally take weeks can be done in minutes, reducing the
57+
cost and time to market.
58+
- **Customization and Flexibility**: Ideas can be highly customized.
59+
This means it can be adapted for a wide range of applications, from
60+
simple to complex data structures.
61+
- **Scalability**: As your needs grow, the system is designed to
62+
scale seamlessly. You can add more ideas or adjust existing ones
63+
with minimal effort.
64+
- **Error Reduction**: By automating the code generation, we reduce
65+
the chance of human error, ensuring more reliable and stable
66+
software.
67+
- **Modular**: Use ideas from any vendor or source out your own ideas.
68+
- **Pluggable**: Reduce development time significantly by using
69+
existing plugins or publish your own.
70+
- **Closer to AI**: Idea files are perfect training data for AI
71+
projects.
72+
1273
## Usage
1374

1475
This is an example idea schema.
@@ -55,9 +116,9 @@ following example.
55116
56117
```js
57118
//my.idea
58-
plugin "@stackpress/idea-typescript" {
119+
plugin "idea-ts" {
59120
ts true
60-
output "./src/types.ts"
121+
output "./modules/[name]/types"
61122
}
62123
// ... your idea ...
63124
// model Product ...
@@ -75,11 +136,11 @@ use "./another.idea"
75136
To execute an idea, you just need to run the following command.
76137
77138
```bash
78-
$ npx idea transform -i my.idea
139+
$ npx idea -i my.idea
79140
```
80141
81142
Learn more:
82143
83-
- [Form an Idea](//github.com/stackpress/idea/blob/main/docs/schema.md)
84-
- [Transform an Idea](//github.com/stackpress/idea/blob/main/docs/transform.md)
85-
- [Contribute to Idea](//github.com/stackpress/idea/blob/main/docs/contribute.md)
144+
- [Form an Idea](https://github.com/stackpress/idea/blob/main/docs/schema.md)
145+
- [Transform an Idea](https://github.com/stackpress/idea/blob/main/docs/transform.md)
146+
- [Plugins](https://github.com/stackpress/idea/blob/main/docs/plugins.md)

0 commit comments

Comments
 (0)