GithubHelp home page GithubHelp logo

chr's People

Contributors

sysr-q avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

chr's Issues

Add "burn after reading" one use links

These links should be removed from the database after being visited.
This would probably require adding an extra database field, so it will mean that there will have to be some sort of migration tool. This could just export all the urls to a file/string, modify it, then modify the database and import.

Visitor statistics shows percentages over 100%

I'm not certain what in particular is the issue (the math may just be off), but it appears to be showing incorrect percentages.

On the chr.so instance for example, /2/stats displays a visitor return ratio of 175%! (With 7 unique visitors, and -3 repeat at the time of writing).

This is definitely something which needs a fix, so it will have to be looked into.

v3.0 refactor

These are separated into sections, because apparently GHM doesn't allow n-layered check lists.


  • Package refactor
  • chru.api.web.v1? Really, past me?
  • chru.web seems redundant, since, by default, this really is a web based project.
  • chru.utility.funcs:real_ip can be replaced with a ProxyFix solution.

  • General code cleanup
  • Documentation - it's skimpy in some areas, and beefy in others. It should be given a thorough look over.
  • The adding/modification of URLs is overly complicated - what can we do about this?
  • The CLI based API manager can easily be moved over to use the standard library cmd.Cmd class.

  • Misc things
  • Move from use of mattdaemon to some higher-level server, like gunicorn, giving the host more control over how it's run.
  • Use redis rather than sqlite3
  • Fix strange statistics, as highlighted by #1
  • Add burn-on-read links (#2). This will need some serious scheming to implement decently.
  • There's no API in the current v3 refactor - I'm not sure if anyone used the old API, so I might just add a basic JSON endpoint for shortening URLs if recaptcha is disabled.

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.