Skip to content

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

Notifications You must be signed in to change notification settings

roelti/lorem-fakersum

Repository files navigation

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.

About

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!

Resources

License

Stars

Watchers

Forks

Packages

No packages published