Giter Club home page Giter Club logo

coffitivity-offline's Introduction

Coffitivity Offline

Latest version 1.0.2 adds keyboard shortcuts to the app

Coffitivity's desktop app built with the powers of web technology and ElectronJS. ๐ŸŽง ๐Ÿš€

looking for Download? Go to Download page.

Reporting issues

Please visit our Github Issues Page to discuss bugs and issues.

Development Setup

To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer. We will also be using Electron Forge for building our desktop native app. Next open up Terminal or your favourite command line tool:

   # First go to the directory where you want to install Coffitivity Offline
   # Next we'll clone the repository
git clone https://github.com/siwalikm/coffitivity-offline.git
   # install Electron-Forge globally on your system
npm install -g electron-forge
   # Go into the repository
cd coffitivity-offline
   # Install all the dependencies of this project
npm install
   # Run the app
electron-forge start

Building native app

(supports only MacOS for now)

   # Go into the repository
cd coffitivity-offline
   # Install all the dependencies of this project
npm install
   # Run Build Script
electron-forge make

This creates a compiled dmg file in the folder "../out/make" in your application's root directory.

To edit specificities of the MacOS build, go to your package.json file and edit the following property.

"electronPackagerConfig": {
        "packageManager": "npm",
        "name": "Coffitivity Offline",
        "icon": "./assets/icon.png.icns"
      },

coffitivity-offline's People

Contributors

larsjanssen6 avatar siwalikm 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  avatar  avatar

coffitivity-offline's Issues

JS exception

This software is so great! Thank you for making this.

I just downloaded 1.0.1 and got this error after running for a few seconds:

screen shot 2017-10-16 at 11 01 25 am

Mac OS 10.12.6. Audio continues to play โ€” it's just that an error appears. Reporting this in case it's helpful.

Add keyboard shortcut to the app

shortcuts required for the following=>

  1. pause/play =>p button and spacebar
  2. Go to music details page => right arrow
  3. Go to music list page => left arrow
  4. minimise app => esc button

P.S. No Jquery.. native Javascript only

Ability to hide the app

Currently, there is no option to hide the app and as such it always has its window available. It would be a nice enhancement to the app to be able to hide it from view.

Brief pause/hiccup when looping audio

I don't want to push my luck here, butโ€ฆ

Occasionally, there is very brief pause in the audio โ€” perhaps about 0.5 sec. I assume this is occurring when the end of the track is reached, and the app is restarting playback of the track at the beginning.

This break tends to interrupt my focus, somewhat negating the (great!) value of the white noise. So, I don't want to sound ungrateful, but, time and energy permitting, I'd propose stitching this break back together, either by:

  • Modifying the audio track so the end crossfades into the beginning, then eliminating any playback "pause" during the transition, or (if that's not technically possible, given JavaScript's finickiness with audio)โ€ฆ
  • Play two audio tracks/channels at any given time. Play the main audio on channel 1, then, 5-10 seconds before the end, begin playback of the same track, but on channel 2. Fade channel 2 in as channel 1 is faded out. Then, repeat in the opposite direction.

Observed on 1.0.2.

"Coffitivity Offline" cannot be opened because the developer cannot be verified.

Hi,

I recently downloaded Coffitivity Offline from here:
https://coffitivity-offline.siwalik.in/

I then installed it by opening download and dragging it into my Applications folder.

However, when I attempt to open it, I get the following Mac OS error:

"Coffitivity Offline" cannot be opened because the developer cannot be verified.
macOS cannot verify that this app is free from malware.

image

I'm running macOS Sonoma 14.1

Tracks arent looping

How to replicate:

  • Open app
  • Select 'Morning Murmur'
  • Play until the end of the track ~20-30 minutes.
  • The track will finish and not start again.

Volume Control?

Not an issue, but an idea of sorts. Is there any way to add a volume control to this? I'm still novice at this and don't want to botch the code.

Re-create menu bar ui?

I miss the classic Coffitivity living in the menu bar... any chance the company/official project would share the code for that with you???

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.