beakerbrowser / beaker-sidebar-app Goto Github PK
View Code? Open in Web Editor NEWWeb application that drives Beaker's sidebar view
Web application that drives Beaker's sidebar view
In addition to builtin commands and user scripts, what if we had a way for the page to export functions that could be called by the command line? That way, you'd get contextual actions that allow you to interact with the page you're visiting.
The API could be something like
navigator.terminal.addCommand('alert', {
help: 'Show an alert on the page',
run (opts, name = 'world') {
alert(`Hello, ${name}!`)
}
})
And then the CLI could be something like a page
command which shows a list of commands with default invocation
> page
alert Show an alert on the page
And then you'd pass the desired command as the first arg to run it
> page alert Paul
Ok.
cc @brechtcs interested to hear your thoughts on best approach to this (and whether it's a good idea)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.