Code Monkey home page Code Monkey logo

nside's Introduction

NS:IDE
NS:IDE

star this repo fork this repo Open Source Love PRs Welcome Follow on Twitter

NS:IDE is the NativeScript IDE that lets you get 'inside' your device.

Access any native functionality at run-time by calling a Javascript API that binds to the Obj-C (iOS) or Java (Android) run-time.

Features

  • Made in NativeScript
  • Syntax highlighting
  • Very dangerous auto-complete functionality based on eval()
  • Access to the whole native run-time, fully documented on nativescript.org for both iOS and Android (see note below)
  • Potential to introduce TypeScript, if a contributor is feeling brave, or at least TypeScript's auto-completion (NativeScript is fully-typed!)

NOTE: I haven't yet implemented Android support because I lack the expertise to produce a syntax highlighter component for it, but it's perfectly possible in future.

Demo

See my teaser tweet for a video demo.

Example screenshots

auto-complete native manipulation

Setup

This project assumes the following folder hierarchy:

.
├── nside
└── nativescript-syntax-highlighter

Where nside is this git repository, and nativescript-syntax-highlighter is the git repository of my NativeScript Syntax Highlighter plugin. That is to say, they are expected to be siblings.

Get my NativeScript Syntax Highlighter plugin

I haven't published it to npm, so you'll have to clone it from here:

git clone [email protected]:shirakaba/nativescript-syntax-highlighter.git

Install NS:IDE dependencies

In the root directory for this project (nside), run this command:

npm install

And then maybe make yourself one of these: ☕️

Run

To run for iOS (Android is not supported yet):

# This is shorthand for "prepare, build and deploy".
tns run ios

And now maybe make yourself one of these: 🍵

Full documentation for tns run ios here. Useful flags to pass:

  • --hmr: activates hot module reloading (I highly recommend it).
  • --clean: forces a complete rebuild. Useful if you run into caching problems.
  • --emulator: instructs NativeScript to run the app in the iOS Simulator even if you have your device connected.

Licence

The NativeScript libraries are Apache-licensed (NativeScript-Licence.txt), whereas this project itself use a GPL 3 licence LICENCE.txt.

More of my stuff

  • LinguaBrowse (iOS) on the App Store – made in Swift
  • LinguaBrowse (macOS) on the App Store – made in React Native + TypeScript + Swift
  • Plucky Box (iOS) on the App Store, GitHub, expo.io as Android/iOS – made in React Native + TypeScript
  • @LinguaBrowse – my Twitter account. I talk about NativeScript, React Native, TypeScript, Chinese, Japanese, and my apps on there.

nside's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.