All Projects → thinkjs → cicada

thinkjs / cicada

Licence: other
Favorite article collections system

Programming Languages

HTML
75241 projects
javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to cicada

think-sequelize
Sequelize Extend for ThinkJS 3.x
Stars: ✭ 13 (-85.71%)
Mutual labels:  thinkjs
Nideshop Mini Program
NideShop:基于Node.js+MySQL开发的开源微信小程序商城(微信小程序)
Stars: ✭ 7,115 (+7718.68%)
Mutual labels:  thinkjs
Thinkjs2 Demos
demos for ThinkJS 2
Stars: ✭ 101 (+10.99%)
Mutual labels:  thinkjs
Hioshop Admin
海风小店,开源商城,微信小程序商城管理后台,后台管理,VUE
Stars: ✭ 452 (+396.7%)
Mutual labels:  thinkjs
Hioshop Miniprogram
海风小店,开源商城,微信小程序商城
Stars: ✭ 779 (+756.04%)
Mutual labels:  thinkjs
Mpvue Xbyjshop
前端mpvue🚀后端nodejs🔋+thinkjs+mysql📂微信小程序商城
Stars: ✭ 973 (+969.23%)
Mutual labels:  thinkjs
think-pagination
Pagination for ThinkJS 3 & 2
Stars: ✭ 13 (-85.71%)
Mutual labels:  thinkjs
Thinkjs Vue.js Blog
使用 ThinkJS+Vue.js+mysql 开发的博客程序,演示地址:
Stars: ✭ 190 (+108.79%)
Mutual labels:  thinkjs
Think Html Cache
html-cache middleware for ThinkJS 2.0
Stars: ✭ 6 (-93.41%)
Mutual labels:  thinkjs
Sahx Admin
SAHX-Admin 是套功能较为完整的后台管理系统架构, 以Thinkjs 作为中间层, Vuejs作为前端模块化开发, AdminLET作为前端UI, 实现了前后端分离, 前端组件化, 便于多人协同开发.
Stars: ✭ 80 (-12.09%)
Mutual labels:  thinkjs
My Bookmark
在线书签管理工具
Stars: ✭ 481 (+428.57%)
Mutual labels:  thinkjs
Thinkjs
Use full ES2015+ features to develop Node.js applications, Support TypeScript.
Stars: ✭ 5,255 (+5674.73%)
Mutual labels:  thinkjs
Node Bigpipe
A super easy, lightweight Bigpie Module for Nodejs, Express, Sails, ThinkJS with good intergration for web framework
Stars: ✭ 77 (-15.38%)
Mutual labels:  thinkjs
Hioshop Server
海风小店,开源商城,微信小程序商城服务器端
Stars: ✭ 331 (+263.74%)
Mutual labels:  thinkjs
Firekylin
A Simple & Fast Node.js Blogging Platform Base On ThinkJS3 & React & ES2015+
Stars: ✭ 1,804 (+1882.42%)
Mutual labels:  thinkjs
hawk-eye
前端监控:定时监控站点渲染情况,记录异常并保存截图: puppeteer, thinkjs,mongodb,headless-chrome,vuejs
Stars: ✭ 88 (-3.3%)
Mutual labels:  thinkjs
Thinkjs Performance Test
ThinkJS 2.x Performance Test vs Koa, Express, Sails.js
Stars: ✭ 14 (-84.62%)
Mutual labels:  thinkjs
cicada
Cicada Language
Stars: ✭ 9 (-90.11%)
Mutual labels:  cicada
Www.thinkjs.org
ThinkJS website
Stars: ✭ 171 (+87.91%)
Mutual labels:  thinkjs
Cmswing
一款基于ThinkJS(Node.js MVC)和MySQL的功能强大的(PC端,手机端和微信公众平台)电子商务平台及CMS建站系统
Stars: ✭ 1,224 (+1245.05%)
Mutual labels:  thinkjs

cicada - favorite article collections

A favorite article collections application based on Node.js & ThinkJS.

Cicada can crawl content of target url to prevent can not view the contents of the original page because of failure. There has full version and concise version base on whether contains reference resources like JS and CSS.

Tips: Spider can't crawl page need login.

Installation

Confirm your Node.js version >= 0.12.0, then run following command:

git clone [email protected]:thinkjs-team/cicada.git
cd cicada;
npm install;

Tip: If you want to use kinle push service, you need npm install html-pdf at the end.

Docker

You can also run it by Docker:

docker run -p 5678:5678 -v ./cicada.sqlite:/opt/cicada/sqlite/cicada.sqlite lizheming/cicada

Configuration

Modify src/common/config/config.js:

export default {
  port: 5678, //service start port
  protocol: 'http', //domain protocol
  token: 'TOKEN_VALUE', //token to check before every operation
  website_title: 'welefen\'s favorites', //site's title
  visibility: 'public'  //set private to check token before view articles
};

Compile

npm run compile;

run this command to compile code.

Use MySQL instead of SQLite

Default cicada uses SQLite to store data. If you want to use MySQL instead of SQLite, you should modify config file src/common/config/db.js:

export default {
  type: 'sqlite',
  name: 'cicada',
  prefix: 'ci_',
  encoding: 'utf8',
  nums_per_page: 10,
  cache: {
    on: true,
    type: '',
    timeout: 3600
  },
  adapter: {
    mysql: {
      host: '127.0.0.1',
      port: '',
      user: 'root',
      pwd: 'root'
    },
    sqlite: {
      path: think.ROOT_PATH + '/sqlite'
    }
  }
};

Change type value to mysql, and adapter.mysql with right mysql info.

Then you should create a database name cicada and import mysql/cicada.sql to it.

Start service

Install pm2 in global and run pm2 to check if exists.

Modify cwd value to current cicada's path in pm2.json file.

run pm2 startOrReload pm2.json to start service.

Config nginx.conf

Modify nginx.conf and soft link to nginx conf folder, then reload nginx.

Add bookmark

Drag bookmarks in the site's footer to your browser bookmarks bar.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].