Mechanism for Running JS Pills
This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
npm run dev
Now you're ready.
Mechanism for Running JS Pills
License: MIT License
Mechanism for Running JS Pills
This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
npm run dev
Now you're ready.
Currently - it looks rather unpleasant. This is to make someone feel the need to improve the UI. Someone should do this.
In order to demonstrate the execution of the JS, a JS alert was inserted into one of the pills that says the word "Potato". This should probably be removed.
The URLs to the pill Readme and JS are currently hard coded in an array and rely on being called "Readme.md" and "index.js" in a particular file location. It would be good to expand it to have some kind of proper data model, possibly using directory traversing to handle all possible file locations, rather than the hardcoded paths.
Currently the client is rendering the markdown. This means it isn't searchable by search engines. This should be searchable, so it would be nice if the markdown was rendered using nextjs's server-rendering functionality.
One of the pills does exciting things to the console log - it would be good if that could be captured more.
Currently, we can only navigate between pills by use of a "next-pill" button. It would be nice to have proper navigation, potentially with URLs for routing.
Most of the pills are fairly basic, it would be nice to have more complex executing JS in there, eg: MSAL.
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.