Skip to content

Commit

Permalink
Merge pull request #7 from mrgnr/snap
Browse files Browse the repository at this point in the history
Add Snap package
  • Loading branch information
mrgnr authored Oct 14, 2020
2 parents 00469e7 + 3a3712f commit 379e44d
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 4 deletions.
23 changes: 22 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,25 @@ You can find a live demo at https://camus.chat.
Running
-------

Using Snap
~~~~~~~~~~

Make sure you have `snapd`_ installed. Install Camus (currently only an
unstable edge version is available):

::

$ sudo snap install --edge camus

Run Camus:

::

$ camus

Go to ``localhost:5000`` in your browser. For local testing, you can visit the
same room in multiple tabs and each tab will act as a separate client.

Using Python
~~~~~~~~~~~~

Expand Down Expand Up @@ -99,8 +118,8 @@ v0.2
- [x] Rewrite the UI using `React`_ [PR `#3`_, `#4`_]
- [x] Video feed controls (fullscreen, picture-in-picture, resolution, audio level, visibility) [PR `#5`_]
- [x] Configurable TURN server in the client [PR `#6`_]
- [x] Snap package [PR `#7`_]
- [ ] Make the UI accessible
- [ ] Snap package

v0.3+
~~~~~
Expand All @@ -123,6 +142,7 @@ v0.3+
:target: https://heroku.com/deploy?template=https://github.com/mrgnr/camus

.. _WebRTC: https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API
.. _snapd: https://snapcraft.io/docs/installing-snapd
.. _Python 3.7: https://docs.python.org/3.7/whatsnew/3.7.html
.. _Quart: https://gitlab.com/pgjones/quart
.. _pre-built Docker image: https://hub.docker.com/r/mrgnr/camus
Expand All @@ -137,4 +157,5 @@ v0.3+
.. _#4: https://github.com/mrgnr/camus/pull/4
.. _#5: https://github.com/mrgnr/camus/pull/5
.. _#6: https://github.com/mrgnr/camus/pull/6
.. _#7: https://github.com/mrgnr/camus/pull/7
.. _SFU: https://webrtcglossary.com/sfu
3 changes: 2 additions & 1 deletion requirements/production.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
quart==0.13.0
quart==0.13.1
bootstrap-flask==1.3.1
hypercorn==0.11.1
flask-wtf==0.14.3
pyee==7.0.2
python-slugify==4.0.1
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='camus-chat',
version='0.2.dev5',
version='0.2.dev6',
description='Peer-to-peer video chat using WebRTC',
long_description=open('README.rst').read(),
long_description_content_type="text/x-rst; charset=UTF-8",
Expand All @@ -19,8 +19,9 @@
packages=find_packages(),
include_package_data=True,
install_requires=[
'quart==0.13.0',
'quart==0.13.1',
'bootstrap-flask==1.3.1',
'hypercorn==0.11.1',
'flask-wtf==0.14.3',
'pyee==7.0.2',
'python-slugify==4.0.1',
Expand Down
24 changes: 24 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: camus
base: core20
version: '0.2.dev6'
summary: Peer-to-peer group video chat using WebRTC.
description: |
Camus is a video chat app that uses WebRTC for direct peer-to-peer communication.
Users can create public or private rooms, optionally protected by a password.
In addition to streaming audio and video from a webcam and microphone, Camus
also provides screen sharing and text chat.
grade: devel
confinement: strict

apps:
camus:
command: bin/camus
plugs:
- network-bind
- network

parts:
camus:
plugin: python
source: .

0 comments on commit 379e44d

Please sign in to comment.