Git Product home page Git Product logo

skeet-cli's Introduction

Skeet Follow @ELSOUL_LABO2

πŸ“— Doc: https://skeet.dev/

πŸ“± Demo App: https://skeeter.dev/

πŸ’ƒ What's Skeet? πŸ•Ί

⚑️ AI Auto-code Development ⚑️

Skeet is an open-source app development solution capable of AI auto-code development.

It allows for rapid development of Web/iOS/Android apps and supports a wide range of developments, including AI-powered chatbot apps, Web3 apps utilizing blockchain, and dApps.

AI is also used in the development flow, overcoming the learning curve that is a challenge in software frameworks.

Developers can quickly start building functional apps and publish them in the cloud.

Enabling Google Cloud VertexAI/OpenAI

Create a new project in Google Cloud Platform and enable VertexAI. You will need OpenAI API Key to use OpenAI.

Use the following command to enable VertexAI:

$ skeet iam ai
$ skeet ai

or you can choose AI engine by passing options

$ skeet ai --openai

You need to set CHAT_GPT_ORG/CHAT_GPT_KEY in your .env

Then you can ask Skeet AI Assistant to create a new function, method, typedoc and more.

SkeetAI

YouTube Video Link: https://www.youtube.com/watch?v=e7J5HDhtpE4

πŸ§ͺ Dependency πŸ§ͺ

For Firebase Template

πŸ“— Usage πŸ“—

β‘  Install Skeet/Firebase CLI

$ npm i -g @skeet-framework/cli
$ npm install -g firebase-tools

β‘‘ Create Skeet App

$ skeet create <appName>

You can choose a template for the frontend and backend.

Solana Mobile Stack

or

Create Skeet App with only backend

$ skeet create <appName> --backend

You can choose a template for the backend.

Chatbot

β‘’ Run Skeet App

$ cd <appName>
$ skeet s

or

put options to run only backend, frontend, or GraphQL server

Usage: skeet server|s [options]

Run Skeet App

Options:
  -b, --backend    Run Backend only
  -f, --functions  Run Firebase Functions only
  -w, --web        Run Web App only
  -g, --graphql    Run GraphQL Server only
  -h, --help       display help for command

Now you have both frontend and backend running locally ⭐️

πŸ“² Frontend(Next.js) - http://localhost:4200/

πŸ“² Frontend(Expo) - http://localhost:19006/

πŸ’» Firebase Emulator - http://localhost:4000/

If you choose GraphQL template, you can use GraphQL Playground

πŸ“Š GraphQL Playground - http://localhost:3000/graphql

Launching Skeet AI Assistant

The Skeet AI Assistant is an interactive tool designed to handle various queries.

$ skeet ai --help
AI Playground

Options:
  -v, --vertex                   Vertex AI
  -o, --openai                   OpenAI
  -m, --model <string>           Model
  -token, --token <number>       Max Tokens
  -temp, --temperature <number>  Temperature
  -h, --help                     display help for command

Upon launching, you'll see a prompt like the one below. Try asking it something:

skeet ai --openai
╔═════════════╀════════╗
β”‚ Option      β”‚ Value  β”‚
β•Ÿβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β•’
β”‚ AI Type     β”‚ OpenAI β”‚
β•Ÿβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β•’
β”‚ Model       β”‚ gpt-4  β”‚
β•Ÿβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β•’
β”‚ Max Token   β”‚ 1000   β”‚
β•Ÿβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β•’
β”‚ Temperature β”‚ 0      β”‚
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•

πŸ€– Skeet AI Mode
 `$ <mode>` to change AI mode πŸ€–

$ prisma
$ typedoc
$ translate
$ firestore
$ function
$ method
$ help
$ q

OpenAI is selected πŸ€– (type 'q' to quit)
? What can I do for you?

You:

Skeet Docment

Skeet CLI

$ skeet --help
Usage: skeet [options] [command]

CLI for Skeet - Full-stack TypeScript Serverless framework

Options:
  -V, --version                output the version number
  -h, --help                   display help for command

Commands:
  create <appName>             Create Skeet Framework App
  server|s                     Run Skeet App
  deploy                       Deploy Skeet APP to Firebase
  init [options]               Initialize Google Cloud Setups for Skeet APP
  yarn [options] <yarnCmd>     Skeet Yarn Comannd to run yarn command for multiple functions
  login                        Skeet Login Command - Create Firebase Login Token
  curl [options] <methodName>  Skeet Curl Command - Call Firebase Functions Endpoint
  g|generate                   Skeet Generate Comannd
  docker                       Docker commands
  db                           Database commands
  iam                          Skeet IAM Comannd to setup Google Cloud Platform
  add                          Skeet Add Comannd to add new functions
  sync                         Skeet Sync Comannd to sync backend and frontend
  delete|d                     Skeet Delete Command
  get                          Get Skeet App List
  help [command]               display help for command

Powered by

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/elsoul/skeet-cli This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The package is available as open source under the terms of the Apache-2.0 License.

Code of Conduct

Everyone interacting in the SKEET project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

skeet-cli's People

Contributors

poppin-fumi avatar kishithemechanic avatar jamesneve avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.