npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

lgkmluploader

v1.0.0

Published

API to send our KML and create them, and Send to the Liquid Galaxy

Downloads

7

Readme

Liquid Galaxy KML API

This project will be developed for the GSOC 2019 program

All the API documentation after the installation will be found accessing: http://SERVERIP:PORT/docs

Introduction

The system will interact over the liquid galaxy using a KML with a network link.

This KML will do requests to our API. And this one will control which data will be sent to the system.

Here we can see a project scheme:

Project Definition

You can build new KML and concatenate your own kmls to the current one.

But if you use the upload call, you will just be able to display this one

Installation

Clone the repository into your computer, then get into the folder.

I prepared a simple command to install the api.

If you are using liquid galaxy on UBUNTU 16 use the following instruction:

./installUbuntu16.sh
KMLSERVERIP=' THE IP OF THE MACHINE WHERE THE KMLAPI WILL BE INSTALLED'
KMLSERVERPORT="the port of the API" USE AN OPEN NETWORK PORT!

Ubuntu 18:

./installUbuntu18.sh
KMLSERVERIP=' THE IP OF THE MACHINE WHERE THE KMLAPI WILL BE INSTALLED'
KMLSERVERPORT="the port of the API" USE AN OPEN NETWORK PORT!

This script needs to be executed in the master, because it will elaborate the NetworkLink and share with the slaves, to automatize the configuration process.

Server DEPLOY

After run the install.sh, get into the root of the repository:

npm install

to install all the dependencies, then reboot the server system.

Finally run the server:

node server.js

OBS: If the system says that some package it's not installed install them one by one

You can check what's your liquid galaxy master receiving by accessing the next URL:

http://MACHINEIP:PORT/kml/viewsync/master

Test

To test:

/* http://MACHINEIP:PORT/kml/flyto/:lon/:lat/:range */
http://MACHINEIP:PORT/kml/flyto/10/10/1000

if the liquid galaxy moves to the specified place, the API is working well!!

Documentation

You can find all the API calls by accessing into:

http://MACHINEIP:PORT/docs

ENJOY THE API :)