sindresorhus / caprine Goto Github PK
View Code? Open in Web Editor NEWElegant Facebook Messenger desktop app
Home Page: https://sindresorhus.com/caprine
License: MIT License
Elegant Facebook Messenger desktop app
Home Page: https://sindresorhus.com/caprine
License: MIT License
--platform=darwin --arch=x64
=> --all
.brew cask install caprine
Error: Cask 'caprine' definition is invalid: Bad header line: parse failed
Not familiar with Homebrew casks so cannot help out with this.
Being a messaging app, it's more useful if it's running all the time so messages can always come in. That being said, it kinda stinks that it has to take up valuable real estate in the dock. What would be nice to have is the option to move the app into the menu bar.
Also, #6 could be solved here by "minimizing" to the menu bar instead of quitting the app entirely.
> brew cask install caprine
Error: No available Cask for caprine
Error: nothing to install
2015-10-05 13:42:49
As expected, if the text input box is empty the placeholder text appears "Type a message...".
On typing a message ("test 1 2 3"), then pressing return to send, the following happens:
Caprine 0.2.0
darwin x64 14.5.0
Having the window closed, but reopened when a chat comes in would be more useful for me.
#52 So it is not possible, or easily possible, to start Caprine minimized to the tray in Linux. This should be a option in settings/preferences, or at least available in the command line so it is easier to accomplish.
Could you please include support for hidpi? The font looks quite small on Windows 10.
please add support for configuring proxy
Could we make the cmd+w functionality on the Mac not close the app but just close/hide the window?
When the main Window is minimized in OS X Dock, Caprine > Préférences or File > New Conversation produces an error window:
A JavaScript error occurred in the main process
Uncaught Exception:
TypeError: Cannot read property 'webContents' of undefined
at sendAction (/path/to/Caprine.app/Contents/Resources/app.asar/menu.js:9:34)
at click (/path/to/Caprine.app/Contents/Resources/app.asar/menu.js:27:6)
at MenuItem.click (/path/to/Caprine.app/Contents/Resources/atom.asar/browser/api/lib/menu-item.js:58:20)
at Function.delegate.executeCommand (/path/to/Caprine.app/Contents/Resources/atom.asar/browser/api/lib/menu.js:127:69)
As of version 0.5.0, Caprine crashes on Linux after starting up. It looks like the issue is related to the new tray icon.
When you start up, it displays a pop-up window displaying the following message:
Uncaught Exception:
TypeError: Error processing argument -1.
at TypeError (native)
at module.exports.win (/home/bob/software/caprine/resources/app/tray.js:11:15)
at EventEmitter.<anonymous> (/home/bob/software/caprine/resources/app/index.js:76:2)
at emitOne (events.js:82:20)
at EventEmitter.emit (events.js:169:7)
As I was writing this issue, I discovered the solution. Will post a patch in a few minutes.
Silly question. But where is the source code for this app? I don't understand how it works. I am familiar with Electron but where is the actual source code for the app?
All apps on OS X can use the system's spellchecker, but it appears to be disabled in Caprine
The app quits (or seems to - it disappears from the dock) when you close the window. Shouldn't it be expected to remain active / in the dock until you CMD+Q it?
I'm on latest El Capitan (10.11.3 (15D21)) & Caprine 1.2.0. I see the badge & hear the sound when a new message arrives but there is no notification banner. When I go to System Preferences -> Notifications I don't even see a Caprine entry; I see lots of them for other apps.
I have Chrome notifications disabled but that shouldn't affect standalone Electron apps that use native system notifications (by default Chrome uses its own flavor not integrating well with the OS).
Hi! Just noticed that app (v1.2.0) uses more than 600MB of RAM (running since update, so few days). It's huge. After launch and few chats it around 130MB. Since launch laptop was suspended several times while on the go/at night.
Can something be done here? Suppose, it's all about Facebook JS leaks, but maybe there's an option to reload app from time to time automatically?
And more about Electron usage: is there a reason to build releases without any kind of Dev Tools, etc to use less RAM and space on disk?
good day, i like this project. do you plan to introduce any kind of encryption, like OTR? https://otr.cypherpunks.ca/
i would still like to be able to send encrypted messages over facebook chat, and i'm wondering if this is in the thinking.
thanks!
A user suggested it would be useful to have a menu item and shortcut for this.
Anyone wanna try doing a pull request? I can mentor.
Currently only OS X 10.10 and newer is supported because of electron/electron#2790.
For example ☺️
shows as a rectangle, sent and on messenger.com it behaves correctly however.
Hi,
The readme said "notifications can be turned on in Preferences"
I downloaded the 0.1.1 release, I have OSX 10.9 and when I open Caprine Preferences menu I only choose the mute delay:
I have not cool notification like you:
The only notification I have is https://github.com/sindresorhus/caprine/blob/master/index.js#L26
with this result:
Notification only works on Yosemite ?
Thanks
This is funny but I opened up Atom, and wanted to implement conversation switching just to find out it's already there, only under key binding that I would never expected.
I'm kind of used to the native tab switching keys on OS X: CMD + Shift + [
and CMD + Shift + ]
.
I'm sure there's a reason why Caprine is currently using different ones, but perhaps it would make a good idea to change them for a more native experience?
The tray icon on Linux (KDE) is a blank white rectangle with no title, also clicking on it does nothing, I have to right click and choose either show or hide or exit.
I have a few problems with the tray icon:
-The show/hide right-click menu is extremely cumbersome compared to what most other programs do: click to hide; click again to show.
-There is no start-minimized option (and I mean minimized to tray, not as a minimized window).
-The icon doesn't change when there are unread messages, making it almost pointless as I still have to manually show the messages window to check after I've been away from the computer.
Because of these problems, I actually currently get a much better tray icon out of using alltray with the -H option. However, since I can't turn caprine's icon off, that leaves me with 2 icons. Because of that, I'm stuck on the seemingly abandoned other unofficial Messenger (https://github.com/Aluxian/Facebook-Messenger-Desktop) because it does not have a tray icon, making alltray viable.
Depends on electron/electron#4300.
It happens both on Gnome and Plasma (KDE). When I click on native notification to see message, Caprine crashes.
There's message from kernel:
[14261.845970] Caprine[10685]: segfault at 0 ip 000000000312ed9b sp 00007ffdde03ad30 error 4 in Caprine[400000+3860000]
Feel free to ask me anything to try, test and deliver any logs.
Caprine 0.5.1
linux x64 4.3.3-3-ARCH
Hey @sindresorhus I got a message request on Caprine and the back button gets under the window close button, although it's clickable. Just wanna give feedback on this.
--platform=darwin --arch=x64
=> --all
.Icon.ico
file. https://github.com/maxogden/electron-packager#packageropts-callback--version-string
in the build script. https://github.com/maxogden/electron-packager#packageropts-callbackbrew install wine
to Dev
section in the readme: https://github.com/maxogden/electron-packager#building-windows-apps-from-non-windows-platforms$ brew cask install caprine
Error: Cask 'caprine' definition is invalid: Bad header line: parse failed
Not entirely sure what that error means, but install via Homebrew seems to be broken.
https://github.com/unindented/electron-installer-windows
PR welcome :)
There's a blank newline in the text input field that appears after every message sent. Using OSX.
It appears that there is no progress indicator or action applied upon a user downloading a file shared via another user. I looked into forking this repository in order to add this feature, however time is currently scarce in my life.
This issue can also gage to see if anyone else would benefit/want from this feature.
Need to find a good auto-updater that will just update the app in the background like Atom or Chrome. I don't want any UI for that. It should update when a new version is published on GitHub Releases.
Candidates:
The new issue of Changelog just arrived and this repo was one of the projects listed. And I must say Caprine works incredibly well, much better than any other messenger apps I've tried so far.
I am using Caprine on Manjaro Linux, Cinnamon Desktop. I have this issue with MessengerforDesktop, and Caprine, that if you resize the width of the window smaller all the icons (add picture, choose stickers, GIF, send money, etc), or the space where they should be, shove the text box so small that horizontal and vertical scrollbars actually show up, and when the window is about 300px wide it leaves the text box like 20px wide. I have attached a screenshot.
When app is hidden into tray area and I click icon on taskbar - new instance is starting instead of showing existing one. Also there is no option to disable tray icon (which would be workaround).
Hello,
I tried to build caprine on ubuntu and the following errors occured(http://pastebin.com/0M4WuxcY).
This program works flawless on windows 7 it open pictures, play videos and even open links in the default browser. It needs a last addition to make it perfect, an option to launch on startup minimized on the system tray.
Sorry to pull a request in here but doesn't let me pull one in the other way. Thanks
I am starting to look into what is needed to make this work flawlessly on Linux, right now the app works using the dev commands, one thing that is popping up is this error:
Uncaught Exception:
TypeError: Cannot read property 'setBadge' of undefined
at updateBadge (/home/adam/Projects/caprine/index.js:22:10)
at BrowserWindow.<anonymous> (/home/adam/Projects/caprine/index.js:52:3)
at emitTwo (events.js:87:13)
at BrowserWindow.emit (events.js:172:7)
I'm going to see if I can fix some of those todo items in the other bug as well.
Heres a screenshot for anyone curious what it looks like on Ubuntu running KDE
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.