Skip to content
A Node app that reads an OPML file, converts it to Markdown, and uploads it to GitHub.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
config.json
opmltogithub.js
package.json

README.md

opmlToGitHub

A Node app that reads an OPML file, converts it to Markdown, and uploads it to GitHub.

Why

I write my readme files with LO2, its native file format is OPML. I wanted an easy way to publish these files to GitHub. This code is incorporated in the oldSchoolNightly app.

What it does

It reads the OPML for a readme file I wrote documenting how my nightly archiving script works, converts it to Markdown and uploads it to a test repository.

How to test

In the config struct, change username and repo to point to a repository of your own on GitHub.

Edit config.json, replace the value of password with your GitHub password. Highly recommend you never type the text of your password into source code.

Change the other elements of config to reflect your own usage.

Questions

If you have a question post an issue here.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.