Coder Social home page Coder Social logo

crazy-marvin / sneak.page Goto Github PK

View Code? Open in Web Editor NEW
22.0 4.0 6.0 7.64 MB

Get an overview of sneak previews in your local cinema(s)

Home Page: https://sneak.page/

License: Apache License 2.0

Elm 3.19% HTML 96.50% Dockerfile 0.18% TypeScript 0.13%
sneak preview sneakpreview cinema surprise movie elm hacktoberfest

sneak.page's Introduction

GitHub Workflow Status (branch) Vercel Powered by Vercel Elm Meetup Hannover Project sneak.page uses Sentry sneak.page uses Supabase Last commit Codacy Badge codecov Releases Latest tag Issues Pull requests #Hosted Weblate Dependabot sneak.page PingPing sneak.page updwown.io Website sneak.page Status

sneak.page

sneak.page gives you an overview of sneak previews in your local cinema(s).

Contributing

The development or a feature branch is used while developing the code, and pushed into the master branch trunk afterwards for releases. PRs to the trunk need at least one approving review before getting merged.

Help translate the app at Hosted Weblate.

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Check out the contribution guidelines for details please.

Credits

I am extremely grateful that the Elm Hannover Meetup guided me through this project. ๐Ÿ˜

Additionally a huge thanks goes to my sponsors Oh Dear, updown.io, PingPing, Instatus, Hetzner, DigitalOcean, Google Cloud. JetBrains, 1Password, GitHub, F-Droid, Vercel, Sentry and Hosted Weblate.

License

MIT License

sneak.page's People

Contributors

comradekingu avatar crazymarvin avatar dependabot[bot] avatar poopjournal avatar

Stargazers

 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

sneak.page's Issues

Website Analytics

Maybe something like Fathom and Matomo ๐Ÿค”

<!-- Fathom - simple website analytics - https://github.com/usefathom/fathom -->
<script>
(function(f, a, t, h, o, m){
	a[h]=a[h]||function(){
		(a[h].q=a[h].q||[]).push(arguments)
	};
	o=f.createElement('script'),
	m=f.getElementsByTagName('script')[0];
	o.async=1; o.src=t; o.id='fathom-script';
	m.parentNode.insertBefore(o,m)
})(document, window, '//www.analytics.party/tracker.js', 'fathom');
fathom('set', 'siteId', 'HGCIM');
fathom('trackPageview');
</script>
<!-- / Fathom -->
<!-- Matomo -->
<script>
  var _paq = window._paq = window._paq || [];
  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
  _paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
  _paq.push(["setCookieDomain", "*.sneak.page"]);
  _paq.push(["setDomains", ["*.sneak.page"]]);
  _paq.push(['trackPageView']);
  _paq.push(['enableLinkTracking']);
  (function() {
    var u="https://poopjournal.rocks/piwik/";
    _paq.push(['setTrackerUrl', u+'matomo.php']);
    _paq.push(['setSiteId', '32']);
    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
    g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
  })();
</script>
<noscript><p><img src="https://poopjournal.rocks/piwik/matomo.php?idsite=32&amp;rec=1" style="border:0;" alt="" /></p></noscript>
<!-- End Matomo Code -->

Feedback Report

Something like helppie or Freddy Feedback or Usersnap maybe.

Challenges I want to tackle:
Users should be able to submit feedback including suggestions for new features or improvements and report bugs with visual feedback.

Database Planning

I created four tables:

  • cinemas
  • movies
  • past_screenings
  • upcoming_screenings

tables

Is that sufficient?

Authentification will go into a separate database so we can leave this out here.

Sync Data From TMDB Into Supabase

The data from the The Movie Database (TMDB) API shall be saved in Supabase so that we don't have to query TMDB often.

TMDB sneak.page
original_title title
runtime runtime
overview synopsis
tmdb_id tmdb_id
imdb_id imdb_id
Poster? Poster?

Is there a solution within Supabase which could be used for this like Edge Functions or a direct command in the database? ๐Ÿค”

Regarding the poster, I am not sure if it should go directly into the database or into an object storage. I suppose an object storage might be better though.

The function should provide a route that the consumer will request the movie info from, when this happens it will go first to see if it is saved in Supabase. If yes, will serve it from Supabase, if not will fetch it from TMDB remote API and then store it and finally return it as a response.

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.