Coder Social home page Coder Social logo

roelti / lorem-fakersum Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 1.51 MB

A menubar app to generate lorem ipsum text or fake data. Just open the app, click on the data you need and it's copied!

License: Creative Commons Zero v1.0 Universal

HTML 17.42% JavaScript 63.76% SCSS 18.82%

lorem-fakersum's Introduction

Lorem Fakersum

A menubar app to generate lorem ipsum text or fake data. Just open the app, click on the data you need and it's copied!

Check the Releases for the latest version of the Mac app. Because I don't have an Apple Developer account, I can't sign the app with a valid certificate so you get this notice:

To fix this:

  • Click on Cancel
  • Go to your System Preferences and Security & Privacy
  • On the General tab click on 'Open Anyway' and the app should appear in the menubar!

Install & Use

To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Install dependencies
npm install
# Run the app
npm start
# Watch asset changes
npm run watch

Build the application

Electron Packager is used to build the application.

The next part assumes you use macOSS. At this moment Windows and Linux are untested.

To build the app, run the following command in the directory:

electron-packager . --icon=icon.icns

This will do the following:

  • Use the current directory for the sourcedir
  • Infer the appname from the productName in package.json
  • Infer the appVersion from the version in package.json
  • Infer the platform and arch from the host, in this example, darwin platform and x64 arch.
  • Download the darwin x64 build of Electron 1.4.15 (and cache the downloads in ~/.electron)
  • Build the macOS Lorem Fakersum.app
  • Place Lorem Fakersum.app in foobar/Lorem Fakersum-darwin-x64/ (since an out directory was not specified, it used the current working directory)

Thanks

Thanks to Faker.js for making an awesome library.

lorem-fakersum's People

Contributors

roelti avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

koukouchris

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.