Giter Site home page Giter Site logo

everblog's Introduction

EverBlog

Write blogs in your evernote.

NPM version Build status Dependency Status License Downloads

How to use

1. Install everblog:

$ npm i everblog -g
$ vim ~/.everblogrc

  token: xxx,
  noteStoreUrl: xxx,
  notebook: myblog

2. Clone theme, like `everblog-theme-spa`:

$ git clone https://github.com/everblogjs/everblog-theme-spa myblog
$ cd myblog && npm i

3. Open evernote:

- create a new notebook named `myblog`
- create a new note named `_config.yml`, add some configs, like: `title`, `description`
- create some notes

4. Start everblog:

$ DEBUG=* everblog start

Tips:

token and noteStoreUrl get from:

Clean Mode

$ DEBUG=* everblog start --clean

clean mode will remove inline style, only effective on evernote rich text.

Adaptors

Themes

Roadmap

  • Ghost adaptor
  • Jekyll adaptor
  • ...

Test

$ npm test

License

MIT

everblog's People

Contributors

nswbmw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

everblog's Issues

DEBUG=* everblog build出现了错误

@nswbmw 你好,我在使用everblog的时候,运行DEBUG=* everblog build出现了以下错误:

✘ itgoyo@itgoyo  ~  cd Hexo 
 itgoyo@itgoyo  ~/Hexo  DEBUG=* everblog build
Error in Thrift HTTP response: 404
(node:17781) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): [object Object]
(node:17781) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
/home/itgoyo/.nvm/versions/node/v8.1.2/lib/node_modules/everblog/node_modules/evernote/lib/thrift/transport/memBuffer.js:29
    if (this.offset + len > this.buffer.length) throw Error('MemBuffer overrun');
                                                ^

Error: MemBuffer overrun
    at MemBuffer.read (/home/itgoyo/.nvm/versions/node/v8.1.2/lib/node_modules/everblog/node_modules/evernote/lib/thrift/transport/memBuffer.js:29:55)
    at BinaryProtocol.readMessageBegin (/home/itgoyo/.nvm/versions/node/v8.1.2/lib/node_modules/everblog/node_modules/evernote/lib/thrift/protocol/binaryProtocol.js:203:38)
    at Thrift.Method.processResponse (/home/itgoyo/.nvm/versions/node/v8.1.2/lib/node_modules/everblog/node_modules/evernote/lib/thrift/thrift.js:184:27)
    at Thrift.Method.<anonymous> (/home/itgoyo/.nvm/versions/node/v8.1.2/lib/node_modules/everblog/node_modules/evernote/lib/thrift/thrift.js:165:42)
    at wrapTransport (/home/itgoyo/.nvm/versions/node/v8.1.2/lib/node_modules/everblog/node_modules/evernote/lib/thrift/protocol/binaryProtocol.js:48:20)
    at IncomingMessage.<anonymous> (/home/itgoyo/.nvm/versions/node/v8.1.2/lib/node_modules/everblog/node_modules/evernote/lib/thrift/transport/binaryHttpTransport.js:82:27)
    at emitNone (events.js:110:20)
    at IncomingMessage.emit (events.js:207:7)
    at endReadableNT (_stream_readable.js:1047:12)
    at _combinedTickCallback (internal/process/next_tick.js:102:11)

if (this.offset + len > this.buffer.length) throw Error('MemBuffer overrun')google查了一下,跳转到了

evernote/evernote-sdk-js/issues
里面有给出try catch的,但是不是一样的代码,由于不是很懂网站端的知识,请问这个要怎么解决呢?希望您能在闲暇之余,解答一下,拜谢。

SyntaxError: Unexpected token function

sync function showConfig () {
      ^^^^^^^^

SyntaxError: Unexpected token function
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:542:28)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.runMain (module.js:604:10)
    at run (bootstrap_node.js:389:7)
    at startup (bootstrap_node.js:149:9)

~/.everblogrc must include:

$ DEBUG=* everblog start

~/.everblogrc must include:

token: "xxx"
noteStoreUrl: "xxx"
notebook: "xxx"

————————————————
你好,可以确定这个文件下是有这三个的,而且如果token;noteSoreUrl;notebook这三个字符写错后会报其他的错。
希望您有时间的时候能帮忙看一下。

everblog-contrib-gravatar ?

我打算来做一个 everblog-contrib-gravatar 好让 theme 作者或者用户选择是不是直接启用 gravatar 上的头像。

但是 everblog 的 plugins 叫做 everblog-contrib-* 科学不科学呢?

各位有没有更好的想法呀

authenticationToken

Hi, when I execute :

DEBUG=* everblog build

here is error:

everblog getNotebook -> myblog +0ms                                                            
everblog findNotes -> 1 +44ms

 EDAMSystemException: authenticationToken

I assure the yinxiang's dev_token is correct in ~/.everblogrc.
What I can do? Thank you.

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.