GitXplorerGitXplorer
k

wifipass.co

public
25 stars
2 forks
3 issues

Commits

List of commits on branch master.
Verified
f54f4c6ad5cfba549050aec70fd33934f7e21062

Update dependencies

kk4m4 committed 4 years ago
Verified
4741dcc0c45e32d809b8ba8a66dc8e29e4c25381

Update template pass.json

kk4m4 committed 4 years ago
Verified
5e17b691fffd9fec6ffbcf821dd094a15d689fe7

Fix minor typo in readme

kk4m4 committed 4 years ago
Verified
1d77bc65b749a5b7eff2073b97d2e42214040e23

Fix typo in readme

kk4m4 committed 4 years ago
Unverified
f4b26a3e7bb9a6c144570503b7d0ac73d0d1f533

Show open-in-browser notice in in-app browsers

kk4m4 committed 4 years ago
Unverified
ac49de0ec4c824f18f26133060187b2fbdc3484b

Move favicons to /static/images/favicons

kk4m4 committed 4 years ago

README

The README file for this repository.

Create Apple Wallet passes for your WiFi credentials.

WiFi Pass

Configuration

Apple Pass Certificates

  1. Create a folder named components in the repo's root directory.
  2. Follow these instructions to generate your certificate files.
  3. Once the files have been generated, place them in the components directory.
  4. Rename the certificates to signerCert.pem, signerKey.pem, and wwdr.pem.
  5. Create a copy of the .env.example file and name it .env.
  6. Add an environment variable for the passphrase that you used when generating the certificates to the PASS_SIGNER_KEY_PASSPHRASE variable.

Firebase

  1. Create a new Firebase project in the Firebase console's project overview page.
  2. Add the project ID to the FIREBASE_PROJECT_ID environment variable.
  3. Navigate to your project's "Service accounts" settings (Project Settings > Service accounts) to generate a private key.
  4. Encode the private key using base64 and add it to your FIREBASE_PRIVATE_KEY environment variable.
  5. The file that was downloaded when generating the Firebase private key should also include a client_email address. Use that for your FIREBASE_CLIENT_EMAIL environment variable.
  6. In the Firebase console, navigate to the Realtime Database page. Copy the database's URL and add it to the FIREBASE_DB_URL environment variable.

Development

To start a development instance run:

~/wifipass.co ❯❯❯ npm install
~/wifipass.co ❯❯❯ npm run dev

You should then be able to access the webapp at http://localhost:3000.

License

MIT © Nikolaos Kamarinakis