#1 2015-06-02 03:19:46

Registered: 2014-12-30
Posts: 1,059

Developing your own 3rd party apps

Apps in Alt1 are simply webpages that are running in a special overlay on top of Runescape. The Alt1 browser exposes an API to make the more advanced features possible. There are also several library's that should help with making the apps.

Requirements to develop an app
Apps are webpages inside a built-in browser, as such you will need an understanding of how websites work

  • Knowledge of html, javascript and css.

  • A place to host your apps on the internet.

  • Being familiar with node.js, npm and typescript are a great plus.

All apps generally start with the @alt1/base library, this library provides some abstraction classes to deal with performant image capture as some image detection features. It also provides type information for the window.alt1 object for your code editor.

Libraries and resources

Useful links

Installing apps and permissions
You can install apps by browsing to them in the built-in browser. There will be an 'add app' button on the top right if an app config is registered by the webpage. Clicking this button will create a bookmark to that webpage that is set to app mode. Alt1 will still behave very much like any other browser until the user enables the different permissions.

Alt1 is based on the chromium browser, this means that there is quite an extensive developer console. You can open this by right-clicking the settings spanner on the top-right, or by the 'dev tools' option when you right-click an app.

Last edited by Skillbert (2022-01-09 04:51:10)


Board footer

Powered by FluxBB