I

integrateme.co

Automating Your Daily DEV Workflow

Created on 31st October 2021

I

integrateme.co

Automating Your Daily DEV Workflow

The problem integrateme.co solves

For content creators and technical bloggers its really difficult to cross-post their blogs between dev.to, medium, and hashnode as they have to go through the pain of copy and pasting their code all over again. And when code blocks or snippets are encountered they are some extra pain as different platforms have a different way of storing the data, some store it in markdown while others store it in something else.

And if you are a productivity lover you must have used Notion its a very powerful tool so we aim to make notion your go-to app for your Dev Workflow. We offer the capability to sync your GitHub issues with notion So Now You can manage your project and collaborate with your team from notion itself

Challenges we ran into

  1. Medium does not provide any API to fetch the content of a particular post. So to counter this we fetched the RSS feed of the particular user, convert the JSON and then look for the post which we want to cross-post
  2. We brain-stormed on the architecture we are going to use, and as we plan to implement more integration in the future so we decided to come up with a microservice architecture.
  3. Hashnode does not provide any public REST API but does provide a GraphQL API whereas the public APIs provided by Medium and Dev.to are REST APIs, Thus we had a hard time coming up with this integration. Finally, we came up with a solution which is converting the response by hashnode's API and Dev, Medium's API into a mutually understandable JSON object. Below is the backend architecture for the same

https://user-images.githubusercontent.com/72073401/139555093-bdfb353d-aa12-46bb-9a8e-e4b73bc4da57.jpg

  1. In the Github Notion Sync integration all the webhooks were Received in a single endpoint so we have to generate a unique UUID for each repository and then listen to an URL with the unique UUID as an endpoint for Webhook's request

https://user-images.githubusercontent.com/72073401/139555004-0ca17b20-1ee6-43c8-a7dc-fe21ecea6aa8.jpg

Discussion

Builders also viewed

See more projects on Devfolio