Day Replay is an app that records what you do in a day. Takes a timelapse of your screen and you can then export it after your day is over. There is truly no better way to reflect on your productivity than to watch a replay of exactly how you spent your time.
This application uses Firebase for authentication. To set up Firebase authentication:
- Create a Firebase project at https://console.firebase.google.com/
- Enable Authentication in the Firebase console (Google provider recommended)
- Copy the Firebase configuration from your Firebase project settings
- Run the Firebase setup script:
npm run setup:firebaseThis script will:
- Create a
.envfile if it doesn't exist - Prompt you to enter your Firebase configuration details
- Save the configuration to your
.envfile
Alternatively, you can manually create a .env file by copying .env.example:
# Copy the example .env file
cp .env.example .env
# Edit the .env file with your Firebase configuration
nano .env # or use your preferred text editorThe application handles Firebase configuration securely:
- Development Mode: Configuration is loaded from the
.envfile - Production Mode: Configuration is securely stored in an encrypted file in the app's data directory
The first time you run the app in production, it will use the configuration from the build environment. On subsequent runs, it will use the securely stored configuration.
Important Security Note: Never commit your .env file to version control. It contains sensitive API keys and should be kept private. The .env file is already added to .gitignore to prevent accidental commits.