Rocket.chat: What's the Apps status, where can I get the document

Created on 12 Jul 2018  路  11Comments  路  Source: RocketChat/Rocket.Chat

Here the Apps means something related to https://github.com/RocketChat/Rocket.Chat.Apps-cli/blob/master/README.md,

We are very interesting in this feature, but can not get more information from the document, we found many code like:
https://github.com/RocketChat/Rocket.Chat.Apps-engine
https://github.com/RocketChat/Rocket.Chat.Apps-ts-definition

We want to understand how to implement a APP and what it can do.

Could you provide more document?

Most helpful comment

All 11 comments

You can find sample Apps here: https://github.com/graywolf336/RocketChatApps

@vynmera thank you, I will have a look.

but still not much document, is it hinting us to read the code directly?

Another App:
https://github.com/kaiiiiiiiii/AppearCommandApp

And you're right, there's still a lack of documentation, but this will change in the future as the App Framework is not official released yet :)

Hi, @vynmera

when I try to package the app https://github.com/graywolf336/RocketChatApps

it throw an error

PS D:\xxxt\RocketChatApps\testing-app> rc-apps package
packaging your app... !
Error: absolute path: D:/xxx/RocketChatApps/out-of-office/app.json
    at validateMetadataPath (C:/Users/Administrator/AppData/Roaming/npm/node_modules/@rocket.chat/apps-cli/node_modules/yazl/index.js:351:74)
    at ZipFile.addFile (C:/Users/Administrator/AppData/Roaming/npm/node_modules/@rocket.chat/apps-cli/node_modules/yazl/index.js:24:18)
    at AppPackager.zipItUp (C:/Users/Administrator/AppData/Roaming/npm/node_modules/@rocket.chat/apps-cli/lib/misc/appPackager.js:36:17)
    at <anonymous>

@imhazige weird... what happens if you just zip up one of the folders yourself? like, just create a zip of D:/xxx/RocketChatApps/out-of-office/ and put that straight into your Apps

@vynmera

I clone the code from the github,
cd to the out-of-office folder,
npm install
rc-apps package

then error happen

I can build it successfully in ubuntu

@vynmera

I have had a look at the example app code, app can handle message, can handle command. can app build a ui to allow user to use as a web app?

@imhazige @vynmera @kaiiiiiiiii Could you move this discussion to the forums? Thanks!

@imhazige please open an issue directly on the CLI repository: https://github.com/RocketChat/Rocket.Chat.Apps-cli

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tanc picture tanc  路  3Comments

djeber picture djeber  路  3Comments

sta-szek picture sta-szek  路  3Comments

karlprieb picture karlprieb  路  3Comments

Buzzele picture Buzzele  路  3Comments