DEV Community

Nikita Matrosoff
Nikita Matrosoff

Posted on

2

Stories with Astronomy Picture of the Day

Here's my story about the first project I made with GitHub. It was several months ago. I was learning Python and really want to do a practical things with it.

And then an idea came to my mind. I'm Russian so the main social network here is VKontakte. Few years ago its developers boarded the hype train and added stories like Instagram and Snapchat ones.

Also I really love Astronomy Picture of the Day (APoD). It's a website made by NASA that publishes an image and a short caption of it every day. The idea I mentioned before was to post that picture automatically to VKontakte stories.

Happily I found out that APoD has its own API. So with about fifty lines in Python the script was ready.

A free access to Digital Ocean for 10 months by GitHub Student Pack helped me here a lot. I've just used a promo code and uploaded the script to the server. And that's all!

That script is still working and publish APoD every day! And I've actually lost count how many people have written to me that these stories are the only interesting ones in their feed :)

P.S. An example published in stories is below.

An example

Speedy emails, satisfied customers

Postmark Image

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more