
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
magic-script-components
Advanced tools
MagicScript Component Framework
magic-script-cli
:npm install -g magic-script-cli
magic-script init
npm
packages from the app folder:npm install
magic-script build -i
Replace app.js
content with this code for a more interactive use case:
import React from "react";
import { View, Text, Button } from "magic-script-components";
export default class MyApp extends React.Component {
constructor(props) {
super(props);
this.state = { counter: props.counter };
this.onButtonClick = this.onButtonClick.bind(this);
}
onButtonClick(event) {
this.setState(state => ({ counter: state.counter + 1 }));
}
render() {
return (
<View name="main-view">
<Text
textSize={0.1}
textColor={[0.1, 1, 0.1, 0.84]}
localPosition={[0, 0.25, 0]}
>
{this.state.counter}
</Text>
<Button
width={0.25}
height={0.15}
roundness={0.5}
onClick={this.onButtonClick}
>
+
</Button>
</View>
);
}
}
git clone https://github.com/magic-script/magic-script-components.git
cd magic-script-components
cd website
yarn
yarn start
git commit
Set system variable GIT_USER with you GitHub user name in e.g. .bash_profile
or console export GIT_USER=<GitHub user name>
Deploy on public website
yarn deploy
docs
directory. Just add your new markdown files there.This project is licensed under the Apache License, Version 2.0 - see the LICENSE file for details
FAQs
MagicScript Component Framework
We found that magic-script-components demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.