Git Product home page Git Product logo

nativeto's Introduction

nativeto's People

Contributors

loweisz avatar omarsotillo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

loweisz

nativeto's Issues

Github actions

  • PR with cypress
  • PRs with danger
  • PRs with linters (prettier) -> public prettier file
  • Connect to netlify plugins

Separate JS from HTML

In order to improve the distinction between the logical and view part let's move everything into different files

  • Separate .ts from .html

Prepare for release

  • Prepare Readme.md
  • Protect branches
  • License
  • Development suggestions
  • Create help needed issues for people interested.
  • Create the initial tag.
  • Define flow (PR, collaborators)

Approach modal for confirmation of data

It will allow reducing people from dispatching request without really knowing what data are they sending. E.g: Could lead to the wrong use of the target platform

Netlify function: convert website into page.

  • Create netlify function handler
  • Receive options req (DTO with defaults)
  • Use nativefier
  • Callback returns a zip file compressed
  • Remove temporal app generated and compressed file after response.
  • Optional: if Linux return a tar.gz file instea

Example of netlify functions:

exports.handler = async function(event) {
  // Query params
  // `?hi=5` -> { hi: 5 }
  console.log(event.queryStringParameters);
  // HTTP method (GET, POST, etc)
  console.log(event.httpMethod);
  // Request body (for non-GET requests)
  // In object form, no need to JSON.parse
  console.log(event.body);
  // Headers
  // Includes cookie, referer, origin, and all the typical
  // stuff you'd expect.
  console.log(event.headers)
}

Examples of nativefier API:

var nativefier = require('nativefier').default

// possible options, defaults unless specified otherwise
var options = {
  targetUrl: 'http://okubi.co',
}

nativefier(options, function (error, appPath) {
  if (error) {
    console.error(error)
    return
  }
  console.log('App has been nativefied to', appPath)
})

Animations

Add animations to the library as the modal. ๐Ÿ–๏ธ ๐ŸŽด

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.