Custom Home Page
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
classes
css
favicon
img
includes
js
layout
mobile
s
sass
.htaccess
LICENSE
README.md
acbg.php
accontent.php
account.php
aclocation.php
acpref.php
activate.php
auth.php
auth2.php
auth3.php
bg.php
bg2.php
bgoff.php
clock.php
db.sql
disconnect.php
index.php
join.php
join2.php
location.php
login.php
logout.php
notesave.php
qauth.php
qauth2.php
qauth3.php
refresh.php
reset.php
resetPassword.php
selectweather.php
setup.php
source.php
spotify.php
style.php
temp.php
ticker.php
weather.php
weather2.php

README.md

CDG Home: Custom Home / New Tab Page Featuring:

• Stock Ticker
• Clock & Date
• Notepad
• Calendar
• Custom Timer (Coming Soon)
• Current Weather & Location
• Gmail Inbox Integration
• Spotify Integration / Controller
• Live Customizable News
• Day & Night Modes
• Custom Background Images
• Extensive Settings With Changeable Units, Formats & Options
• Beautiful Scaleable UI

Day

Custom

Night

Requirements

• Web Server with PHP 5.5.X (PHP 7 Not Yet Supported)
• MySQL Database with MySQL Event Scheduler enabled.
• Weather Underground API Key.
• Google reCAPTCHA Invisible API Key.
• Google Cloud Gmail Client ID.

Install Guide

  1. Clone or download the CDG Home repository to a php capable server.
  2. Create a MySQL database and run the db.sql file to create table.
  3. Configure the /classes/phpmailer/mail.php with your phpmailer, smtp, or pop3 settings.
  4. Configure the /includes/config-example.php file with your timezone, MySQL database, absolute application address, email address, and password reset email details.
  5. Rename config-example.php to config.php.

Note 1: Timezone must be set correctly in config.php for gmail to function.
Note 2: SSL will make stock ticker fail as MacroAxis SSL requires a paid license.

How-To: Setup Gmail API

  1. Go to https://console.cloud.google.com/apis/
  2. Create a new project and enable the Gmail API in the API Manager Library
  3. On the Gmail API Page, create credentials for: Gmail API -> Web Browser -> User Data
  4. Name your credentials and set the Javascript origin to your domain.
  5. Add two Javascript callbacks:
        a. http://[YOUR-DOMAIN.COM/INSTALLATION-PATH]/auth.php
        b. http://[YOUR-DOMAIN.COM/INSTALLATION-PATH]/qauth.php
  6. Create OAuth Consent Screen
  7. Copy ClientID to the config.php file.

How-To: Setup reCAPTCHA API

  1. Go to https://www.google.com/recaptcha/admin
  2. Select Invisible reCAPTCHA, add your domain, accept terms and register.
  3. Copy SITE KEY to the config.php file.

How-To: Setup Weather Underground API

  1. Create an account at http://api.wunderground.com/api, verify email and login.
  2. Go to http://api.wunderground.com/weather/api/d/pricing.html and sign up for the Stratus Developer Plan.
  3. Fill out registration questionare.
  4. Copy API Key ID to config.php.

To-Do

1. Change Initial Google Authorization Flow
2. Setup AJAX Background Content Refresh (Home & Settings)
3. Convert PHP Session System to Cookies for longer logins
4. Add all changeable variables to config.php
5. Combine dbconnect.php & config.php
6. Setup custom backgrounds in setting
7. Change scaling system from screen width to window width
8. Extensive SSL Support
9. Add support for PHP 7
10. Add new features to blank tiles