SkyzohKey / Konv

Secure P2P instant messenger. A new Tox client.
https://konv.im
MIT License
50 stars 3 forks source link

Appimage #21

Open Ygarr opened 7 years ago

Ygarr commented 7 years ago

Appimage and auto-updater would be convenient. Nevertheless old Ricin multi packages style as on site also suitable

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/45649164-appimage?utm_campaign=plugin&utm_content=tracker%2F52698905&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F52698905&utm_medium=issues&utm_source=github).
SkyzohKey commented 7 years ago

Konv is not yet ready for usage, only for development right now. Packaging is planed after we have a working release 😇

phd21 commented 6 years ago

Hi, When will there be a working release?

+1 for using an AppImage too...

SkyzohKey commented 6 years ago

@phd21 Konv development has moved to https://github.com/TheToxProject/client

First release planed soon. 😇

phd21 commented 6 years ago

Hello SkyzohKey,

Thanks for replying quickly.

So, what happened to "Ricin" and "Konv"? Are these still being developed or maintained? Or, are these being replaced by Universal Tox Client (utc)? From a quick look at this, it seems that you are using "Electron", is that secure?

Please make sure you can import existing Tox profiles, and it would be nice if it used its own configuration folder rather than the standard tox folder (or perhaps a tox subfolder).

FYI: Your "Storybook" link is not working?

I'll be happy to test this, please let me know when working releases are available. I use Linux Mint KDE 18.3 (64-bit) based on Ubuntu 16.04 and Linux Mint KDE 17.3 based on Ubuntu 14.04. But I can also test this on other Linux Mint editions (Cinnamon, Mate, or Xfce), and on 32-bit systems too.

A lot of developers stopped updating or creating software that works for Ubuntu 14.04 (Linux Mint 17.x), but this is a very stable working environment.

Can I test this new Tox client? If so, how do I download and install this on my Linux Mint systems?

Best regards, Phil phd21mint@gmail.com

SkyzohKey commented 6 years ago

Hey Phil!

Let me clarify the situation. Ricin was mostly a "proof of concept" that permited me to learn to code in Vala. Once I was enough confident in developing with Vala, I realised that Ricin's source code was a shit-code. Nightmare to maintain, hard to update. So I decided to rewrite/rebrand it under the Konv project-name. I worked on Konv during some time before I had a vision.

So let's talk about that vision. I dreamed people would just download Tox, and start to chat, without missing important IM features, nor security features. I dreamed that Tox would replace Skype, Messenger, Whatsapp and other IM apps, because it's decentralized, and would be looking good, with features parity with other IMs + gamification. User would see & use the same interface not depending on the device he is using. Whether it's desktop, mobile or web browser.

The Universal Tox Client (UTC as you call it) is my attempt to realize this. You can find the new repository at: https://github.com/TheToxProject/client.

Also feel free to look at the contribute or donations part of the readme if you want to get involved ! :)

I hope I clarified the situation enough. Thanks for the interest.

phd21 commented 6 years ago

Hey SkyzohKey,

I really love the secure Tox network concept, and the Tox network works really well. I help out a lot on the Linux Mint forums as user member "phd21". I was a software developer years ago and provided support for businesses and people all over the USA. Now I help people on the Linux Mint forum from all over the world and communicating for free using the Tox network and Tox software clients has worked out well. I like to install and test, review, various software for the Linux Mint members and for myself.

I think it is great that you are doing this for everyone. So you had an epiphany and are creating this project to replace the others. I understand that.

I have been using the excellent "qTox" (Qtox) for years, but their installation options are very limited since the one maintainer on "openSuse"' OBS system went under, they have created a new one only there are no current options for installing on Linux Mint 17.x; AppImages would solve that, but so far they have not done this.

I downloaded the archive file and extracted it. How do you run this app? This is what I get when I run this in Linux Mint KDE 17.3 (Ubuntu 14.04) that I just happen to be in right now.

`npm run electron

tox-universal-client@0.2.4 electron /home/phd21/Apps-Misc/client-master BROWSER=none node scripts/start.js & electron . sh: 1: node: not found sh: 1: electron: not found npm ERR! weird error 127 npm WARN This failure might be due to the use of legacy binary "node" npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian ` I have been looking around and testing various tox clients which is how I came across your projects. I look forward to trying and using your new Tox software client.

I also noticed that there are various applications like "Rambox" and "Franz" which might be a good place to include your new Tox client in addition to the stand-alone application.

Unfortunately, I cannot make monetary donations right now.

Best regards, Phil phd21mint@gmail.com

SkyzohKey commented 6 years ago

@phd21 Thanks for the kind words!

You need NodeJS installed in order to run the client (while it's in a dev' mode) then run npm install and npm run electron to get the desktop app running (dev mode, again).

I will put some effort to integrate electron-builder with TravisCI so that every succesful commit will have packages for ALL the platform supported ; including for now: Linux (appimage, snap, flatpak, static tar.gz), OSX, Windows (nsis, msi, portable), FreeBSD, Android, iOS, Windows Phone & the web.

Maybe we could continue the discusion on the new repository so that future users will have reference to look at if they have the same question? :)

phd21 commented 6 years ago

Hey SkyzohKey,

I was wondering if you would prefer this on the new GitHub page. Feel free to move or copy these posts there. I will start responding there after this...

This was a reasonably new installation of Linux Mint 17.3, and I had "nodejs" 0.10.25 already installed, but there are a lot of other "node" packages, are there any particular node packages as dependencies? I did not run the "npm install" first but I will now.

It might help to change the name of the GitHub master for this from the generic "client-master" to something more representative of this project, like "UniversalToxClient-Master" or "utc-master", etc...

Here is what I got from running "npm install", should that be run as root user with sudo? Additional logging details can be found in: npm ERR! /home/phd21/Apps-Misc/client-master/npm-debug.log npm ERR! not ok code 0 I ran "sudo npm install" anyway to see what happens. Got the same error messages.

sh: 1: electron: not found npm ERR! weird error 127 npm WARN This failure might be due to the use of legacy binary "node" npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian

npm ERR! not ok code 0 phd21@usb16:~/Apps-Misc/client-master > /home/phd21/Apps-Misc/client-master/scripts/start.js:8 process.on("unhandledRejection", err => { ^ SyntaxError: Unexpected token > at Module._compile (module.js:439:25) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Function.Module.runMain (module.js:497:10) at startup (node.js:119:16) at node.js:902:3 ^C ` Thank you, Phil phd21mint@gmail.com

SkyzohKey commented 6 years ago

Yeah it looks like your nodejs/npm installation is not correctly setup. Maybe uninstall nodejs/npm then follow the nodejs website guide for installing it properly on your OS ?

I'll try to help you in the process as much as I can. If you really can't compile it, then you'll have to wait tomorrow for an appimage/flatpak/snap version :)

phd21 commented 6 years ago

Hey SkyzohKey,

All I did was to install the nodejs packages from the Linux Mint "Synaptic Package Manager (SPM)". I will try it on my Linux Mint 18.x (Ubuntu 16.04) system as well and let you know how that goes.

I just found this article: I am going to try method 1 from this link for the newer nodejs packages. How to Install Node.js on Ubuntu 14.04 (Linux Mint 17.x) - HostingAdvice.com http://www.hostingadvice.com/how-to/install-nodejs-ubuntu-14-04/

I am looking forward to trying your Universal Tox Client (utc), and I can wait until your ready and have various installation options available.

Best regards, Phil

phd21 commented 6 years ago

Hey SkyzohKey,

So, I ran the Option 1: Install Node.js with Node Version Manager from that link, which did not install everything for the newer version correctly in Linux Mint 17.x Ubuntu 14.04. There were some dependency issues and could not install issues.

But, when I ran "npm run electron", it did pop-up an empty window with code error displayed. These are the last results from doing that...

` npm WARN EPEERINVALID eslint-config-react-app@2.1.0 requires a peer of babel-eslint@^7.2.3 but none was installed. npm WARN EPEERINVALID react-native@0.54.2 requires a peer of react@^16.3.0-alpha.1 but none was installed. npm WARN EPEERINVALID @babel/plugin-check-constants@7.0.0-beta.38 requires a peer of @babel/core@7.0.0-beta.38 but none was installed. phd21@usb16:~/Apps-Misc/client-master > npm run electron

tox-universal-client@0.2.4 electron /home/phd21/Apps-Misc/client-master BROWSER=none node scripts/start.js & electron .

/home/phd21/Apps-Misc/client-master/scripts/start.js:21 const { ^

SyntaxError: Unexpected token { at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:404:25) at Object.Module._extensions..js (module.js:432:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:311:12) at Function.Module.runMain (module.js:457:10) at startup (node.js:136:18) at node.js:972:3 `

Now, I will switch to the other Github page for any further posts and replies ...

Regards, Phil

SkyzohKey commented 6 years ago

I will write a simple guide on the readme for compiling ;)

phd21 commented 6 years ago

Hey SkyzohKey,

I am just experimenting and letting you know what happened.

It is always a nice to have good instructions for compiling anyone's software.

I think the issues I am currently having are due to Linux Mint 17.x (Ubuntu 14.04), unless you are able to compile it under Ubuntu 14.04, in which case I am doing something incorrectly and I would need instructions.

Thanks, Phil :)