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

@elog/sdk-notion

v0.14.0

Published

elog的Notion SDK,从Notion写作平台获取文章

Downloads

2,562

Readme

前言

在遇到Elog之前,你的博客可能是:

  • 本地编辑器书写 + Hexo/Hugo/Vitepress部署
  • 语雀记录
  • Notion记录和发布
  • WordPress在线书写和发布
  • GHost在线书写和发布
  • Github记录
  • 掘金/知乎等在线平台记录

可以发现,大部分博客平台要么自己提供在线编辑器,要么就让用户本地书写再进行进行部署。 可惜目前好用的编辑器大都都不是博客平台自己提供的,而是一些第三方编辑器,代表产品:

  • Notion:出色的数据库设计,灵活度非常高
  • FlowUs:仿Notion的国内文档产品,用了下还不错
  • 飞书云文档:也是一个很出色的在线协同文档工具,主打工作/团队场景,也有个人版
  • 语雀:阿里出品,笔者觉得很不错的一款在线编辑器,涵盖日常个人、工作所需要的各种场景,够用
  • Typora:一款出色的本地编辑器,支持实时预览和流程书写,可惜新版本收费了

而博客平台一般分为两类,一种是轻量化的,只负责渲染文档不提供编辑器,代表产品:

  • Hexo
  • Vitepress
  • HuGo

一种是内容管理系统软件,相对上面这些比较重,初期涉及到数据库和手动部署,拥有自己的编辑器,代表产品:

  • WordPress
  • GHost

Elog

如果我既想用最熟悉、最舒适的编辑器,又想用主流的博客平台,怎么办呢?

Elog就是为了解决这个问题而诞生的。

Elog将这些平台揉合在一起,你可以随意组合写作平台和博客平台,目前支持:

写作平台

  • [X] Notion
  • [X] 语雀
  • [X] FlowUs
  • [X] 飞书云文档

博客平台

  • [X] Hexo
  • [X] Vitepress
  • [X] HuGo
  • [X] Docusaurus
  • [X] Docz
  • [X] Halo
  • [X] Confluence
  • [X] WordPress

博客平台目前支持所有类似 Hexo 的框架:通过向指定目录存放 markdown 文档来进行渲染的方式

🌅 图床功能

和很多在线平台一样,Notion和语雀也同样存在图片防盗链的问题,直接将写作平台的图片链接放到其他站点的话,会加载不出来。 为了解决这个问题,Elog支持了在生成MD文件之前,将扫描到的图片上传到图床上,并对文档中的图片链接进行替换。 当前支持的图床有:

  • [X] 本地
  • [X] 腾讯云COS
  • [X] 阿里云OSS
  • [X] Github图床
  • [X] 七牛云
  • [X] 又拍云

你也可以通过自定义图床插件的方式上传文档图片到任意图床

社区图床插件

✨ 特性

  • 📝 写作平台支持语雀/Notion/FlowUs/飞书云文档
  • 🚀 博客平台支持所有通过渲染本地 Markdown 文档生成静态站点的博客平台
  • 🚀 博客平台支持Halo/Confluence/WordPress站点
  • 🌅 图床平台支持存放到本地或上传到阿里云/腾讯云/Github/七牛云/又拍云
  • 📦 支持生成Front Matter Markdown
  • ⚙️ 支持自定义文档处理适配器
  • 🛡 支持自定义图床插件

更多详情见 ELog 开发计划

🔨 快速上手

Elog 使用文档

备用文档地址1:https://1874.notion.site

备用文档地址2:https://wordpress.1874.cool

📦 开箱即用

🔗 最佳实践

🌍 交流与反馈

如果遇到问题,请 提交 issue 或在 discussions 中留言

🥫支持

  • 我有两只猫,假如觉得 Elog 让你生活更美好,可以给猫 喂罐头 🥫
  • 如果你喜欢 Elog,可以在 Github Star,更欢迎推荐给你志同道合的朋友使用。

🌹 感谢

感谢以下用户贡献了很多bugs和建议

感谢下列项目提供了灵感

🔗 友情链接

  • youdaonote-pull 有道云笔记导出工具
  • NotionNext 相比 Elog,支持更多 Notion 富文本格式。使用 NextJS + Notion API 实现的,支持多种部署方案的静态博客,无需服务器、零门槛搭建网站,为Notion和所有创作者设计