0.5.6 • Published 6 years ago

wildfire-dev v0.5.6

Weekly downloads
33
License
GPL-3.0
Repository
github
Last release
6 years ago

Wildfire npm.io

A drop-in replacement for other comment plug-ins.

Please visit the brand new Wildfire Home Page (https://wildfire.js.org). Detailed documentation is available.

全新的 Wildfire 主页 (https://wildfire.js.org/#/zh-cn/) 已经启用了,快去那儿看看详细的文档吧。

Intro

This is a dev version of wildfire. It contains the following new features:

  • iFrame mode: wildfire now is rendered inside a <iframe> tag to avoid potential CSS collision.
  • Plugins:
    • for site owners, you can now add plugins from the Plugin Center in the header menu;
    • for developers, you can create your own plugin and publish it in wf-plugin-center for all wildfire users.

Try this version by adding to your website:

<div class="wildfire_thread"></div>
<script>
  var wildfireConfig = () => ({
    useDev: true,
    version: '0.5.6',
    databaseProvider: 'firebase',
    databaseConfig: {
        apiKey: "...",
        authDomain: "...",
        databaseURL: "...",
        projectId: "...",
        storageBucket: "...",
        messagingSenderId: "..."
    },
    theme: 'dark',
  })
</script>
<script src="https://unpkg.com/wildfire-comment"></script>

License

GNU General Public License v3.0