Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Locally hosted, some widget API calls fail #38

Closed
Logvin opened this issue Feb 23, 2023 · 2 comments
Closed

Locally hosted, some widget API calls fail #38

Logvin opened this issue Feb 23, 2023 · 2 comments

Comments

@Logvin
Copy link

Logvin commented Feb 23, 2023

I am running startertab on my own personal website. Some widgets are working great, like the Reddit one, and some do not.

Not working: Stocks, Weather

image

@allister-grange
Copy link
Owner

Hey @Logvin, the issue is because you are missing environment variables for the API routes that call the third party APIs.

You'll either need to sign up for the services and get an API key/secret for each of the services you want, or you can just use StarterTab at https://startertab.com. The site should still be customisable to your needs.

The README.md has an up to date list all of the environment variables you need, here is the list currently:

STRAVA_CLIENT_ID=<YOUR_SECRET_HERE>
STRAVA_SECRET<YOUR_SECRET_HERE>
WEATHERAPI_TOKEN<YOUR_SECRET_HERE>
SPOTIFY_CLIENT_ID<YOUR_SECRET_HERE>
SPOTIFY_CLIENT_SECRET<YOUR_SECRET_HERE>
FINNHUB_SECRET<YOUR_SECRET_HERE>
TWITTER_CLIENT_ID<YOUR_SECRET_HERE>
TWITTER_CLIENT_SECRET<YOUR_SECRET_HERE>
TWITTER_CODE_CHALLENGE_KEY<YOUR_SECRET_HERE>
TOKEN_ENCRYPT_KEY<YOUR_SECRET_HERE>
OUTLOOK_CLIENT_ID<YOUR_SECRET_HERE>
OUTLOOK_CLIENT_SECRET<YOUR_SECRET_HERE>
GOOGLE_CLIENT_ID<YOUR_SECRET_HERE>
GOOGLE_CLIENT_SECRET<YOUR_SECRET_HERE>

@Logvin
Copy link
Author

Logvin commented Feb 25, 2023

Thank you so much for replying. I love your work, it looks so nice! I created those environment variables, but totally forgot about them by the time I got the site running, ha! Ill close this out. Do you have a place where you are accepting new feature requests?

@Logvin Logvin closed this as completed Feb 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants