0.0.0 • Published 4 years ago
scroll.chat.dev v0.0.0
scroll.chat
Install:
<script src="https://unpkg.com/scroll.chat@latest/bundle.js" /></script>
npm install scroll.chat
yarn add scroll.chat
Embed:
<!DOCTYPE html>
<html>
<!-- ... -->
<div style="position: absolute;">
<!-- your page content -->
</div>
<scroll-chat />
</html>
Customize:
<scroll-chat theme="dark" chat="closed"/>
Developing
scroll.chat is a Svelte web component with GunDB.
/
: localhost:5000
- develop:
yarn dev
- build:
yarn build
/site
: https://scroll.chat
- develop:
sirv .
- deploy:
surge . scroll.chat
/public
: https://www.npmjs.com/package/scroll.chat
- deploy:
yarn publish
To run a server peer locally, clone & run scroll.chat.server (and update gun-store.js
to point to the local peer).
0.0.0
4 years ago