Skip to content

Commit 9a54c84

Browse files
shashaBotpoushdivija-palletiMuskan0510
committed
Merge newBase into develop (#13)
* tsc * actions wip * Refactored, added Config Singleton * readme update * Update README.md * few changes on architecture * remove deprecated files * bumped license * fix: keyCombinations * bumped electron to 8.2.0, running basic version * Added tsc and lint command to .travis.yml (#11) Fixes #8 * Added tsc command * Updated .travis.yml * removed before_scripts from travis file * Fix: existing linting errors (#15), build passes from here * removed linting errors * cleared the renderer file Co-authored-by: Piyush Agrawal <[email protected]> Co-authored-by: Piyush Agrawal <[email protected]> Co-authored-by: Divija Palleti <[email protected]> Co-authored-by: Muskan0510 <[email protected]>
1 parent ac6894b commit 9a54c84

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+1179
-4072
lines changed

.eslintrc.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

.travis.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ matrix:
1111
- os: osx
1212
fast_finish: true
1313

14-
before_script:
15-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DISPLAY=:99.0; fi
16-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh -e /etc/init.d/xvfb start; fi
17-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sleep 3; fi
18-
1914
cache:
2015
yarn: true
2116

@@ -25,7 +20,8 @@ install:
2520
- yarn
2621

2722
script:
28-
- npm run test
23+
- npm run lint
24+
- tsc
2925

3026
before_deploy:
3127
- npm run build

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2019 H2
3+
Copyright (c) 2020 H2
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 5 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,23 @@
11
# H2
22

3-
Inspired by the Helium app, **H2** is a minimalist browser to watch embeded videos and more in picture-in-picture mode.
4-
5-
# Features
6-
7-
:tv: Works with any Youtube URL.
8-
9-
:scroll: Works with PDFs links, Google Docs URLs.
10-
11-
:computer: Works on all platforms, thanks to electron ❤️
12-
13-
:art: Image editor supports contrast, brightness, hue, sepia and save as PNG.
14-
15-
:clock9:[WIP] Many other features coming soon.
16-
17-
# Example
18-
19-
<a href="https://s3.amazonaws.com/h2org/h2-demo.gif" target="_blank">Watch Demo</a>
3+
Supporting light weight extensions for heavy task lifting. The extensibility of H2's core enables building extensions that can provide you with small digital luxuries! Think Picture-in-picture for live streaming, youtube, images, videos or any other media source ([where it all began](https://github.com/h2org/H2)), cross-device clipboard sharing, mini games and other cool stuff.
204

215
## Installation
226

237
- [Windows](docs/windows.md)
248
- [Mac](docs/mac.md)
259
- [Linux](docs/linux.md)
2610

27-
## Usage
28-
29-
- Copy any youtube, PDF or google docs URL and press `Ctrl/Command + Shift + V`
30-
- [Keyboards Shortcuts](docs/shortcuts.md)
31-
3211
## Contributing
3312

3413
```bash
3514
# Clone this repository
3615

37-
git clone https://github.com/h2org/H2
16+
git clone https://github.com/h2org/h2-core
3817

3918
# Go into the repository
4019

41-
cd H2
20+
cd h2-core
4221

4322
# Install dependencies
4423

@@ -51,9 +30,9 @@ npm start
5130

5231
## Bug
5332

54-
[Known Bugs](https://github.com/h2org/H2/issues?q=is%3Aopen+is%3Aissue+label%3Abug)
33+
[Known Bugs](https://github.com/h2org/h2-core/issues?q=is%3Aopen+is%3Aissue+label%3Abug)
5534

5635

5736
## License
5837

59-
[CC0-1.0](https://github.com/h2org/H2/blob/master/LICENSE.md)
38+
[MIT](https://github.com/h2org/h2-core/blob/master/LICENSE.md)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

extensions/actions/pip-vimeo.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
class action {
2+
3+
public hasAccess() {
4+
return true;
5+
}
6+
}

extensions/user.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[
2+
{
3+
"name": "PIP Media",
4+
"filename": "pip-media",
5+
"author": "xx",
6+
"actions": {
7+
"CLIPBOARD_TEXT": [
8+
"pip-vimeo"
9+
]
10+
}
11+
}
12+
]

0 commit comments

Comments
 (0)