Git Product home page Git Product logo

hexo-deployer-rss3's Introduction

hexo-deployer-rss3

RSS3 deployer plugin for Hexo.

๐Ÿ“ Docs

For Hexo generators' using instructions, you can refer to One-Command Deployment - Hexo

A detailed tutorial can be found at Deploying Hexo Blog to RSS3

๐ŸŽ Install

npm install hexo-deployer-rss3

or

yarn add hexo-deployer-rss3

You need Node v14 or later to run it properly, old versions cannot recognize ?. and thus would cause Unexpected token error. Referrer to Optional chaining for more information.

๐Ÿ’Ž Before start...

  1. What means for privateKey field in config ?

    It's the only thing marking you as the full controller of a RSS3 persona. Remember to take good care of it.

    Theoretically you can use any ETH-compatible private keys, but we prefer you to generate one using Re: ID.

    This way, you can also get what you've published clearly in a simple way.

  2. What if I don't have any IPFS gateway accounts ?

    You can manually choose whether publish to IPFS or not by changing ipfs/deploy field.

    We also provide one pair of api key for you to enjoy RSS3, which has been provided in below demo.

    We do not promise any accessibility of files Larger than 50 MB. DO NEVER abuse it.

    Only the post html file itself could be deployed to IPFS currently. Please confirm if your theme can render correctly in single-file mode (like open generated html files after hexo g) before enabling the ipfs/deploy option.

โš™ Config

Add hexo-deployer-rss3 specified configurations info your site's _config.yml file.

deploy: # definitation root for all deployers
- type: rss3
  endpoint: https://hub.rss3.io # link to a RSS3 hub
  privateKey: 47e18d6c386898b424025cd9db446f779ef24ad33a26c499c87bb3d9372540ba # your private key, 64 chars
  ipfs: # ipfs specified configurations
    deploy: true # deploy to IPFS
    gateway: pinata # IPFS API gateway
    api: # IPFS gateway related auth credentials
      key: 74791336243c5c676fe0
      secret: 2c46a3249a3f4dce9b4fafd55304985ef14abdcd44a4f06fb0f3a4133e80c1d0

hexo-deployer-rss3's People

Contributors

candinya avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.