Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/integrateme-co/integrate-io
Cross-Post your blogs between dev.to, Medium and Hashnode 🔀
https://github.com/integrateme-co/integrate-io
automation blogging cross-post cross-posting expressjs hacktoberfest integration medium mongodb nodejs productivity
Last synced: 2 months ago
JSON representation
Cross-Post your blogs between dev.to, Medium and Hashnode 🔀
- Host: GitHub
- URL: https://github.com/integrateme-co/integrate-io
- Owner: integrateme-co
- License: mit
- Created: 2021-09-20T16:57:37.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-02-26T17:07:02.000Z (11 months ago)
- Last Synced: 2024-08-09T02:14:58.480Z (6 months ago)
- Topics: automation, blogging, cross-post, cross-posting, expressjs, hacktoberfest, integration, medium, mongodb, nodejs, productivity
- Language: JavaScript
- Homepage:
- Size: 260 KB
- Stars: 48
- Watchers: 0
- Forks: 16
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - integrateme-co/integrate-io - Cross-Post your blogs between dev.to, Medium and Hashnode 🔀 (JavaScript)
README
# Backend Architecture
![Cross-Post Architechure](https://user-images.githubusercontent.com/72073401/139555093-bdfb353d-aa12-46bb-9a8e-e4b73bc4da57.jpg)
# integrateme.co API Docs
## Get All unpublished posts:
[https://dev.to/api/articles/me/unpublished](https://dev.to/api/articles/me/unpublished)
- Headers:
```bash
api-key : MiXvYZyVvqCP1oPjg2AdHhQp
```
## Schedule a post:
[http://localhost:8080/api/v2/schedule](http://localhost:8080/api/v2/schedule)
- Body:
```bash
{
"articleID": "383924",
"APIkey": "YOUR_API_KEY",
"publishTime": "2021-09-23T20:50:41.751Z"
}
```
## Cron Jobs
Run the `services/cronJobs.js` file
```bash
node cronJobs.js
```## Post From Dev to Medium or Hashnode
URI : [`http://localhost:8080/api/v2/dev`](http://localhost:8080/api/v2/dev)
Body:
```json
{
"url": "https://dev.to/uzairali10/load-balancer-101-4jl9",
"medium": true,
"hash": true,
"medium_token":"2615790132f4a47a93d13abd55f96",
"hash_token": "fee010ff-bd64-496a-d28a58e30bb9"
}
```- `url` : URL of the The Blog from [Dev.to](http://Dev.to) which is to be cross-posted (String)
- `medium` : (Boolean)
- `medium_userID` : User's medium's user ID can be fetched from ([https://api.medium.com/v1/me](https://api.medium.com/v1/me))
- `medium_token` : User's medium's API token
- `hash_token` : User's Hashnode API Token## Post From Medium to Dev or Hashnode
URI: [`http://localhost:8080/api/v2/medium`](http://localhost:8080/api/v2/medium)
Body:
```json
{
"url": "https://medium.com/@amanshri.nitrr/a-job-switch-plan-that-actually-works-e09701c26d88",
"dev_api": "ShVKKiC9AZ1tb",
"dev": true,
"hash": true,
"hash_api": "fee010ff-bde30bb9"
}
```- `url` : URL of the The Blog from Medium which is to be cross-posted (String)
- `dev` : (Boolean)
- `hash` : (Boolean)
- `dev_api` : User's dev.to API token
- `hash_api` : User's Hashnode API Token## Post From Hashnode to Dev or Medium
URI: [http://localhost:8080/api/v2/hash](http://localhost:8080/api/v2/hash)
Body:
```json
{
"url" : "https://blog.tomaszgil.me/make-the-most-out-of-your-next-migration-project",
"dev": true,
"medium": true,
"dev_api": "ShVKAZ1tb",
"medium_id": "1543cd6f0816d",
"medium_api":"2615790132f4a2d67f81e2696"
}
```
## Donating
Help Us Pay off Our Domain and Hosting Charges :smily