31

GitHub - storyscript/storyscript: The programming language for Application Story...

 5 years ago
source link: https://github.com/storyscript/storyscript
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

README.md

PyPi CircleCI Codecov Docs Devdocs

56803568-460e5800-6823-11e9-8a70-25ab4b7e32ea.png

? Meet Storyscript

The DSL for Application Storytelling. Develop rapidly, deploy natively to the cloud and focus on what matters most: business-logic. Designed with ❤️ by @Asyncy on a mission to bring application development to the next level.

# Applications are stories of data.
when http server listen path: '/' as request     # Serverless
    result = anyMicroservice action key: value   # Written in any language wrapped in Docker or RKT
    result = anyFunction(key: value)             # Lambda, OpenFaaS, KNative or Storyscript
    items = 'string' split by: ','               # Mutations == No middleware
    data = OpenAPI get users: users              # OpenAPI & AsyncAPI for legacy system support
    sent = machinebox/textbox process input:data # Free/Paid Serivces
    if sent.positive                             # Conditions
        foreach list as item                     # Turing complete
            # ...
    request write content: 'Hello World!'

# Next launch on the Asyncy Platform
$ asyncy deploy  # Zero-devop deployments into Kubernetes

?Open Source for a delicious application development. ✨?✨

?Choose: hosted Asyncy Cloud or helm install asyncy for on-premises deployments.

Installation

Storyscript can be installed with pip:

pip install storyscript

Usage

Write a simple story:

echo "alpine echo text:'hello world!'" > hello.story

Compile a story to JSON:

storyscript compile -j hello.story

Editor plugins

Development documentation

Development docs are provided for those who wish to contribute to the project or want to understand how to execute compiled stories.

Current status

Storyscript is at an alpha stage and is part of the Asyncy project. If you want to learn more about Asyncy, and how to use Storyscript with Asyncy, you can visit the asyncy documentation

Contributing

If you want to contribute to Storyscript, you can join the community at our slack where we discuss features and future plans.

You can find open issues on github, along with contribution guidelines for happy coding. There are simple issues for new contributors and issues that need help

Contributors

The list of contributors is available here

Issues

For problems directly related to the CLI, add an issue on GitHub For other issues, submit a support ticket


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK