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

hexo-auto-backup

v0.0.3

Published

This Hexo plugin seamlessly automates the backup process for your Hexo data, encompassing posts, drafts, pages, and theme files, ensuring local and cloud drive storage.

Downloads

5

Readme

Hexo Auto Backup

This Hexo plugin seamlessly automates the backup process for your Hexo data, encompassing posts, drafts, pages, and theme files, ensuring local and cloud drive storage.

The automatic backup action will happen everytime when you deploy your hexo blog.

The backup cotains package.json, _config.yml and the whole of your source, themes directories from different time periods.

Since this plugin is based on Rclone, it extends support to the same range of platforms as Rclone does:

  • Local, like a portable USB or a sd card
  • FTP
  • Google Drive
  • OneDrive
  • pCloud
  • PikPak
  • SFTP
  • ......

For all the storage platforms supported by hexo-auto-backup, check https://rclone.org/

Why you need this plugin

According to 321 backup strategy: 3 Copies of Your Data, 2 Different Storage Media, 1 Offsite Backup.

This will be the best practice to properly save your precious data.

If you are using Github Pages to hold your blog, it means your drafts and theme files totally have no copies!

How to Use

Install the plugin:

npm install hexo-auto-backup

Append the plugin config to your global _config.yml:

autobackup:
    enable: true
    # Each time the hexo-auto-backup runs, it will remove backups that exceed the predefined time limit. The unit is day.
    expire: 30
    type:
        - local > A:\blog-backup
        - onedrive > \blog-backup
        - googledrive > \backup
    # Use ">" to separate the arguments.
    # The local always refers to a local disk, or a usb
    # The first argument is the remote name configured in rclone,
    # which represents a service,
    # And the second argument is the dest path.

Cloud Backup

If you wanna backup your data onto cloud drives, you must configure rclone first.

To do so, download rclone at https://rclone.org/downloads/

Then provide the path of rclone.exe in the plugin config.

rclonepath: C:\Users\lingc

Follow the rclone docs to configure your rclone with your needed platform.

Rclone is pretty nice, since they write so many friendly and useful docs, which will help your within every step.