Giter Club home page Giter Club logo

mouselog's Introduction

Mouselog 🐾

NPM version npm download

Mouselog is a web-based platform for website owners to log, visualize and analyze user behaviors like mouse trace data.

Live Demo

https://mouselog.org/

Architecture

Mouselog contains 3 parts:

Name Description Language Source code Release
Client-side Agent Mouselog client-side agent that runs on end-user's browser to send mouse trace data to Mouselog server-side Javascript N/A (Closed-source) https://npmjs.com/package/mouselog
Server-frontend Web frontend UI for Mouselog server-side Javascript + React + Ant Design https://github.com/microsoft/mouselog/tree/master/web N/A
Server-backend RESTful API backend for Mouselog server-side Golang + Beego + MySQL https://github.com/microsoft/mouselog N/A

Installation

Client-side Agent

mouselog

The client-side agent is not open-source anymore. The latest release on NPM is v0.5.0.

Server-side

  • Get the code:
go get github.com/microsoft/mouselog
  • Prepare a Xorm ORM supported database (MySQL is recommended), replace root:123@tcp(localhost:3306)/ in conf/app.conf with your own connection string. Mouselog will create a database named mouselog and necessary tables in it if not exist. All Xorm supported databases are listed here.

  • Run Server-backend (in port 9000):

go run main.go
  • Run Server-frontend (in the same machine's port 4000):
cd web
npm install
npm start
  • Open browser:

http://localhost:4000/

License

This project is licensed under the MIT license.

If you have any issues or feature requests, please contact us. PR is welcomed.

mouselog's People

Contributors

abenz1267 avatar hsluoyz avatar kingiw avatar lutfuahmet avatar microsoft-github-operations[bot] avatar microsoftopensource avatar sxwxs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

mouselog's Issues

Server-backend (in port 9000) exit status 2

I tried to run the backend server via go run main.go, but got the following exception:

$ go run main.go
2020/02/04 13:56:51.765 [I] [parser.go:112]  generate router from comments
panic: dial tcp [::1]:3306: connectex: Der kunne ikke oprettes forbindelse, fordi destinationscomputeren aktivt nægtede det.

goroutine 1 [running]:
github.com/microsoft/mouselog/trace.(*OrmManager).open(0xc0001bc6f0)
        C:/Users/Jennifer Matthiesen/go/src/github.com/microsoft/mouselog/trace/orm_manager.go:60 +0x138
github.com/microsoft/mouselog/trace.NewOrmManager(0xafa84d, 0x5, 0xc000020920, 0x1d, 0x1d)
        C:/Users/Jennifer Matthiesen/go/src/github.com/microsoft/mouselog/trace/orm_manager.go:39 +0x84
github.com/microsoft/mouselog/trace.InitOrmManager()
        C:/Users/Jennifer Matthiesen/go/src/github.com/microsoft/mouselog/trace/orm_manager.go:14 +0x7a
main.main()
        C:/Users/Jennifer Matthiesen/go/src/mouselog/main.go:14 +0x2d
exit status 2

Can you help me with this?
Jennifer

Asnyc upload

Looking at the JS repo it seems that it only does bulk upload ?

It would be really nice if this supported GRPC with Golang and JS. It would be much easier to use and extend i think.

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.