A modern, customizable startpage featuring news updates, weather information, stock tracking, and organized links with status monitoring capabilities.
- New York Times news integration
- Real-time weather updates
- Stock market tracking with multiple tickers support
- Organized link management with online/offline status monitoring
- Clean and modern interface
Before setting up the startpage, you'll need to obtain the following API keys:
- Visit NYT Developer Portal
- Create an account and sign in
- Go to "Apps" and create a new application
- Generate an API key
- Copy the key to
nyt_API_key
in the config file
- Go to OpenWeatherMap
- Create an account and sign in
- Navigate to "API Keys" section
- Generate a new API key
- Copy the key to
weather_API_key
in the config file
- Create an account on RapidAPI
- Subscribe to Mboum Finance API
- Copy your RapidAPI key
- Add the key to
rapid_API_keys
array in the config file
Note: The free tier of Mboum Finance API is limited to 500 requests per month and 10 requests per minute. You can add multiple API keys from different accounts if you need higher limits.
var debug_mode = true; // Set to false in production
Configure which stocks you want to track:
var stocks = [
'TSM',
'AAPL',
'AMZN',
'^SPX' // Use ^ prefix for indices
];
Links are organized in groups and support status monitoring for local services:
var links_var = [
[
['link_name', 'url', 'status_monitoring'],
// Example:
['github', 'https://github.com', 'false']
]
];
Link format:
link_name
: Display name for the linkurl
: The URL to navigate tostatus_monitoring
: Set to 'true' for local services you want to monitor, 'false' for external links
The startpage comes with predefined link groups that you can modify:
- Productivity (Email, Drive, etc.)
- Shopping
- News
- Personal
- Local Services
To modify these groups, edit the links_var
array in the config file. Each inner array represents a group of links.
For local services, use your local IP addresses or hostnames:
['openmediavault', 'http://helium:8282', 'true'],
['portainer', 'http://helium:9000', 'true']
- Clone the repository:
git clone https://github.com/yourusername/startpage.git
-
Edit
config.js
with your API keys and preferred links -
Open
index.html
in your browser or host it on a web server
- The page will automatically load with your configured links, news, weather, and stock information
- Status monitoring (if enabled) will check the availability of your local services
- Stock information updates periodically
- Weather and news are fetched on page load
Contributions are welcome! Please feel free to submit a Pull Request.
- New York Times API for news content
- OpenWeatherMap for weather data
- Mboum Finance API for stock information
- All other open-source contributors
If you encounter any issues or have questions, please open an issue on the GitHub repository.