GithubHelp home page GithubHelp logo

weilaiqishi / bilibili_dynamic_lottery Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hexie2108/bilibili_dynamic_lottery

0.0 0.0 0.0 2 MB

B站动态转发抽奖小程序

Home Page: https://bilibili-dynamic-lottery.vercel.app

License: MIT License

JavaScript 31.66% CSS 59.58% HTML 8.77%

bilibili_dynamic_lottery's Introduction

在线演示地址

https://bilibili.mikuclub.cc/

B站动态转发抽奖小程序

本应用是 使用node.js+html+Jquery+bootstrap完成, 需要node环境支持, 通过抓取B站动态的相关数据列表, 来实现抽奖功能

运行方法

  1. 安装nodejs环境
  2. 在本项目文件夹里打开命令行 运行 npm install 安装下载依赖文件
  3. 运行 npm start 启动项目
  4. 用游览器访问 http://localhost:3000/ .

如何更改默认端口和b站api地址

  1. 重命名 .env.sample 改成 .env
  2. 替换掉里面的PORT变量即可

bilibili_dynamic_lottery

This application is completed using node.js+html+Jquery+bootstrap, needs node environment support, the lottery function is base on the user list of a specific Bilibili dynamic, the program is going the get the list and select a winner by random.

how to use

  1. Install nodejs environment
  2. Open the command line in the project folder and run npm install to install and download dependent files
  3. Run npm start to start the project
  4. Use the browser to access http://localhost:3000/ .

How to change the default port and Bilibili API address

  1. Rename .env.sample to .env
  2. Just replace the variables inside

bilibili_dynamic_lottery's People

Contributors

hexie2108 avatar weilaiqishi avatar monoglo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.