• Stars
    star
    191
  • Rank 201,895 (Top 4 %)
  • Language EJS
  • License
    MIT License
  • Created about 4 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

一个普通的聊天室

chat-room

chat-room

一个普通的聊天室

Snipaste_2020-08-12_18-42-17.png

Demo

Usage

Install

Run on Repl.it

Deploying on your own server

$ git clone https://github.com/journey-ad/chat-room.git
$ cd chat-room
$ yarn install

$ yarn start

Confignation

config.yml

app:
  port: 3000

db:
  type: mongodb # sqlite or mongodb or firebase

If you use mongodb, you need to specify the environment variable DB_URL

# eg:
export DB_URL=mongodb+srv://account:passwd@***.***.***.mongodb.net/db_count

repl.it can use .env file, documentation

DB_URL="mongodb+srv://account:passwd@***.***.***.mongodb.net/db_count"

How to use

The chat room URL looks like this:

https://chat.getloli.com/room/@:name?title=the title whatever

Just use your own name and title, eg:

https://chat.getloli.com/room/@test?title=a simple title

And you can open in new tab or use iframe, example

SVG Charts

By the feature of SVG <foreignObject>, we can make an SVG element contain a standard HTML page.

As we know SVG can be referenced as an image.

And then...

SVG Charts

Magical! a Real-time chart that can be inserted into any document that supports images.

Just like this guy's personal home page

This is all parameters, do it yourself:

https://chat.getloli.com/room/@test/svg?width=750&height=360&limit=20&theme=light&fontSize=13&[email protected]: ~

Credits

License

FOSSA Status

More Repositories

1

Moe-Counter

多种风格可选的萌萌计数器
JavaScript
1,301
star
2

sd-webui-bilingual-localization

Stable Diffusion web UI bilingual localization extensions. SD WebUI双语对照翻译插件
JavaScript
852
star
3

pixiv-viewer

又一个Pixiv阅览工具
Vue
259
star
4

live2d_src

基于 https://github.com/EYHN/hexo-helper-live2d 的修改版
JavaScript
237
star
5

cPlayer-Typecho-Plugin

A typecho plugin for a beautiful html5 music player https://github.com/MoePlayer/cPlayer/tree/f9b593dcd89395f9d7dd08ccda428f7628ab9ab2
PHP
129
star
6

Bitmagnet-Next-Web

🧲 A modern BitTorrent indexer, powered by Bitmagnet. / 一个更现代的磁力搜索列表程序,由 Bitmagnet 强力驱动。
TypeScript
119
star
7

Snow-Typecho-Plugin

简单的,有丰富自定义项的 typecho 页面下雪插件
PHP
74
star
8

honkai-starrail-scene

【崩坏:星穹铁道】预约页场景提取
JavaScript
61
star
9

jianpu

利用Web Audio API将数字简谱转为钢琴曲
HTML
51
star
10

journey-ad

44
star
11

hentai-wallpaper

绅士的壁纸
Python
42
star
12

slime-pixi

使用 PIXI.JS 复刻的原神史莱姆乐园活动
JavaScript
33
star
13

sd-webui-custom

给Stable Diffusion web UI加点料
Python
33
star
14

HyperMD-Typecho-Plugin

适用于Typecho的Markdown编辑器HyperMD
CSS
32
star
15

wangEditor-Typecho-Plugin

适用于Typecho的wangEditor插件 https://github.com/wangfupeng1988/wangEditor/
JavaScript
32
star
16

MDRuby-Typecho-Plugin

Typecho Markdown Ruby 标签拓展支持插件
PHP
22
star
17

oreooo

使用 Vue CLI 重置的奥利奥!
Vue
22
star
18

pixel-paint

Vue 实现的像素绘板应用
Vue
16
star
19

bilicdn

12
star
20

uebersicht-widget

我用的一些 Übersicht 小部件
JavaScript
11
star
21

blog-img

CSS
10
star
22

nocilol.me

个人博客
Stylus
10
star
23

HideText-Typecho-Plugin

为文章添加肉眼不可见的额外信息,可用于追踪未授权转载行为
PHP
9
star
24

DanmakuSender

哔站弹幕发送者uid反查
JavaScript
9
star
25

Huaji-Typecho-Plugin

A typecho plugin of Huaji.
PHP
5
star
26

cf-pages-proxy

JavaScript
4
star
27

oreooo-react

使用 React Hooks 重置的奥利奥!
JavaScript
3
star
28

qqfm-vue

Vue 制作的 QQFM 播放器
Vue
2
star
29

Image-Box-Typecho-Plugin

Image-Box for Typecho
PHP
2
star
30

journey-ad.github.io

GitHub pages index
2
star
31

Shields-Typecho-Plugin

为 Typecho 添加 shields.io 支持
PHP
1
star
32

dotfiles_autobackup

auto backup configuration dot files.
1
star