npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

press2blogger

v1.0.3

Published

Moving or backing up your Wordpress site to Blogger

Downloads

13

Readme

Press2Blogger

oclif Version CircleCI Appveyor CI Codecov Downloads/week License

A node command line application (CLI) that could help you move or backup your current website from Wordpress to Blogger.

This is still in its early stages of development, so do expect bugs and errors. So that, please open issue here to make it better. Your contributions are very welcome!

press2blogger is written in TypeScript using oclif (a Node.JS Open CLI Framework).

Requirements

  • Node 8.0+

Installation

$ npm install -g press2blogger

Usage

USAGE

$ press2blogger [WP_SITE_URL] [BLOGGER_ID]

OPTIONS

-f, --force        update post in local storage if exists
-h, --help         show CLI help
-l, --limit=limit  <number> maximum post items to fetch (default: all)
-o, --output       <boolean> get posts from local storage and generate XML file
-p, --publish      <boolean> publish a post after synchronizing
-s, --start=start  <number> start page to fetch (default: 1) or start offset to query from local storage (default: 0)
-u, --upload       <boolean> upload post images from host to blogger (picasa)
-v, --version      show CLI version

Examples

  1. Backup all posts from http://wp-themes.com to my sample blogger http://press2blogger.blogspot.com (using v1.0.0)

  1. ... More examples will come soon !

FAQs

1. Current album is full, please create a new one manually...

Because Google was not allow create an album by API anymore.. so that when facing this warning, you should create an album manually before continue

  • Open your browser and create/edit a post on your current blog
  • Click "Insert Image" on toolbar, then upload an picture from computer.
  • After upload success, Google Photos will create new album for your blog, you can back to the console and confirm "Yes" to continue

2. Upload error: ... UNKNOWN_ERROR

Sometimes Google return error when calling upload API, so if you get this error, just wait for some minutes and press "Yes" to retry You can also skip uploading some images and move to next post if "Retry" not working

Change Logs

1.0.3

  • Fix bug when run with option "--output"

1.0.2

  • Check and re-create access_token everytime before calling APIs
  • Prompt user to retry upload/download images when fail

1.0.1

  • Support some options: --upload, --publish, --start, --limit, --output
  • Make output messages more beautiful
  • Fix some minor bugs when synchorinzing post and images

1.0.0

  • First release with simple commnand

TODO

  • [ ] Check if image is already exist then skipping download/upload
  • [x] Re-create access_token when it expired when process still running

License

MIT © Ngoc L.B.