This project is intended to demonstrate technical concepts and is not designed or endorsed for production or commercial use.
38 | >
This software is provided "as-is" without warranty of any kind, express or implied. The authors are not liable for any misuse, damage, or legal consequences resulting from the use of this software.
39 | >
40 |
41 | > [!IMPORTANT]
42 | > The application is licensed by [Apache 2.0 License](./LICENSE).
43 | >
44 | > The icons and banners of application is licensed by [Attribution-NonCommercial-NoDerivatives 4.0 International License](./LICENSE_CC_BY_NC_ND_4.0). So `./assets/banner.png`, `./assets/newflow.png`, `./assets/newflow.ico` and `./assets/newflow.svg` is licensed by [Attribution-NonCommercial-NoDerivatives 4.0 International License](./LICENSE_CC_BY_NC_ND_4.0)
45 |
46 | - [Electron.JS](https://github.com/electron/electron) is licensed by [MIT License](https://github.com/electron/electron/blob/main/LICENSE).
47 | - [electron/remote](https://github.com/electron/remote) is licensed by [MIT License](https://github.com/electron/remote/blob/main/LICENSE).
48 | - Module placed in `./node_modules/@electron/remote`.
49 | - [Yaru Icons](https://github.com/ubuntu/yaru) is licensed by [CC-BY-SA 4.0 License](https://github.com/ubuntu/yaru#copying-or-reusing).
50 | - Icons placed in `./assets/yaru-icons/`.
51 | - [Breeze Icons](https://github.com/KDE/breeze-icons) is licensed by [LGPL 2.1 License](https://github.com/KDE/breeze-icons/blob/master/COPYING.LIB).
52 | - Icons placed in `./assets/breeze-icons/`.
53 | - [Fluent Icons](https://github.com/microsoft/fluentui-system-icons) is licensed by [MIT License](https://github.com/microsoft/fluentui-system-icons/blob/main/LICENSE).
54 | - Icons placed in `./assets/fluent-icons/`.
55 | - [Bootstrap Icons](https://github.com/twbs/icons) is licensed by [MIT License](https://github.com/twbs/icons/blob/main/LICENSE).
56 | - Icons placed in `./assets/bootstrap-icons/`.
57 | - [Material Symbols](https://github.com/google/material-design-icons) is licensed by [Apache 2.0 License](https://github.com/google/material-design-icons/blob/master/LICENSE).
58 | - Icons placed in `./assets/material-symbols/`, `./fonts/material-symbols-rounded.woff2` and `./css/material-symbols.css` (Edited).
59 | - [yt-extractor.js](https://github.com/malisipi/yt-extractor.js) is licensed by [Apache 2.0 License](https://github.com/malisipi/yt-extractor.js/blob/main/LICENSE).
60 | - Sub dependencies:
61 | - [fast-xml-parse](https://www.npmjs.com/package/fast-xml-parser) is licensed by [MIT License](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/LICENSE).
62 | - [node-vibrant](https://github.com/Vibrant-Colors/node-vibrant) is licensed by [MIT License](https://github.com/Vibrant-Colors/node-vibrant/blob/master/LICENSE.md).
63 | - Script file placed in `./js/thirdparty/vibrant.js`.
64 | - [hls.js](https://github.com/video-dev/hls.js) is licensed by [Apache 2.0 License](https://github.com/video-dev/hls.js/blob/master/LICENSE).
65 | - Script file placed in `./js/thirdparty/hls.light.min.js`.
66 |
67 | ## FAQ
68 |
69 | ### Picture-in-Picture gets under windows on Linux/Wayland
70 |
71 | Since Wayland protocol doesn't support to set windows always on top, there're no possible way to do it without a Window-Manager trick.
72 |
73 | * If you're using KWin Windows Manager (Default Windows Manager of KDE Desktop Environment), you can set a new window rule to keep on top.
74 |
75 | * If you're using Ubuntu or based distro, you can look up [this extension](https://github.com/Rafostar/gnome-shell-extension-pip-on-top) to get working.
76 |
77 | ### Creating Desktop Shortcut on Linux with Wayland Support
78 |
79 | ```
80 | NEWFLOW_FLAGS="--enable-features=UseOzonePlatform --ozone-platform=wayland" ./scripts/install-desktop-file
81 | ```
82 |
--------------------------------------------------------------------------------
/windows-setup/setup.py:
--------------------------------------------------------------------------------
1 | setup_version = "0.0.3";
2 |
3 | import urllib.request;
4 | from zipfile import ZipFile;
5 | import tempfile;
6 | import os;
7 | import os.path;
8 | import shutil;
9 | import webbrowser;
10 | import subprocess;
11 | import sys;
12 | import tkinter;
13 | from tkinter import ttk;
14 |
15 | temp_dir = tempfile.gettempdir()+"\\";
16 | newflow_download = "https://github.com/malisipi/NewFlow/archive/refs/heads/main.zip";
17 | electron_download = "https://github.com/electron/electron/releases/download/v31.4.0/electron-v31.4.0-win32-x64.zip";
18 | ytextratorjs_download = "https://github.com/malisipi/yt-extractor.js/archive/refs/heads/main.zip";
19 | electron_ver = "v31.4.0";
20 |
21 | def read_license():
22 | webbrowser.open("https://www.apache.org/licenses/LICENSE-2.0.txt");
23 |
24 | def open_website():
25 | webbrowser.open("https://github.com/malisipi/NewFlow/");
26 |
27 | def update_state(info):
28 | state_text["text"] = info;
29 | show_progress(0,0,1);
30 | setup_window.update();
31 |
32 | def show_progress(block_num, block_size, total_size):
33 | global state
34 | if(total_size<1):
35 | if(state_progress["mode"] != "indeterminate"):
36 | state_progress["mode"] = "indeterminate";
37 | state_progress["value"]=(block_num%250)/250;
38 | else:
39 | if(state_progress["mode"] != "determinate"):
40 | state_progress["mode"] = "determinate";
41 | state_progress["value"]=int((block_num*block_size*100)/total_size);
42 | setup_window.update();
43 |
44 | def newflow_install():
45 | update_state("Downloading Electron Launcher...");
46 | if(not os.path.exists(temp_dir + "electron" + electron_ver + ".zip")):
47 | urllib.request.urlretrieve(electron_download, temp_dir + "electron" + electron_ver + ".zip", show_progress);
48 |
49 | update_state("Downloading NewFlow...");
50 | urllib.request.urlretrieve(newflow_download, temp_dir + "newflow.zip", show_progress);
51 |
52 | update_state("Downloading yt-extractor...");
53 | urllib.request.urlretrieve(ytextratorjs_download, temp_dir + "ytextractor.zip", show_progress);
54 |
55 | update_state("Extracting Electron Launcher...");
56 | zip_archive = ZipFile(temp_dir + "electron" + electron_ver + ".zip");
57 | zip_archive.extractall("C:/Programs/NewFlow/");
58 | os.remove("C:/Programs/NewFlow/resources/default_app.asar");
59 |
60 | update_state("Extracting NewFlow...");
61 | zip_archive = ZipFile(temp_dir + "newflow.zip");
62 | zip_archive.extractall("C:/Programs/NewFlow/resources/");
63 | if(os.path.exists("C:/Programs/NewFlow/resources/app")):
64 | if(os.path.exists("C:/Programs/NewFlow/resources/app/dbs")):
65 | if(os.path.exists("C:/Programs/NewFlow/__dbs_backup")):
66 | shutil.rmtree("C:/Programs/NewFlow/__dbs_backup");
67 | os.rename("C:/Programs/NewFlow/resources/app/dbs","C:/Programs/NewFlow/__dbs_backup");
68 | shutil.rmtree("C:/Programs/NewFlow/resources/app");
69 | os.rename("C:/Programs/NewFlow/resources/NewFlow-main","C:/Programs/NewFlow/resources/app");
70 | if(os.path.exists("C:/Programs/NewFlow/__dbs_backup")):
71 | os.rename("C:/Programs/NewFlow/__dbs_backup","C:/Programs/NewFlow/resources/app/dbs");
72 | else:
73 | os.rename("C:/Programs/NewFlow/resources/NewFlow-main","C:/Programs/NewFlow/resources/app");
74 | if(not os.path.exists("C:/Programs/NewFlow/resources/app/dbs")):
75 | os.mkdir("C:/Programs/NewFlow/resources/app/dbs");
76 |
77 | update_state("Extracting yt-extractor...");
78 | zip_archive = ZipFile(temp_dir + "ytextractor.zip");
79 | zip_archive.extractall("C:/Programs/NewFlow/resources/app/");
80 | if(os.path.exists("C:/Programs/NewFlow/resources/app/yt-extractor")):
81 | shutil.rmtree("C:/Programs/NewFlow/resources/app/yt-extractor");
82 | os.rename("C:/Programs/NewFlow/resources/app/yt-extractor.js-main","C:/Programs/NewFlow/resources/app/yt-extractor");
83 |
84 | update_state("Creating Shortcuts");
85 | subprocess.run(["wscript", "C:/Programs/NewFlow/resources/app/scripts/create_launcher.vbs"]);
86 |
87 | update_state("Finished!");
88 | show_progress(1,1,1);
89 |
90 | def clear_cache():
91 | if(os.path.exists(temp_dir + "electron" + electron_ver + ".zip")):
92 | os.remove(temp_dir + "electron" + electron_ver + ".zip");
93 | if(os.path.exists(temp_dir + "newflow.zip")):
94 | os.remove(temp_dir + "newflow.zip");
95 | if(os.path.exists(temp_dir + "ytextractor.zip")):
96 | os.remove(temp_dir + "ytextractor.zip");
97 |
98 | setup_window = tkinter.Tk();
99 | setup_window.title("NewFlow - Setup " + setup_version);
100 | setup_window.resizable(False, False);
101 | setup_window.geometry('400x200');
102 |
103 | state_text = tkinter.Label(setup_window, text="Setup is ready!", justify="center");
104 | state_text.place(x=60, y=40, width=280, height=25);
105 | state_progress = ttk.Progressbar(setup_window, length=100);
106 | state_progress.place(x=60, y=80, width=280, height=25);
107 | install_button = ttk.Button(setup_window, text='Install NewFlow', command=newflow_install);
108 | install_button.place(x=100, y=120, width=200, height=25);
109 | website_button = ttk.Button(setup_window, text='Open Website', command=open_website);
110 | website_button.place(x=20, y=155, width=100, height=25);
111 | license_button = ttk.Button(setup_window, text='Read License', command=read_license);
112 | license_button.place(x=280, y=155, width=100, height=25);
113 | clear_cache_button = ttk.Button(setup_window, text='Clear Cache', command=clear_cache);
114 | clear_cache_button.place(x=150, y=155, width=100, height=25);
115 |
116 | setup_window.mainloop();
117 |
--------------------------------------------------------------------------------
/css/layout.css:
--------------------------------------------------------------------------------
1 | html {
2 | --titlebar-height: 30px;
3 | --titlebar-button-width: 50px;
4 | --sidebar-width: 50px;
5 | --playbar-height: 50px;
6 | --playbar-spacing: 10px;
7 | }
8 |
9 | body[os="linux"] {
10 | --titlebar-button-width: 30px;
11 | }
12 |
13 | * { /* Clear CSS */
14 | box-sizing: border-box;
15 | margin: 0;
16 | padding: 0;
17 | user-select: none;
18 | }
19 |
20 | div.titlebar {
21 | display: flex;
22 | left: 0;
23 | top: 0;
24 | width: 100%;
25 | height: var(--titlebar-height);
26 | -webkit-app-region: drag;
27 |
28 | & .button-layout {
29 | display: flex;
30 |
31 | &[custom] {
32 | & button:not([show]) {
33 | display: none;
34 | }
35 | }
36 |
37 | :is(body[os="linux"]) &[variant="kde"] {
38 | & img:not(.kde) {
39 | display: none;
40 | }
41 | }
42 |
43 | :is(body[os="linux"]) &:not([variant]) {
44 | & img.kde {
45 | display: none;
46 | }
47 | }
48 | }
49 |
50 | & .title {
51 | padding-left: 10px;
52 | flex-grow: 1;
53 | align-self: center;
54 | }
55 |
56 | & input.search {
57 | position: fixed;
58 | left: 50%;
59 | top: 2.5px;
60 | height: calc(var(--titlebar-height) - 5px);
61 | width: 300px;
62 | transform: translate(-50%, 0);
63 | padding: 0 5px;
64 | -webkit-app-region: none;
65 | }
66 |
67 | & button {
68 | width: var(--titlebar-button-width);
69 | -webkit-app-region: none;
70 |
71 | &.menu {
72 | width: var(--sidebar-width);
73 | }
74 |
75 | &[state="maximize"] img.restore {
76 | display: none;
77 | }
78 |
79 | &[state="restore"] img.maximize {
80 | display: none;
81 | }
82 |
83 | & img {
84 | width: 16px;
85 | filter: brightness(0);
86 | :is(body):is([theme="dark"], [theme="black"]) & {
87 | filter: brightness(0) invert(1);
88 | }
89 |
90 | :is(body)[os="linux"] &.other {
91 | display: none;
92 | }
93 |
94 | :is(body)[os="other"] &.linux {
95 | display: none;
96 | }
97 | }
98 | }
99 | }
100 |
101 | @media (max-width: 700px) {
102 | .titlebar input.search {
103 | &:not(:focus) {
104 | pointer-events: none;
105 | opacity: 0;
106 | -webkit-app-region: drag;
107 | max-width: 0;
108 | }
109 |
110 | &:focus {
111 | width: 90%;
112 | left: 5%;
113 | transform: unset;
114 | }
115 |
116 | .titlebar:has(&:focus) *:not(&) {
117 | pointer-events: none;
118 | opacity: 0;
119 | -webkit-app-region: drag;
120 | max-width: 0;
121 | }
122 | }
123 | }
124 |
125 | div.sidenav {
126 | position: fixed;
127 | left: 0;
128 | top: var(--titlebar-height);
129 | height: calc(100% - var(--titlebar-height));
130 | width: var(--sidebar-width);
131 | display: flex;
132 | flex-direction: column;
133 | background: inherit;
134 | z-index: 8;
135 |
136 | & > * {
137 | display: flex;
138 | align-items: center;
139 | gap: 5px;
140 |
141 | & > * {
142 | pointer-events: none;
143 | }
144 | }
145 |
146 | & material-symbol {
147 | width: var(--sidebar-width);
148 | height: var(--sidebar-width);
149 | }
150 |
151 | & :is(.open-only, .description) {
152 | display: none;
153 | }
154 |
155 | &[open] {
156 | width: 200px;
157 |
158 | & :is(.open-only, .description) {
159 | display: flex;
160 | }
161 | }
162 |
163 | & img {
164 | width: 100%;
165 | }
166 |
167 | @media (max-width: 500px) {
168 | &:not([open]) {
169 | pointer-events: none;
170 | opacity: 0;
171 | visibility: hidden;
172 | }
173 | }
174 | }
175 |
176 | button.global-action.search {
177 | position: fixed;
178 | bottom: 24px;
179 | right: 24px;
180 | width: var(--sidebar-width);
181 | height: var(--sidebar-width);
182 | display: none;
183 | z-index: 99999999;
184 |
185 | @media (max-width: 700px) {
186 | display: unset;
187 | }
188 | }
189 |
190 | div.tabs {
191 | & div.view {
192 | position: fixed;
193 | left: var(--sidebar-width);
194 | top: var(--titlebar-height);
195 | height: calc(100% - var(--titlebar-height));
196 | width: calc(100% - var(--sidebar-width));
197 | display: block;
198 | overflow: auto;
199 | padding: 10px;
200 |
201 | @media (max-width: 500px) {
202 | left: 0;
203 | width: 100%;
204 | }
205 |
206 | .tabs:not([active="trends"]) &:is(#trends),
207 | .tabs:not([active="search"]) &:is(#search),
208 | .tabs:not([active="watch"]) &:is(#watch),
209 | .tabs:not([active="feed"]) &:is(#feed),
210 | .tabs:not([active="following"]) &:is(#following),
211 | .tabs:not([active="owner"]) &:is(#owner),
212 | .tabs:not([active="playlists"]) &:is(#playlists),
213 | .tabs:not([active="playlist"]) &:is(#playlist),
214 | .tabs:not([active="history"]) &:is(#history),
215 | .tabs:not([active="downloads"]) &:is(#downloads),
216 | .tabs:not([active="settings"]) &:is(#settings),
217 | .tabs:not([active="about"]) &:is(#about),
218 | .tabs:not([active="offline"]) &:is(#offline),
219 | .tabs:not([active="queue"]) &:is(#queue) {
220 | display: none;
221 | }
222 | }
223 | }
224 |
225 | div.playbar {
226 | position: fixed;
227 | bottom: var(--playbar-spacing);
228 | left: 10%;
229 | width: 80%;
230 | height: var(--playbar-height);
231 | display: none;
232 | padding: 0 20px;
233 | grid-template-areas:
234 | "thumbnail title controls"
235 | "thumbnail owner controls";
236 | grid-auto-columns: min-content auto min-content;
237 | align-items: center;
238 | gap: 0 10px;
239 | z-index: 7;
240 |
241 | & .thumbnail {
242 | grid-area: thumbnail;
243 | height: var(--playbar-height);
244 | }
245 |
246 | & .title {
247 | grid-area: title;
248 | text-overflow: ellipsis;
249 | overflow: hidden;
250 | text-wrap: nowrap;
251 | transform: translate(0, 2px);
252 | }
253 |
254 | & .owner {
255 | grid-area: owner;
256 | text-overflow: ellipsis;
257 | overflow: hidden;
258 | text-wrap: nowrap;
259 | transform: translate(0, -2px);
260 | }
261 |
262 | & .controls {
263 | display: flex;
264 | grid-area: controls;
265 | flex-wrap: nowrap;
266 | }
267 |
268 | @media (max-width: 600px) {
269 | left: 0;
270 | width: 100%;
271 | bottom: 0;
272 | }
273 |
274 | @media (max-width: 450px) {
275 | padding: 0 10px 0 0;
276 | }
277 |
278 | @media (max-width: 360px) {
279 | padding: 0 10px;
280 |
281 | & .thumbnail {
282 | display: none;
283 | }
284 | }
285 | }
286 |
287 | dialog#share[open] {
288 | display: flex;
289 | position: fixed;
290 | top: 50%;
291 | left: 50%;
292 | transform: translate(-50%, -50%);
293 | z-index: 999;
294 | gap: 10px;
295 | padding: 10px;
296 | flex-direction: column;
297 | align-items: center;
298 | width: min(80%, 400px);
299 |
300 | & .close {
301 | position: absolute;
302 | right: 10px;
303 | }
304 |
305 | & .actions {
306 | display: flex;
307 | gap: 5px;
308 |
309 | & div.masked-symbol {
310 | width: 32px;
311 | height: 32px;
312 | background: var(--text-color);
313 | mask-size: 32px !important;
314 | }
315 |
316 | & material-symbol {
317 | --size: 32px;
318 | }
319 | }
320 |
321 | *:is(body):has(&) > *:not(&, .titlebar), *:is(body):has(&) .titlebar > :not(.button-layout) {
322 | pointer-events: none;
323 | opacity: 0.3;
324 | }
325 | }
326 |
327 | :is(body):has(div.tabs:not([active="watch"]) #watch video[src*="://"]),
328 | :is(body):has(div.tabs:not([active="watch"])):not(:has(div.tabs #watch video)) {
329 | & div.tabs {
330 | & div.view {
331 | height: calc(100% - calc(var(--titlebar-height) + calc(var(--playbar-height) + calc(var(--playbar-spacing) * 1.5))));
332 | }
333 | }
334 |
335 | & div.playbar {
336 | display: grid;
337 | }
338 | }
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Apache License
2 | Version 2.0, January 2004
3 | http://www.apache.org/licenses/
4 |
5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6 |
7 | 1. Definitions.
8 |
9 | "License" shall mean the terms and conditions for use, reproduction,
10 | and distribution as defined by Sections 1 through 9 of this document.
11 |
12 | "Licensor" shall mean the copyright owner or entity authorized by
13 | the copyright owner that is granting the License.
14 |
15 | "Legal Entity" shall mean the union of the acting entity and all
16 | other entities that control, are controlled by, or are under common
17 | control with that entity. For the purposes of this definition,
18 | "control" means (i) the power, direct or indirect, to cause the
19 | direction or management of such entity, whether by contract or
20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the
21 | outstanding shares, or (iii) beneficial ownership of such entity.
22 |
23 | "You" (or "Your") shall mean an individual or Legal Entity
24 | exercising permissions granted by this License.
25 |
26 | "Source" form shall mean the preferred form for making modifications,
27 | including but not limited to software source code, documentation
28 | source, and configuration files.
29 |
30 | "Object" form shall mean any form resulting from mechanical
31 | transformation or translation of a Source form, including but
32 | not limited to compiled object code, generated documentation,
33 | and conversions to other media types.
34 |
35 | "Work" shall mean the work of authorship, whether in Source or
36 | Object form, made available under the License, as indicated by a
37 | copyright notice that is included in or attached to the work
38 | (an example is provided in the Appendix below).
39 |
40 | "Derivative Works" shall mean any work, whether in Source or Object
41 | form, that is based on (or derived from) the Work and for which the
42 | editorial revisions, annotations, elaborations, or other modifications
43 | represent, as a whole, an original work of authorship. For the purposes
44 | of this License, Derivative Works shall not include works that remain
45 | separable from, or merely link (or bind by name) to the interfaces of,
46 | the Work and Derivative Works thereof.
47 |
48 | "Contribution" shall mean any work of authorship, including
49 | the original version of the Work and any modifications or additions
50 | to that Work or Derivative Works thereof, that is intentionally
51 | submitted to Licensor for inclusion in the Work by the copyright owner
52 | or by an individual or Legal Entity authorized to submit on behalf of
53 | the copyright owner. For the purposes of this definition, "submitted"
54 | means any form of electronic, verbal, or written communication sent
55 | to the Licensor or its representatives, including but not limited to
56 | communication on electronic mailing lists, source code control systems,
57 | and issue tracking systems that are managed by, or on behalf of, the
58 | Licensor for the purpose of discussing and improving the Work, but
59 | excluding communication that is conspicuously marked or otherwise
60 | designated in writing by the copyright owner as "Not a Contribution."
61 |
62 | "Contributor" shall mean Licensor and any individual or Legal Entity
63 | on behalf of whom a Contribution has been received by Licensor and
64 | subsequently incorporated within the Work.
65 |
66 | 2. Grant of Copyright License. Subject to the terms and conditions of
67 | this License, each Contributor hereby grants to You a perpetual,
68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69 | copyright license to reproduce, prepare Derivative Works of,
70 | publicly display, publicly perform, sublicense, and distribute the
71 | Work and such Derivative Works in Source or Object form.
72 |
73 | 3. Grant of Patent License. Subject to the terms and conditions of
74 | this License, each Contributor hereby grants to You a perpetual,
75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76 | (except as stated in this section) patent license to make, have made,
77 | use, offer to sell, sell, import, and otherwise transfer the Work,
78 | where such license applies only to those patent claims licensable
79 | by such Contributor that are necessarily infringed by their
80 | Contribution(s) alone or by combination of their Contribution(s)
81 | with the Work to which such Contribution(s) was submitted. If You
82 | institute patent litigation against any entity (including a
83 | cross-claim or counterclaim in a lawsuit) alleging that the Work
84 | or a Contribution incorporated within the Work constitutes direct
85 | or contributory patent infringement, then any patent licenses
86 | granted to You under this License for that Work shall terminate
87 | as of the date such litigation is filed.
88 |
89 | 4. Redistribution. You may reproduce and distribute copies of the
90 | Work or Derivative Works thereof in any medium, with or without
91 | modifications, and in Source or Object form, provided that You
92 | meet the following conditions:
93 |
94 | (a) You must give any other recipients of the Work or
95 | Derivative Works a copy of this License; and
96 |
97 | (b) You must cause any modified files to carry prominent notices
98 | stating that You changed the files; and
99 |
100 | (c) You must retain, in the Source form of any Derivative Works
101 | that You distribute, all copyright, patent, trademark, and
102 | attribution notices from the Source form of the Work,
103 | excluding those notices that do not pertain to any part of
104 | the Derivative Works; and
105 |
106 | (d) If the Work includes a "NOTICE" text file as part of its
107 | distribution, then any Derivative Works that You distribute must
108 | include a readable copy of the attribution notices contained
109 | within such NOTICE file, excluding those notices that do not
110 | pertain to any part of the Derivative Works, in at least one
111 | of the following places: within a NOTICE text file distributed
112 | as part of the Derivative Works; within the Source form or
113 | documentation, if provided along with the Derivative Works; or,
114 | within a display generated by the Derivative Works, if and
115 | wherever such third-party notices normally appear. The contents
116 | of the NOTICE file are for informational purposes only and
117 | do not modify the License. You may add Your own attribution
118 | notices within Derivative Works that You distribute, alongside
119 | or as an addendum to the NOTICE text from the Work, provided
120 | that such additional attribution notices cannot be construed
121 | as modifying the License.
122 |
123 | You may add Your own copyright statement to Your modifications and
124 | may provide additional or different license terms and conditions
125 | for use, reproduction, or distribution of Your modifications, or
126 | for any such Derivative Works as a whole, provided Your use,
127 | reproduction, and distribution of the Work otherwise complies with
128 | the conditions stated in this License.
129 |
130 | 5. Submission of Contributions. Unless You explicitly state otherwise,
131 | any Contribution intentionally submitted for inclusion in the Work
132 | by You to the Licensor shall be under the terms and conditions of
133 | this License, without any additional terms or conditions.
134 | Notwithstanding the above, nothing herein shall supersede or modify
135 | the terms of any separate license agreement you may have executed
136 | with Licensor regarding such Contributions.
137 |
138 | 6. Trademarks. This License does not grant permission to use the trade
139 | names, trademarks, service marks, or product names of the Licensor,
140 | except as required for reasonable and customary use in describing the
141 | origin of the Work and reproducing the content of the NOTICE file.
142 |
143 | 7. Disclaimer of Warranty. Unless required by applicable law or
144 | agreed to in writing, Licensor provides the Work (and each
145 | Contributor provides its Contributions) on an "AS IS" BASIS,
146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147 | implied, including, without limitation, any warranties or conditions
148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149 | PARTICULAR PURPOSE. You are solely responsible for determining the
150 | appropriateness of using or redistributing the Work and assume any
151 | risks associated with Your exercise of permissions under this License.
152 |
153 | 8. Limitation of Liability. In no event and under no legal theory,
154 | whether in tort (including negligence), contract, or otherwise,
155 | unless required by applicable law (such as deliberate and grossly
156 | negligent acts) or agreed to in writing, shall any Contributor be
157 | liable to You for damages, including any direct, indirect, special,
158 | incidental, or consequential damages of any character arising as a
159 | result of this License or out of the use or inability to use the
160 | Work (including but not limited to damages for loss of goodwill,
161 | work stoppage, computer failure or malfunction, or any and all
162 | other commercial damages or losses), even if such Contributor
163 | has been advised of the possibility of such damages.
164 |
165 | 9. Accepting Warranty or Additional Liability. While redistributing
166 | the Work or Derivative Works thereof, You may choose to offer,
167 | and charge a fee for, acceptance of support, warranty, indemnity,
168 | or other liability obligations and/or rights consistent with this
169 | License. However, in accepting such obligations, You may act only
170 | on Your own behalf and on Your sole responsibility, not on behalf
171 | of any other Contributor, and only if You agree to indemnify,
172 | defend, and hold each Contributor harmless for any liability
173 | incurred by, or claims asserted against, such Contributor by reason
174 | of your accepting any such warranty or additional liability.
175 |
176 | END OF TERMS AND CONDITIONS
177 |
178 | APPENDIX: How to apply the Apache License to your work.
179 |
180 | To apply the Apache License to your work, attach the following
181 | boilerplate notice, with the fields enclosed by brackets "[]"
182 | replaced with your own identifying information. (Don't include
183 | the brackets!) The text should be enclosed in the appropriate
184 | comment syntax for the file format. We also recommend that a
185 | file or class name and description of purpose be included on the
186 | same "printed page" as the copyright notice for easier
187 | identification within third-party archives.
188 |
189 | Copyright [yyyy] [name of copyright owner]
190 |
191 | Licensed under the Apache License, Version 2.0 (the "License");
192 | you may not use this file except in compliance with the License.
193 | You may obtain a copy of the License at
194 |
195 | http://www.apache.org/licenses/LICENSE-2.0
196 |
197 | Unless required by applicable law or agreed to in writing, software
198 | distributed under the License is distributed on an "AS IS" BASIS,
199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200 | See the License for the specific language governing permissions and
201 | limitations under the License.
202 |
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | NewFlow
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
34 |
35 |
36 |
37 |