Giter Site home page Giter Site logo

sheshbabu / freshlytics Goto Github PK

View Code? Open in Web Editor NEW
349.0 8.0 24.0 4.5 MB

Open source privacy-friendly analytics

License: MIT License

TypeScript 92.85% CSS 2.34% HTML 0.43% JavaScript 3.58% Dockerfile 0.80%
privacy-preserving privacy-by-design analytics privacy web-analytics monitoring self-hosted

freshlytics's People

Contributors

dependabot[bot] avatar omrprks avatar resynth1943 avatar sheshbabu avatar wlwl2 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  avatar

freshlytics's Issues

Migrations/seeds doesn't work in Docker and production

Because src/server/migrations isn't included at all and not ts-node and required directories either.
Could be fixed by using a npm run migrate:prod for example. If I find some time in the coming days I'll put up a PR!

Not Updating

I've been running Freshlytics for a couple days now. I have the tracker code snippet in 2 websites but I'm not getting info on either one. There are no obvious errors in the docker-compose logs. Is there something else I should be doing?

Great Express model management for PostgreSQL

Thanks for the great example to help me learning pg + express.
Where could I contact you to ask more questions in future? Such as email, twitter ...etc.

For now, I'd just put my question here. ^_^

It seems you only use a small part of node-pg-migrate to run SQL file:
"migrate": "node-pg-migrate -m ./src/server/migrations -j sql up",

for -j sql , from document, https://salsita.github.io/node-pg-migrate/#/cli?id=configuration
migration-file-language (j) - Language of the migration file to create (js or ts)
it only support js or ts, not SQL.

Could I write a simple function run all SQL files in migrations folder order by SQL file name timestamp(s) ?

Fyi,
I got here from this reddit link: https://www.reddit.com/r/node/comments/da3stw/sequelize_vs_nodepostgres_nodepgmigration/f1vgy65/?utm_source=reddit&utm_medium=web2x&context=3

You were added to awesome-humane-tech

This is just a FYI issue to notify that you were added to the curated awesome-humane-tech in the 'Analytics' category, and - if you like that - are now entitled to wear our badge:

Awesome Humane Tech

By adding this to the README:

[![Awesome Humane Tech](https://raw.githubusercontent.com/humanetech-community/awesome-humane-tech/main/humane-tech-badge.svg?sanitize=true)](https://github.com/humanetech-community/awesome-humane-tech)

https://github.com/humanetech-community/awesome-humane-tech

Add automated security vulnerability scanner

Hey there,

Would be nice/good to have an automated vulnerability scanner to find any issues with npm packages, etc.

I'm partial to using Snyk (which is free for open-source projects and is available on the Github Marketplace), but if you're used to or more comfortable with any others (like Dependabot) that would be cool too!

Google Analytics

Hiya,

Since your project is well thought out in terms of privacy, perhaps we could work together to remove Google Analytics from the documentation?

Hey, we could use Freshlytics. ๐Ÿ˜‰

External Database

I am unable to connect to an external database from freshlytics

version: "3"

networks:
  web:
    external: true

services:
  freshlytics:
    image: freshlytics/freshlytics
    command: npm start
    container_name: Analytics
    networks:
      - web
    ports:
      - "80:3001"
    environment:
      - DATABASE_URL=postgresql://dbuser:dbuser-password@dbhost:dbportnum/frshlytics?sslmode=require
      - NODE_ENV=production

Log:

Starting Analytics ... done
Attaching to Analytics
Analytics      | 
Analytics      | > [email protected] start /app
Analytics      | > node ./dist
Analytics      | 
Analytics      | Failed to prune sessions: no pg_hba.conf entry for host "x.x.x.x", user "dbuser", database "dbname", SSL off

Add optional .png tracker instead of .js tracker for blockers

One of the first things I noticed when visiting my website after putting the freshlytics script in the page is that uBlock:Origin immediately blocked it (which I disabled shortly after for my site).

Because of this, I was wondering if it would be possible for freshlytics to "generate" a 1px by 1px invisible png file with the same filename as the ID token for the script that, when loaded, counts as a pageview. I would imagine that no actual .png would exist on the hard-drive anywhere, but when a request is put in for the freshlytics server, it would just return the data required for a png and tell the client requesting it that it exists, etc. etc.

The real hat-trick would be to make it so that you can embed both in your page, but it only counts it once if either-or-both load in the same go, in case javascript is being blocked.

If this isn't feasible or is outside the scope of the project, feel free to close this issue.

Self host Lato font

Instead of loading it from Google fonts

Requires modification to the way Semantic UI is consumed

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.