Git Product home page Git Product logo

pennywise's Introduction

Pennywise

Cross-platform application to open website or media in a floating window

platforms prs welcome

Pennywise opens any website or media in a small floating window that remains on top of all other applications. Pennywise windows stays up all the time. No need to keep struggling with alt + tab, use Pennywise for easy multitasking.

Features

  • Always stays on top of any open applications
  • Adjustable opacity – it gets out of your way while you work
  • Resize and place it anywhere
  • Shortcuts to make you more productive
  • Lets you multitask while you work
  • Open source licensed under MIT
  • Lean small resource footprint, minimal User Interface.
  • Cross-platform works on MacOS, Windows and Linux

Installation

Download and install the relevant distribution from the releases page.

If you are on MacOS, you can use Homebrew to install it

brew install --cask pennywise

Enable Flash Support

To enable flash support, copy or link Chrome's Pepperflash plugin into your $HOME/.pennywise-flash. You can find the plugin at the installation path of the Chrome. For example, on MacOS, you can do the below to enable Flash support

ln -s ~/Library/Application\ Support/Google/Chrome/PepperFlash/[version]/PepperFlashPlayer.plugin" ~/.pennywise-flash

Usecases

Here is the list of some of the possible use cases off the top of my head

  • Use it as a floating window for your calendar/checklist/assigned-tickets etc
  • Watching tutorial while you code? Open the video in Pennywise and keep it in front of you
  • Making a video course? Open the demo in Pennywise and show the output in real time
  • Working on some web UI? Open it in Pennywise to avoid pressing alt + tab again and again
  • Play some video, watch some talk or play some TV series while you work
  • Working on something non-familiar? Open the docs in Pennywise
  • Open that live football match that you won't want to miss
  • Use it as a desktop widget

Development

Clone the repository, install the dependencies and start the app

yarn install
yarn start

Shortcuts

Here is the list of available shortcuts that you may use

Shortcut Description
Cmd/Ctrl + L Show Navbar and focus URL input
Cmd/Ctrl + Shift + D Enable detached mode
Cmd/Ctrl + M Refresh Page
Cmd/Ctrl + Shift + L Toggle Navbar on WebPages
Cmd/Ctrl + Shift + Up Increase Opacity
Cmd/Ctrl + Shift + Down Decrease Opacity
Cmd/Ctrl + Alt + I Show Developer Tools
Cmd/Ctrl + [0-9] Switch Window Opacity

Note – Changing the opacity is only supported in Windows and MacOS

Detached Mode

  • Enabling the detached mode makes Pennywise non-interactive – it will let any interactions fall through to the window below it. To remove the detached mode, focus the window either by clicking the dock icon or by activating it using alt + tab

Screenshots

Homescreen for the application

Anything running in pennywise stays on top of everything

You can change the opacity too

Auto-embed Videos

For some video streaming websites such as Youtube, Vimeo, Twitch, Daily Motion etc, Pennywise shows you the video only web page by default (using the auto-generated embed links), showing you the video in a distract free manner. You can disable that by toggling the Edit > Embed Videos.

Note – In case of youtube, it might not work sometime when the user has put restrictions on the video – in that case, you will have to disable "Auto Embed" option from the Edit menu to make them work.

Why is it named Pennywise?

Because the application helps in floating and Pennywise loved to do that

Planned Roadmap

  • Persist options and linking options to website
  • Bookmarking links for later use
  • Write tests

Contributions

Feel free to implement anything from the roadmap, submit pull requests, create issues, discuss ideas or spread the word.

License

MIT © Kamran Ahmed

pennywise's People

Contributors

adamonsoon avatar akash-joshi avatar alxwrd avatar brpaz avatar coltnz avatar dependabot[bot] avatar hearen avatar hyunmoahn avatar ivanzoeng avatar janosorcsik avatar jwharrie avatar kamranahmedse avatar melanieseltzer avatar mickdekkers avatar mubaidr avatar newbornfrontender avatar piotreknow02 avatar sqb47 avatar tacone avatar the-code-monkey avatar zmarouf 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  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

pennywise's Issues

Opacity not changing Ubuntu 18.1

On Ubuntu 18.1, the opacity bar will increase and decrease given the command, but the actual opacity of the application does not. I have the application installed as a debian file.

Bug : Not working with internal URL.

Do you want to request a feature or report a bug?
If I type in the URL :
http://webtest2/example/

I cant reach the website. (even if it works perfectly on Chrome / ff /ie..

What is the current behavior?
Cant reach URL :
Try a search on google. I cant copy & past in the navbar it doesnt work.

Expected behavior
Go on the internal website.

Screenshots

Pennywise Version:
0.5.1
OS / OS Version:
Windows 10.

Add Console Developer Console

I am a web dev, saw this on reddit and it works as far as i am clear but my only issue is the fact it doesn't have a developer console similar to chrome, nor does it work if I have my window set to fullscreen within my mac environment.

Developer console is the only real thing stopping me from using this. would it be possible though with the dev console to make it detached from other window so i could have it in a different place.

I will add bullet pointed issues as I find them.

  • doesn't have localstorage.
  • url doesn't update if webpage changes via a link, (might be a react issue as i dev in react)

Add to Brew Cask

Super cool project!
I took the liberty of submitting a PR to Homebrew Cask for an easier installation experience on OSX.
Homebrew/homebrew-cask#54636

Feel free to take over. If you're okay with it, I'll do a PR to update the README if/once merged.

Youtube videos shows up as unavaliable

This is an issue. When I opened up Pennywise, opened up a vid link, and it proceeded to say the video was unavailable. I rebooted the app, refreshed the playlist link, and it still does not work.

screen shot 2018-11-05 at 10 44 44 pm

0.5.1:

OSX: 10.13 Mac sierra

Focussed Window Audio

Do you want to request a feature or report a bug?
Feature
What is the current behavior?
Standard behavior is that all windows or applications pass audio to the OS unless otherwise configured. Many games will mute their audio if they are not the focused window but nearly all other windows behavior is to simply output audio. I've looked for other OS programs that implement this feature for all applications, but it seems the feature is application specific rather than system wide.
Expected behavior
I use multiple instances of pennywise to watch stream of multiple sports games on a single monitor. It works fantastic for this, but while I can watch multiple games at once and focus my attention on a single window of interest, my brain can pick out the audio of that window when 4 audio sources are playing. I can manually go through and mute all except the stream of interest, but this is additional work and time. I suggest adding a feature that can allow for non-focused pennywise instances to be mute (or only play audio from focussed pennywise instance). This would allow for quick navigation and audio selection without the extra hassle of muting and un-muting when I want to change my focus to the stream of interest.
URL attempting to access
All URLs but my use case if for video
Screenshots (Optional But May Be Requested)

Pennywise Version:
Future versions
OS / OS Version:
All, but I am using Windows 10
Any issue that doesn't have all of these filled in will be closed, if yours is closed reopen with everything filled in.

Brew install 404 error

Installing via Brew on OsX fails with error: Error: Download failed on Cask 'pennywise' with message: Download failed: https://github.com/kamranahmedse/pennywise/releases/download/0.6.1/Pennywise-0.6.1-mac.zip

Issue:
Brew url is incorrect and should be: https://github.com/kamranahmedse/pennywise/releases/download/v0.6.1/Pennywise-0.6.1-mac.zip

Use mobile user-agent

Do you want to request a feature or report a bug?
feature

What is the current behavior?

Expected behavior

Screenshots

Pennywise Version:

OS / OS Version:

Why don't you use a mobile user-agent for better user experience, since the window got smaller?

Doesn't work on Ubuntu

Pennywise behaves like a normal window (doesn't stay on top). Adjusting opacity doesn't work either. No error messages.

Tested on Ubuntu 18.04. Installed version: pennywise_0.1.0_amd64.deb.

Feature advice , mobile mode or custom HTTP headers

Do you want to request a feature or report a bug?
feature
What is the current behavior?
only PC browser
Expected behavior
Mobile Mode
Screenshots

Pennywise Version:
0.5.1
OS / OS Version:
Mac OSX 10.13.3

Accessibility Options

It would be awesome if, since this is basically a chrome instance, we could control the web page's zoom level.

Alternatively, when the window is smaller in size (like a mobile screen resolution), most web pages don't seem to detect that and switch over the mobile/smaller views. I am curious if that is something that could be adjusted somehow, and wonder if that is the fault of the application or the web page being navigated to. I tested it with popular sites like Twitch and Amazon.

Preset bug reports or feature request issue templates

I think we should have some pre defined issue templates seeing as it runs across 3 different os and we have different versions we can rule out issues quicker if we ask people for OS version penny-wise version and if its a feature or but request by the template its using?

Evade mode

This is a Feature Request.

Hey, pennywise is a great idea!

What about an optional "evade"-mode?
Whenever the mouse comes near to the floating window it will move "out of the way", e.g. to the other side of the screen.
Optionally it will automatically return when the mouse leaves the area.
To select the window, some modifier key has to be held, e.g. while pressing control the window will not evade.

Command+L not working

It seems to me that command+L doesn't work on my laptop. Not sure if it's only my laptop, but other than that everything seems to be working properly. FYI, I have the latest version of Macbook Pro. Thank you.

TypeError: Cannot read property 'hide' of undefied

Hi!

I just installed pennywise_0.3.1_amd64.deb on a Ubuntu 18.04 laptop and got the following error message when try to start:

A JavaScript error occurred in the main process
Uncaught Exception:
TypeError: Cannot read property 'hide' of undefied
at BrowserWindow.mainWindow.on(/opt/Pennywise/resources/app.asar/public/electron.js:32:14)
at BrwoserWindow.emit (events.js:182:13)

Processes running:

USER       PID  PPID %CPU %MEM    VSZ   RSS PAGEIN TT       PSR S  NI  STARTED     TIME COMMAND
reini    15758  2338  5.8  0.7 1546080 121764    0 tty2       2 S   0 10:02:59 00:00:00 /opt/Pennywise/pennywise
reini    15762 15758  0.2  0.2 364980 39276      0 tty2       6 S   0 10:02:59 00:00:00 /opt/Pennywise/pennywise --type=zygote --no-sandbox
reini    15789 15758  1.5  0.6 661156 99008      0 tty2       4 S   0 10:02:59 00:00:00 /opt/Pennywise/pennywise --type=gpu-process --no-sandbox --gpu-preferences=KAAAAAAAAACAAACAAQAAAAAAAAAAAGAAEAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAA --service-request-channel-token=53A80ED8E22283BF3D82026DEA669FF6
reini    15794 15762  3.0  0.5 1085304 96772     0 tty2       1 S   0 10:02:59 00:00:00 /opt/Pennywise/pennywise --type=renderer --no-sandbox --service-pipe-token=8419ABE7B337BF1212DBA47477A6CEEC --lang=en-US --app-path=/opt/Pennywise/resources/app.asar --node-integration=true --webview-tag=true --no-sandbox --background-color=#16171a --num-raster-threads=4 --enable-main-frame-before-activation --enable-compositor-image-animations --service-request-channel-token=8419ABE7B337BF1212DBA47477A6CEEC --renderer-client-id=4 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101

What is the problem?
Is there a workaroud or fix available?

Thanks in advance.

Reini

Feature request: Specify opacity percentage

Do you want to request a feature or report a bug?
Feature request

What is the current behavior?
Must select the Decrease opacity several times. (shortcuts don't seem to work btw)

Expected behavior
Select a specific opacity percentage from the start

Screenshots (Optional But May Be Requested)
Helium screenshot:

Pennywise Version:
0.6.2

OS / OS Version:
10.13.6

I've been using helium for a while but it looks like development for it has stopped, so I'm glad I have found this one. However the fact that you can specify the opacity through the menu is pretty useful (for me at least)

About Version (Wrong URL)

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
The letter v is missing in the Help > About Version URL leading to Github's 404 page

Current URL: https://github.com/kamranahmedse/pennywise/releases/tag/0.6.2

Expected behavior
Correct URL: https://github.com/kamranahmedse/pennywise/releases/tag/v0.6.2

Add a v in the URL before the app version

        label: `About Version`,
         click() {
           shell.openExternal(`https://github.com/kamranahmedse/pennywise/releases/tag/${appVersion}`);

URL attempting to access
https://github.com/kamranahmedse/pennywise/releases/tag/v0.6.2

Screenshots (Optional But May Be Requested)

Pennywise Version:
0.6.2

OS / OS Version:
All

Any issue that doesn't have all of these filled in will be closed, if yours is closed reopen with everything filled in.

How about update for production builded app?

Do you want to request a feature or report a bug?
Do you think about update for builded app?

What is the current behavior?
I installed pennywise v0.5.1. Current latest version is v0.6.0. It is not updated.

Expected behavior
Update pennywise app from v0.5.1 to v0.6.0.

unable to reattach

Do you want to request a feature or report a bug?

Bug

What is the current behavior?

On Detaching you cannot reattach keyboard command or selecting from top menu

Expected behavior

should reattach

Screenshots

Pennywise Version:

0.5.1

OS / OS Version:

latest macos

Bookmarks

Please add a bookmark / favorites feature. Bookmarks could be displayed on the main page along with the URL field.

Toggle detached mode

Do you want to request a feature or report a bug?
feature

What is the current behavior?
when i press cmd + shift + d it changes to detached ode
to change to normal mode. have to click the icon on the doc

Expected behavior

want cmd + shift + d to be toggled detached mode <-> normal mode

URL attempting to access

Screenshots (Optional But May Be Requested)

Pennywise Version: 0.6.1

OS / OS Version: MAC

Any issue that doesn't have all of these filled in will be closed, if yours is closed reopen with everything filled in.

P.S Thanks for the awesome app! Keep up the good work👍

Doesn't open anything, be more specific

So, i want to open my steam games in a floating window and i can't do so, due to the fact that this app only opens web urls and/or media, not anything, be more specific.

Use "anything" to describe what pennywise can open is inappropriate

Do you want to request a feature or report a bug?
Neither, a document suggestion.

What is the current behavior?

Pennywise allows you to open anything in a small floating window that always stays on top of the other applications all the time

Expected behavior

Pennywise allows you to open url in a small floating window that always stays on top of the other applications all the time

At the first sight, it makes me feel that pennywise is a tool that can turn anything (in the operating system) into a floating window. For example an application window, a image, a text file. But it can only float a website it opens. This is quite misleading IMAO…

PDF working on Windows

Do you want to request a feature or report a bug?
Feature

What is the current behavior?
I just tested my old PR related to opening PDFs in Pennywise and it worked without issue in Windows 7. You might want to consider adding that feature back

OS / OS Version:
Windows 7

Allow user to toggle title bar

First of all: Thank you for starting this project. This has been a thing I needed for quite some time.

While using Pennywise, the title bar takes up quite some space and when watching full screen videos it is simply not needed. Thus I would like to suggest the option to toggle the title bar. The API needed for this feature is quite simple to implement (https://electronjs.org/docs/api/frameless-window).

image

It would also be possible to simply hide the operating system's title bar in all cases and set the draggable region to the nav bar. In this case the user could move the window when dragging the nav bar. On screens where no nav bar is present (like the welcome screen) the draggable region could be the whole interface because the option does not interfere with any component there.

If this feature is approved by the project's maintainer I would love to contribute a pull request.

Bug: MacOS - errors for commands when the window is closed

Do you want to request a feature or report a bug?

Bug

What is the current behaviour?

Mac: When you close Pennywise window, it stays in launched Apps, but you can't open the window again and when you run short-commands or press menu buttons (View -> Toggle Navbar), you receive errors.

Expected behavior

You can open Pennywise window again by pressing Cmd+N (Ctrl+N)
When you run short-commands or press menu buttons when the main window is closed - you don't see any errors

Screenshots

image

GIF:

pennywise1

Pennywise Version:

0.5.1

OS / OS Version:

macOS Mojave 10.14

Add option to hide nav-bar

For certain web pages and window resolutions, the nav-bar obstructs a lot of the screen real-estate.

I'd like to propose a change that allows the toggling of the nav-bar, and perhaps shortcuts and auto-hiding features, as well.

Just forked this (pretty awesome~) and might pin this as my first contribution

Window Title Based on Contents

Do you want to request a feature or report a bug?
Feature
What is the current behavior?
The application window always has the text "Pennywise - it will float"
Expected behavior
Update window title text based on document.title of contents shown. From any given page, if I type javascript:alert(document.title); in to the address bar, I'd like the returned contents to be the window title.
URL attempting to access
All URLs
Screenshots (Optional But May Be Requested)

Pennywise Version:
Future Veersions
OS / OS Version:
All OS, but but I am using Windows 10 x64
Any issue that doesn't have all of these filled in will be closed, if yours is closed reopen with everything filled in.

Some icons are garbage

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
Hicolor icon 16x16, 32x32, 48x48 seems to bee garbage. They show some random pixels.
The other sizes seems to be ok.

Expected behavior
Propper icons in all sizes.

URL attempting to access

Screenshots (Optional But May Be Requested)
image

image

Pennywise Version:
pennywise 0.6.0 amd64

OS / OS Version:
Distributor ID: Ubuntu
Description: Ubuntu 18.10
Release: 18.10
Codename: cosmic

Custom/collapsible Menu-Bar for Windows

The current menu bar on windows takes up a lot of space and is distracting from the content. I have seen that other electron apps have been able to create a custom bar that is much better at using the space provided.

image

Pennywise does not allow pop out windows

Do you want to request a feature or report a bug?
I guess this is somewhere in between

What is the current behavior?

Expected behavior
A popup window should open which will sign you into the application.

Screenshots

Pennywise Version:
0.5.0

OS / OS Version:
Windows 10

Not working on my Ubuntu 14.04

Do you want to request a feature or report a bug?
Bug !

What is the current behavior?
Does not launch

Expected behavior
Should work (is it ?)

URL attempting to access
No URL

Screenshots (Optional But May Be Requested)

$ ./pennywise-0.6.1-x86_64.AppImage 
5541 5535
/tmp/.mount_pennywO8MiJf/pennywise: /lib/x86_64-linux-gnu/libdbus-1.so.3: no version information available (required by /tmp/.mount_pennywO8MiJf/pennywise)
/tmp/.mount_pennywO8MiJf/pennywise: /lib/x86_64-linux-gnu/libdbus-1.so.3: no version information available (required by /tmp/.mount_pennywO8MiJf/pennywise)
Checking for update
Error: Error: Cannot find latest-linux.yml in the latest release artifacts (https://github.com/kamranahmedse/pennywise/releases/download/v0.6.1/latest-linux.yml): HttpError: 404 Not Found
"method: undefined url: https://github.com/kamranahmedse/pennywise/releases/download/v0.6.1/latest-linux.yml\n\nPlease double check that your authentication token is correct. Due to security reasons actual status maybe not reported, but 404.\n"

Pennywise Version:
0.6.1 AppImage

OS / OS Version:
Ubuntu 14.04 64bit

Any issue that doesn't have all of these filled in will be closed, if yours is closed reopen with everything filled in.

Default website on startup

Do you want to request a feature or report a ### bug?
Feature
What is the current behavior?
Opens titles page when the application is opened
Expected behavior
With the default website feature, when the application is opened, the browser automatically directs you to the default website of your choice
URL attempting to access
All
Screenshots (Optional But May Be Requested)

Pennywise Version:
Version 0.6.3
OS / OS Version:
MacOS Mojave 10.14.2

Don't update url in NavBar when movement page

Do you want to request a feature or report a bug?
feature

What is the current behavior?
Url in NavBar is not updated when movement page like click the link.

Expected behavior
Url in NavBar will change when movement page.

Is this intended?

Track Progress -- Open local PDFs (Working now)

Do you want to request a feature or report a bug?
I'll just keep this issue open to track the work on opening local PDFs

What is the current behavior?
Can't open pdfs

Expected behavior
Should Open PDFs

OS / OS Version:
All

Contributor messaging

Do you want to request a feature or report a bug?

Feature

What is the current behavior?

Non

Expected behavior

Message board, whether is it slack or if it is twitter group message for contributors to be able to talk

Spectrum chat link not available in read.me

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
Spectrum discussion link not in the read.me

Expected behavior
It should be there

URL attempting to access
Spectrum URL of Pennywise

Screenshots (Optional But May Be Requested)

Pennywise Version:

OS / OS Version:

Any issue that doesn't have all of these filled in will be closed, if yours is closed reopen with everything filled in.

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.