Basic App List
This commit is contained in:
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"typescript.tsdk": "node_modules/typescript/lib"
|
||||
}
|
||||
+427
@@ -0,0 +1,427 @@
|
||||
Attribution-ShareAlike 4.0 International
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons Corporation ("Creative Commons") is not a law firm and
|
||||
does not provide legal services or legal advice. Distribution of
|
||||
Creative Commons public licenses does not create a lawyer-client or
|
||||
other relationship. Creative Commons makes its licenses and related
|
||||
information available on an "as-is" basis. Creative Commons gives no
|
||||
warranties regarding its licenses, any material licensed under their
|
||||
terms and conditions, or any related information. Creative Commons
|
||||
disclaims all liability for damages resulting from their use to the
|
||||
fullest extent possible.
|
||||
|
||||
Using Creative Commons Public Licenses
|
||||
|
||||
Creative Commons public licenses provide a standard set of terms and
|
||||
conditions that creators and other rights holders may use to share
|
||||
original works of authorship and other material subject to copyright
|
||||
and certain other rights specified in the public license below. The
|
||||
following considerations are for informational purposes only, are not
|
||||
exhaustive, and do not form part of our licenses.
|
||||
|
||||
Considerations for licensors: Our public licenses are
|
||||
intended for use by those authorized to give the public
|
||||
permission to use material in ways otherwise restricted by
|
||||
copyright and certain other rights. Our licenses are
|
||||
irrevocable. Licensors should read and understand the terms
|
||||
and conditions of the license they choose before applying it.
|
||||
Licensors should also secure all rights necessary before
|
||||
applying our licenses so that the public can reuse the
|
||||
material as expected. Licensors should clearly mark any
|
||||
material not subject to the license. This includes other CC-
|
||||
licensed material, or material used under an exception or
|
||||
limitation to copyright. More considerations for licensors:
|
||||
wiki.creativecommons.org/Considerations_for_licensors
|
||||
|
||||
Considerations for the public: By using one of our public
|
||||
licenses, a licensor grants the public permission to use the
|
||||
licensed material under specified terms and conditions. If
|
||||
the licensor's permission is not necessary for any reason--for
|
||||
example, because of any applicable exception or limitation to
|
||||
copyright--then that use is not regulated by the license. Our
|
||||
licenses grant only permissions under copyright and certain
|
||||
other rights that a licensor has authority to grant. Use of
|
||||
the licensed material may still be restricted for other
|
||||
reasons, including because others have copyright or other
|
||||
rights in the material. A licensor may make special requests,
|
||||
such as asking that all changes be marked or described.
|
||||
Although not required by our licenses, you are encouraged to
|
||||
respect those requests where reasonable. More considerations
|
||||
for the public:
|
||||
wiki.creativecommons.org/Considerations_for_licensees
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons Attribution-ShareAlike 4.0 International Public
|
||||
License
|
||||
|
||||
By exercising the Licensed Rights (defined below), You accept and agree
|
||||
to be bound by the terms and conditions of this Creative Commons
|
||||
Attribution-ShareAlike 4.0 International Public License ("Public
|
||||
License"). To the extent this Public License may be interpreted as a
|
||||
contract, You are granted the Licensed Rights in consideration of Your
|
||||
acceptance of these terms and conditions, and the Licensor grants You
|
||||
such rights in consideration of benefits the Licensor receives from
|
||||
making the Licensed Material available under these terms and
|
||||
conditions.
|
||||
|
||||
|
||||
Section 1 -- Definitions.
|
||||
|
||||
a. Adapted Material means material subject to Copyright and Similar
|
||||
Rights that is derived from or based upon the Licensed Material
|
||||
and in which the Licensed Material is translated, altered,
|
||||
arranged, transformed, or otherwise modified in a manner requiring
|
||||
permission under the Copyright and Similar Rights held by the
|
||||
Licensor. For purposes of this Public License, where the Licensed
|
||||
Material is a musical work, performance, or sound recording,
|
||||
Adapted Material is always produced where the Licensed Material is
|
||||
synched in timed relation with a moving image.
|
||||
|
||||
b. Adapter's License means the license You apply to Your Copyright
|
||||
and Similar Rights in Your contributions to Adapted Material in
|
||||
accordance with the terms and conditions of this Public License.
|
||||
|
||||
c. BY-SA Compatible License means a license listed at
|
||||
creativecommons.org/compatiblelicenses, approved by Creative
|
||||
Commons as essentially the equivalent of this Public License.
|
||||
|
||||
d. Copyright and Similar Rights means copyright and/or similar rights
|
||||
closely related to copyright including, without limitation,
|
||||
performance, broadcast, sound recording, and Sui Generis Database
|
||||
Rights, without regard to how the rights are labeled or
|
||||
categorized. For purposes of this Public License, the rights
|
||||
specified in Section 2(b)(1)-(2) are not Copyright and Similar
|
||||
Rights.
|
||||
|
||||
e. Effective Technological Measures means those measures that, in the
|
||||
absence of proper authority, may not be circumvented under laws
|
||||
fulfilling obligations under Article 11 of the WIPO Copyright
|
||||
Treaty adopted on December 20, 1996, and/or similar international
|
||||
agreements.
|
||||
|
||||
f. Exceptions and Limitations means fair use, fair dealing, and/or
|
||||
any other exception or limitation to Copyright and Similar Rights
|
||||
that applies to Your use of the Licensed Material.
|
||||
|
||||
g. License Elements means the license attributes listed in the name
|
||||
of a Creative Commons Public License. The License Elements of this
|
||||
Public License are Attribution and ShareAlike.
|
||||
|
||||
h. Licensed Material means the artistic or literary work, database,
|
||||
or other material to which the Licensor applied this Public
|
||||
License.
|
||||
|
||||
i. Licensed Rights means the rights granted to You subject to the
|
||||
terms and conditions of this Public License, which are limited to
|
||||
all Copyright and Similar Rights that apply to Your use of the
|
||||
Licensed Material and that the Licensor has authority to license.
|
||||
|
||||
j. Licensor means the individual(s) or entity(ies) granting rights
|
||||
under this Public License.
|
||||
|
||||
k. Share means to provide material to the public by any means or
|
||||
process that requires permission under the Licensed Rights, such
|
||||
as reproduction, public display, public performance, distribution,
|
||||
dissemination, communication, or importation, and to make material
|
||||
available to the public including in ways that members of the
|
||||
public may access the material from a place and at a time
|
||||
individually chosen by them.
|
||||
|
||||
l. Sui Generis Database Rights means rights other than copyright
|
||||
resulting from Directive 96/9/EC of the European Parliament and of
|
||||
the Council of 11 March 1996 on the legal protection of databases,
|
||||
as amended and/or succeeded, as well as other essentially
|
||||
equivalent rights anywhere in the world.
|
||||
|
||||
m. You means the individual or entity exercising the Licensed Rights
|
||||
under this Public License. Your has a corresponding meaning.
|
||||
|
||||
|
||||
Section 2 -- Scope.
|
||||
|
||||
a. License grant.
|
||||
|
||||
1. Subject to the terms and conditions of this Public License,
|
||||
the Licensor hereby grants You a worldwide, royalty-free,
|
||||
non-sublicensable, non-exclusive, irrevocable license to
|
||||
exercise the Licensed Rights in the Licensed Material to:
|
||||
|
||||
a. reproduce and Share the Licensed Material, in whole or
|
||||
in part; and
|
||||
|
||||
b. produce, reproduce, and Share Adapted Material.
|
||||
|
||||
2. Exceptions and Limitations. For the avoidance of doubt, where
|
||||
Exceptions and Limitations apply to Your use, this Public
|
||||
License does not apply, and You do not need to comply with
|
||||
its terms and conditions.
|
||||
|
||||
3. Term. The term of this Public License is specified in Section
|
||||
6(a).
|
||||
|
||||
4. Media and formats; technical modifications allowed. The
|
||||
Licensor authorizes You to exercise the Licensed Rights in
|
||||
all media and formats whether now known or hereafter created,
|
||||
and to make technical modifications necessary to do so. The
|
||||
Licensor waives and/or agrees not to assert any right or
|
||||
authority to forbid You from making technical modifications
|
||||
necessary to exercise the Licensed Rights, including
|
||||
technical modifications necessary to circumvent Effective
|
||||
Technological Measures. For purposes of this Public License,
|
||||
simply making modifications authorized by this Section 2(a)
|
||||
(4) never produces Adapted Material.
|
||||
|
||||
5. Downstream recipients.
|
||||
|
||||
a. Offer from the Licensor -- Licensed Material. Every
|
||||
recipient of the Licensed Material automatically
|
||||
receives an offer from the Licensor to exercise the
|
||||
Licensed Rights under the terms and conditions of this
|
||||
Public License.
|
||||
|
||||
b. Additional offer from the Licensor -- Adapted Material.
|
||||
Every recipient of Adapted Material from You
|
||||
automatically receives an offer from the Licensor to
|
||||
exercise the Licensed Rights in the Adapted Material
|
||||
under the conditions of the Adapter's License You apply.
|
||||
|
||||
c. No downstream restrictions. You may not offer or impose
|
||||
any additional or different terms or conditions on, or
|
||||
apply any Effective Technological Measures to, the
|
||||
Licensed Material if doing so restricts exercise of the
|
||||
Licensed Rights by any recipient of the Licensed
|
||||
Material.
|
||||
|
||||
6. No endorsement. Nothing in this Public License constitutes or
|
||||
may be construed as permission to assert or imply that You
|
||||
are, or that Your use of the Licensed Material is, connected
|
||||
with, or sponsored, endorsed, or granted official status by,
|
||||
the Licensor or others designated to receive attribution as
|
||||
provided in Section 3(a)(1)(A)(i).
|
||||
|
||||
b. Other rights.
|
||||
|
||||
1. Moral rights, such as the right of integrity, are not
|
||||
licensed under this Public License, nor are publicity,
|
||||
privacy, and/or other similar personality rights; however, to
|
||||
the extent possible, the Licensor waives and/or agrees not to
|
||||
assert any such rights held by the Licensor to the limited
|
||||
extent necessary to allow You to exercise the Licensed
|
||||
Rights, but not otherwise.
|
||||
|
||||
2. Patent and trademark rights are not licensed under this
|
||||
Public License.
|
||||
|
||||
3. To the extent possible, the Licensor waives any right to
|
||||
collect royalties from You for the exercise of the Licensed
|
||||
Rights, whether directly or through a collecting society
|
||||
under any voluntary or waivable statutory or compulsory
|
||||
licensing scheme. In all other cases the Licensor expressly
|
||||
reserves any right to collect such royalties.
|
||||
|
||||
|
||||
Section 3 -- License Conditions.
|
||||
|
||||
Your exercise of the Licensed Rights is expressly made subject to the
|
||||
following conditions.
|
||||
|
||||
a. Attribution.
|
||||
|
||||
1. If You Share the Licensed Material (including in modified
|
||||
form), You must:
|
||||
|
||||
a. retain the following if it is supplied by the Licensor
|
||||
with the Licensed Material:
|
||||
|
||||
i. identification of the creator(s) of the Licensed
|
||||
Material and any others designated to receive
|
||||
attribution, in any reasonable manner requested by
|
||||
the Licensor (including by pseudonym if
|
||||
designated);
|
||||
|
||||
ii. a copyright notice;
|
||||
|
||||
iii. a notice that refers to this Public License;
|
||||
|
||||
iv. a notice that refers to the disclaimer of
|
||||
warranties;
|
||||
|
||||
v. a URI or hyperlink to the Licensed Material to the
|
||||
extent reasonably practicable;
|
||||
|
||||
b. indicate if You modified the Licensed Material and
|
||||
retain an indication of any previous modifications; and
|
||||
|
||||
c. indicate the Licensed Material is licensed under this
|
||||
Public License, and include the text of, or the URI or
|
||||
hyperlink to, this Public License.
|
||||
|
||||
2. You may satisfy the conditions in Section 3(a)(1) in any
|
||||
reasonable manner based on the medium, means, and context in
|
||||
which You Share the Licensed Material. For example, it may be
|
||||
reasonable to satisfy the conditions by providing a URI or
|
||||
hyperlink to a resource that includes the required
|
||||
information.
|
||||
|
||||
3. If requested by the Licensor, You must remove any of the
|
||||
information required by Section 3(a)(1)(A) to the extent
|
||||
reasonably practicable.
|
||||
|
||||
b. ShareAlike.
|
||||
|
||||
In addition to the conditions in Section 3(a), if You Share
|
||||
Adapted Material You produce, the following conditions also apply.
|
||||
|
||||
1. The Adapter's License You apply must be a Creative Commons
|
||||
license with the same License Elements, this version or
|
||||
later, or a BY-SA Compatible License.
|
||||
|
||||
2. You must include the text of, or the URI or hyperlink to, the
|
||||
Adapter's License You apply. You may satisfy this condition
|
||||
in any reasonable manner based on the medium, means, and
|
||||
context in which You Share Adapted Material.
|
||||
|
||||
3. You may not offer or impose any additional or different terms
|
||||
or conditions on, or apply any Effective Technological
|
||||
Measures to, Adapted Material that restrict exercise of the
|
||||
rights granted under the Adapter's License You apply.
|
||||
|
||||
|
||||
Section 4 -- Sui Generis Database Rights.
|
||||
|
||||
Where the Licensed Rights include Sui Generis Database Rights that
|
||||
apply to Your use of the Licensed Material:
|
||||
|
||||
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
|
||||
to extract, reuse, reproduce, and Share all or a substantial
|
||||
portion of the contents of the database;
|
||||
|
||||
b. if You include all or a substantial portion of the database
|
||||
contents in a database in which You have Sui Generis Database
|
||||
Rights, then the database in which You have Sui Generis Database
|
||||
Rights (but not its individual contents) is Adapted Material,
|
||||
including for purposes of Section 3(b); and
|
||||
|
||||
c. You must comply with the conditions in Section 3(a) if You Share
|
||||
all or a substantial portion of the contents of the database.
|
||||
|
||||
For the avoidance of doubt, this Section 4 supplements and does not
|
||||
replace Your obligations under this Public License where the Licensed
|
||||
Rights include other Copyright and Similar Rights.
|
||||
|
||||
|
||||
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
|
||||
|
||||
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
|
||||
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
|
||||
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
|
||||
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
|
||||
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
|
||||
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
|
||||
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
|
||||
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
|
||||
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
|
||||
|
||||
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
|
||||
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
|
||||
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
|
||||
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
|
||||
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
|
||||
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
|
||||
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
|
||||
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
|
||||
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
|
||||
|
||||
c. The disclaimer of warranties and limitation of liability provided
|
||||
above shall be interpreted in a manner that, to the extent
|
||||
possible, most closely approximates an absolute disclaimer and
|
||||
waiver of all liability.
|
||||
|
||||
|
||||
Section 6 -- Term and Termination.
|
||||
|
||||
a. This Public License applies for the term of the Copyright and
|
||||
Similar Rights licensed here. However, if You fail to comply with
|
||||
this Public License, then Your rights under this Public License
|
||||
terminate automatically.
|
||||
|
||||
b. Where Your right to use the Licensed Material has terminated under
|
||||
Section 6(a), it reinstates:
|
||||
|
||||
1. automatically as of the date the violation is cured, provided
|
||||
it is cured within 30 days of Your discovery of the
|
||||
violation; or
|
||||
|
||||
2. upon express reinstatement by the Licensor.
|
||||
|
||||
For the avoidance of doubt, this Section 6(b) does not affect any
|
||||
right the Licensor may have to seek remedies for Your violations
|
||||
of this Public License.
|
||||
|
||||
c. For the avoidance of doubt, the Licensor may also offer the
|
||||
Licensed Material under separate terms or conditions or stop
|
||||
distributing the Licensed Material at any time; however, doing so
|
||||
will not terminate this Public License.
|
||||
|
||||
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
|
||||
License.
|
||||
|
||||
|
||||
Section 7 -- Other Terms and Conditions.
|
||||
|
||||
a. The Licensor shall not be bound by any additional or different
|
||||
terms or conditions communicated by You unless expressly agreed.
|
||||
|
||||
b. Any arrangements, understandings, or agreements regarding the
|
||||
Licensed Material not stated herein are separate from and
|
||||
independent of the terms and conditions of this Public License.
|
||||
|
||||
|
||||
Section 8 -- Interpretation.
|
||||
|
||||
a. For the avoidance of doubt, this Public License does not, and
|
||||
shall not be interpreted to, reduce, limit, restrict, or impose
|
||||
conditions on any use of the Licensed Material that could lawfully
|
||||
be made without permission under this Public License.
|
||||
|
||||
b. To the extent possible, if any provision of this Public License is
|
||||
deemed unenforceable, it shall be automatically reformed to the
|
||||
minimum extent necessary to make it enforceable. If the provision
|
||||
cannot be reformed, it shall be severed from this Public License
|
||||
without affecting the enforceability of the remaining terms and
|
||||
conditions.
|
||||
|
||||
c. No term or condition of this Public License will be waived and no
|
||||
failure to comply consented to unless expressly agreed to by the
|
||||
Licensor.
|
||||
|
||||
d. Nothing in this Public License constitutes or may be interpreted
|
||||
as a limitation upon, or waiver of, any privileges and immunities
|
||||
that apply to the Licensor or You, including from the legal
|
||||
processes of any jurisdiction or authority.
|
||||
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons is not a party to its public licenses.
|
||||
Notwithstanding, Creative Commons may elect to apply one of its public
|
||||
licenses to material it publishes and in those instances will be
|
||||
considered the “Licensor.” The text of the Creative Commons public
|
||||
licenses is dedicated to the public domain under the CC0 Public Domain
|
||||
Dedication. Except for the limited purpose of indicating that material
|
||||
is shared under a Creative Commons public license or as otherwise
|
||||
permitted by the Creative Commons policies published at
|
||||
creativecommons.org/policies, Creative Commons does not authorize the
|
||||
use of the trademark "Creative Commons" or any other trademark or logo
|
||||
of Creative Commons without its prior written consent including,
|
||||
without limitation, in connection with any unauthorized modifications
|
||||
to any of its public licenses or any other arrangements,
|
||||
understandings, or agreements concerning use of licensed material. For
|
||||
the avoidance of doubt, this paragraph does not form part of the public
|
||||
licenses.
|
||||
|
||||
Creative Commons may be contacted at creativecommons.org.
|
||||
@@ -57,7 +57,8 @@ The extensions are also listed in the VSCode workspace extensions recommendation
|
||||
|
||||
## License
|
||||
|
||||
This project is licensed under MIT License.
|
||||
The source code of this project is licensed under MIT license, however, the text
|
||||
content itself (MDX/TOML files) within `./src/data` is licensed under CC-BY-SA-4.0
|
||||
|
||||
Logos of other projects (such as Linux Distributions, located in `./public/logos`)
|
||||
belongs to their respective owners.
|
||||
|
||||
+9
-4
@@ -1,12 +1,11 @@
|
||||
// @ts-check
|
||||
import { defineConfig, envField } from 'astro/config';
|
||||
|
||||
import tailwindcss from '@tailwindcss/vite';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
|
||||
import solidJs from "@astrojs/solid-js";
|
||||
|
||||
import mdx from "@astrojs/mdx";
|
||||
import tailwindcss from '@tailwindcss/vite';
|
||||
import { ViteToml } from "vite-plugin-toml";
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
@@ -28,11 +27,17 @@ export default defineConfig({
|
||||
},
|
||||
|
||||
vite: {
|
||||
plugins: [tailwindcss()],
|
||||
// @ts-ignore
|
||||
plugins: [tailwindcss(), ViteToml()],
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": fileURLToPath(new URL("./src", import.meta.url))
|
||||
}
|
||||
},
|
||||
server: {
|
||||
watch: {
|
||||
ignored: "**/pocketbase/**"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
+10
-6
@@ -9,19 +9,23 @@
|
||||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/mdx": "^4.3.5",
|
||||
"@astrojs/mdx": "^4.3.6",
|
||||
"@astrojs/solid-js": "^5.1.1",
|
||||
"@tailwindcss/vite": "^4.1.13",
|
||||
"astro": "^5.13.7",
|
||||
"astro": "^5.14.1",
|
||||
"fuse.js": "^7.1.0",
|
||||
"party-js": "^2.2.0",
|
||||
"qrcode-generator": "^2.0.4",
|
||||
"sharp": "^0.34.3",
|
||||
"sharp": "^0.34.4",
|
||||
"solid-js": "^1.9.9",
|
||||
"tailwindcss": "^4.1.13"
|
||||
},
|
||||
"packageManager": "pnpm@10.16.1+sha512.0e155aa2629db8672b49e8475da6226aa4bdea85fdcdfdc15350874946d4f3c91faaf64cbdc4a5d1ab8002f473d5c3fcedcd197989cf0390f9badd3c04678706",
|
||||
"packageManager": "pnpm@10.17.1+sha512.17c560fca4867ae9473a3899ad84a88334914f379be46d455cbf92e5cf4b39d34985d452d2583baf19967fa76cb5c17bc9e245529d0b98745721aa7200ecaf7a",
|
||||
"devDependencies": {
|
||||
"@types/node": "^24.5.1",
|
||||
"wrangler": "^4.37.1"
|
||||
"@types/node": "^24.5.2",
|
||||
"typescript": "^5.9.2",
|
||||
"typescript-plugin-toml": "^0.5.0",
|
||||
"vite-plugin-toml": "^0.8.4",
|
||||
"wrangler": "^4.40.2"
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+596
-503
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,113 @@
|
||||
import { createMemo, createSignal, onMount, type Component } from "solid-js";
|
||||
import appData from "@/data/apps.toml";
|
||||
import Fuse, { type IFuseOptions } from "fuse.js";
|
||||
|
||||
interface App {
|
||||
name: string;
|
||||
url: string;
|
||||
flathub: string;
|
||||
}
|
||||
|
||||
interface Task {
|
||||
name: string;
|
||||
key: string;
|
||||
apps: App[];
|
||||
}
|
||||
|
||||
const fuseOptions: IFuseOptions<Task> = {
|
||||
keys: ["name", "apps.name"],
|
||||
threshold: 0.5,
|
||||
shouldSort: true,
|
||||
};
|
||||
|
||||
const AppList: Component<{ lang: string }> = ({ lang }) => {
|
||||
const [currentPlaceholder, setCurrentPlaceholder] = createSignal("");
|
||||
const [searchQuery, setSearchQuery] = createSignal("");
|
||||
const fuse = new Fuse(appData.tasks as Task[], fuseOptions);
|
||||
const searchResults = createMemo(() => {
|
||||
if (searchQuery().trim() === "") {
|
||||
return appData.tasks.map((task) => ({ item: task }));
|
||||
}
|
||||
|
||||
return fuse.search(searchQuery());
|
||||
});
|
||||
const [strings, setStrings] = createSignal({
|
||||
todo: "I need to do...",
|
||||
categories: {} as Record<string, string>,
|
||||
});
|
||||
|
||||
onMount(async () => {
|
||||
setCurrentPlaceholder(
|
||||
appData.tasks[Math.floor(Math.random() * appData.tasks.length)].name
|
||||
);
|
||||
setInterval(() => {
|
||||
const cats = Object.values(strings().categories);
|
||||
|
||||
setCurrentPlaceholder(
|
||||
cats[Math.floor(Math.random() * cats.length)]
|
||||
);
|
||||
}, 3000);
|
||||
|
||||
setStrings(
|
||||
(await import(`@/data/strings/${lang}.toml`)).default.appList
|
||||
);
|
||||
|
||||
if (lang === "en") return;
|
||||
|
||||
fuse.setCollection(
|
||||
(appData.tasks as Task[]).map((task) => ({
|
||||
...task,
|
||||
name: strings().categories[task.key] ?? task.name,
|
||||
}))
|
||||
);
|
||||
});
|
||||
|
||||
function getTaskName(key: string) {
|
||||
return strings().categories[key];
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
<div id="searchBox" class="my-4 flex justify-center items-center">
|
||||
<span>{strings().todo}</span>
|
||||
<input
|
||||
type="search"
|
||||
name="taskSearch"
|
||||
id="taskSearch"
|
||||
placeholder={currentPlaceholder()}
|
||||
value={searchQuery()}
|
||||
oninput={(e) => setSearchQuery(e.currentTarget.value)}
|
||||
class="ml-4 px-4 py-2 border rounded dark:border-slate-600 border-gray-400"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
id="appList"
|
||||
class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4"
|
||||
role="list"
|
||||
>
|
||||
{searchResults().map(({ item }) => (
|
||||
<li class="p-4 border rounded dark:border-slate-600 border-gray-400 flex">
|
||||
<div class="font-bold border-r dark:border-slate-600 border-gray-400 w-[30%] pr-4 mr-4">
|
||||
{getTaskName(item.key) ?? item.name}
|
||||
</div>
|
||||
<ul class="flex gap-4">
|
||||
{item.apps.map((app) => (
|
||||
<li>
|
||||
<a
|
||||
href={app.url}
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>
|
||||
{app.name}
|
||||
</a>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</li>
|
||||
))}
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default AppList;
|
||||
@@ -0,0 +1,149 @@
|
||||
[[tasks]]
|
||||
name = "3D Modeling"
|
||||
key = "modeling"
|
||||
|
||||
[[tasks.apps]]
|
||||
name = "Blender"
|
||||
url = "https://www.blender.org/"
|
||||
flathub = "https://flathub.org/en/apps/org.blender.Blender"
|
||||
|
||||
[[tasks]]
|
||||
name = "Animation"
|
||||
key = "animation"
|
||||
|
||||
[[tasks.apps]]
|
||||
name = "Synfig Studio"
|
||||
url = "https://www.synfig.org/"
|
||||
flathub = "https://flathub.org/en/apps/org.synfig.SynfigStudio"
|
||||
|
||||
[[tasks.apps]]
|
||||
name = "OpenToonz"
|
||||
url = "https://opentoonz.github.io/e/"
|
||||
flathub = "https://flathub.org/en/apps/io.github.OpenToonz"
|
||||
|
||||
[[tasks]]
|
||||
name = "Drawing"
|
||||
key = "drawing"
|
||||
|
||||
[[tasks.apps]]
|
||||
name = "Krita"
|
||||
url = "https://krita.org/"
|
||||
flathub = "https://flathub.org/en/apps/org.kde.krita"
|
||||
|
||||
[[tasks.apps]]
|
||||
name = "Inkscape (Vector)"
|
||||
url = "https://inkscape.org/"
|
||||
flathub = "https://flathub.org/en/apps/org.inkscape.Inkscape"
|
||||
|
||||
[[tasks]]
|
||||
name = "Gaming"
|
||||
key = "gaming"
|
||||
|
||||
[[tasks.apps]]
|
||||
name = "Steam"
|
||||
url = "https://store.steampowered.com/"
|
||||
|
||||
[[tasks.apps]]
|
||||
name = "itch.io"
|
||||
url = "https://itch.io/app"
|
||||
flathub = "https://flathub.org/en/apps/io.itch.itch"
|
||||
|
||||
[[tasks.apps]]
|
||||
name = "Lutris"
|
||||
url = "https://lutris.net/"
|
||||
flathub = "https://flathub.org/en/apps/net.lutris.Lutris"
|
||||
|
||||
[[tasks]]
|
||||
name = "Music Production"
|
||||
key = "music"
|
||||
|
||||
[[tasks.apps]]
|
||||
name = "LMMS"
|
||||
url = "https://lmms.io/"
|
||||
flathub = "https://flathub.org/en/apps/io.lmms.LMMS"
|
||||
|
||||
[[tasks.apps]]
|
||||
name = "Reaper (Paid)"
|
||||
url = "https://www.reaper.fm/"
|
||||
|
||||
[[tasks]]
|
||||
name = "Note Taking"
|
||||
key = "note"
|
||||
|
||||
[[tasks.apps]]
|
||||
name = "Obsidian"
|
||||
url = "https://obsidian.md/"
|
||||
flathub = "https://flathub.org/en/apps/md.obsidian.Obsidian"
|
||||
|
||||
[[tasks.apps]]
|
||||
name = "Ghostwriter"
|
||||
url = "https://ghostwriter.kde.org/"
|
||||
flathub = "https://flathub.org/en/apps/org.kde.ghostwriter"
|
||||
|
||||
[[tasks]]
|
||||
name = "Office Work"
|
||||
key = "office"
|
||||
|
||||
[[tasks.apps]]
|
||||
name = "LibreOffice"
|
||||
url = "https://www.libreoffice.org/"
|
||||
flathub = "https://flathub.org/en/apps/org.libreoffice.LibreOffice"
|
||||
|
||||
[[tasks.apps]]
|
||||
name = "Calligra"
|
||||
url = "https://calligra.org/"
|
||||
flathub = "https://flathub.org/en/apps/org.kde.calligra"
|
||||
|
||||
[[tasks]]
|
||||
name = "Photo Editing (Generic)"
|
||||
key = "photoGeneric"
|
||||
|
||||
[[tasks.apps]]
|
||||
name = "GIMP"
|
||||
url = "https://www.gimp.org/"
|
||||
flathub = "https://flathub.org/en/apps/org.gimp.GIMP"
|
||||
|
||||
[[tasks.apps]]
|
||||
name = "Pinta"
|
||||
url = "https://www.pinta-project.com/"
|
||||
flathub = "https://flathub.org/en/apps/com.github.PintaProject.Pinta"
|
||||
|
||||
[[tasks]]
|
||||
name = "Photo Editing (Photography)"
|
||||
key = "photography"
|
||||
|
||||
[[tasks.apps]]
|
||||
name = "Darktable"
|
||||
url = "https://www.darktable.org/"
|
||||
flathub = "https://flathub.org/en/apps/org.darktable.Darktable"
|
||||
|
||||
[[tasks.apps]]
|
||||
name = "RawTherapee"
|
||||
url = "https://rawtherapee.com/"
|
||||
flathub = "https://flathub.org/en/apps/com.rawtherapee.RawTherapee"
|
||||
|
||||
[[tasks]]
|
||||
name = "Programming"
|
||||
key = "programming"
|
||||
|
||||
[[tasks.apps]]
|
||||
name = "Visual Studio Code"
|
||||
url = "https://code.visualstudio.com/"
|
||||
flathub = "https://flathub.org/en/apps/com.visualstudio.code"
|
||||
|
||||
[[tasks.apps]]
|
||||
name = "JetBrains IDEs"
|
||||
url = "https://www.jetbrains.com/"
|
||||
|
||||
[[tasks]]
|
||||
name = "Video Editing"
|
||||
key = "video"
|
||||
|
||||
[[tasks.apps]]
|
||||
name = "Kdenlive"
|
||||
url = "https://kdenlive.org/"
|
||||
flathub = "https://flathub.org/en/apps/org.kde.kdenlive"
|
||||
|
||||
[[tasks.apps]]
|
||||
name = "DaVinci Resolve"
|
||||
url = "https://www.blackmagicdesign.com/products/davinciresolve"
|
||||
@@ -1 +1,17 @@
|
||||
continue = "Continue"
|
||||
|
||||
[appList]
|
||||
todo = "I need to do..."
|
||||
|
||||
[appList.categories]
|
||||
modeling = "3D Modeling"
|
||||
animation = "Animation"
|
||||
drawing = "Drawing"
|
||||
gaming = "Gaming"
|
||||
music = "Music Production"
|
||||
note = "Note Taking"
|
||||
office = "Office Work"
|
||||
photoGeneric = "Photo Editing (Generic)"
|
||||
photography = "Photo Editing (Photography)"
|
||||
programming = "Programming"
|
||||
video = "Video Editing"
|
||||
|
||||
@@ -1 +1,17 @@
|
||||
continue = "ดำเนินการต่อ"
|
||||
|
||||
[appList]
|
||||
todo = "ฉันต้อง..."
|
||||
|
||||
[appList.categories]
|
||||
modeling = "โมเดล 3D"
|
||||
animation = "แอนิเมชั่น"
|
||||
drawing = "วาดรูป"
|
||||
gaming = "เล่นเกม"
|
||||
music = "ทำเพลง"
|
||||
note = "จดบันทึก (โน้ต)"
|
||||
office = "ออฟฟิศ"
|
||||
photoGeneric = "แก้ไขรูปภาพ (ทั่วไป)"
|
||||
photography = "แก้ไขรูปภาพ (งานถ่ายภาพ)"
|
||||
programming = "เขียนโปรแกรม"
|
||||
video = "ตัดต่อวิดีโอ"
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
import PocketBase from "pocketbase";
|
||||
|
||||
export const pb = new PocketBase("http://127.0.0.1:8090");
|
||||
|
||||
export const apps = pb.collection("apps");
|
||||
|
||||
export const appDetails = pb.collection("app_details");
|
||||
@@ -103,7 +103,7 @@ const visualization = visualizeTree(tree, null, "");
|
||||
}
|
||||
|
||||
:global(a) {
|
||||
@apply border-b border-b-gray-400 dark:border-b-slate-400 hover:dark:text-sky-200 hover:text-sky-900 transition-colors;
|
||||
@apply border-b border-b-gray-400 dark:border-b-slate-400 no-underline!;
|
||||
}
|
||||
|
||||
:global(details) {
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
---
|
||||
import AppList from "@/components/AppList";
|
||||
import BasicLayout from "@/layouts/BasicLayout.astro";
|
||||
---
|
||||
|
||||
<BasicLayout title="Linux Applications">
|
||||
<main class="my-8 mx-16">
|
||||
<section id="appList">
|
||||
<h1>I need to do ..., Does Linux have an app for it?</h1>
|
||||
<p>
|
||||
Below is a short list of common tasks and native Linux apps that
|
||||
can be used for it.
|
||||
</p>
|
||||
<div class="mb-4">
|
||||
<span class="text-amber-600 dark:text-yellow-400">Warning:</span
|
||||
> This is not and can never be a 100% complete list.
|
||||
</div>
|
||||
<AppList lang="en" client:load />
|
||||
</section>
|
||||
<section id="compatQuestions" class="mt-4">
|
||||
<h1>Software Compatibility</h1>
|
||||
<p>A short section about software compatibility in Linux.</p>
|
||||
<details>
|
||||
<summary
|
||||
>Does web applications work? (Canva, Google Docs, Notion,
|
||||
etc.)</summary
|
||||
>
|
||||
<p>
|
||||
These apps are the least concerning and if you use these
|
||||
apps, you'll do just fine.
|
||||
</p>
|
||||
</details>
|
||||
<details>
|
||||
<summary>Does Adobe apps work?</summary>
|
||||
<p>
|
||||
It is known to not work very well, however, you can try if
|
||||
you wish.
|
||||
</p>
|
||||
</details>
|
||||
<details>
|
||||
<summary
|
||||
>Can I run Windows apps/games that aren't native on Linux?</summary
|
||||
>
|
||||
<p>
|
||||
It is possible, however, not everything will work perfectly.
|
||||
See the
|
||||
<a href="https://appdb.winehq.org/"
|
||||
>Wine Application Database</a
|
||||
> for regular applications and
|
||||
<a href="https://www.protondb.com/">ProtonDB</a> for Steam games.
|
||||
</p>
|
||||
</details>
|
||||
</section>
|
||||
</main>
|
||||
</BasicLayout>
|
||||
|
||||
<style>
|
||||
@reference "@/styles/global.css";
|
||||
|
||||
h1 {
|
||||
@apply text-4xl font-bold mb-4;
|
||||
}
|
||||
|
||||
p {
|
||||
@apply my-2;
|
||||
}
|
||||
|
||||
details {
|
||||
@apply border dark:border-slate-700 border-gray-300 px-4 py-2 rounded mb-2;
|
||||
}
|
||||
</style>
|
||||
@@ -7,7 +7,7 @@ const startLink = getRelativeLocaleUrl("en", "start");
|
||||
|
||||
<BasicLayout>
|
||||
<header
|
||||
class="min-h-[50vh] flex justify-center items-center flex-col gap-2 bg-amber-50 dark:bg-amber-950"
|
||||
class="min-h-[60vh] flex justify-center items-center flex-col gap-2 bg-amber-50 dark:bg-amber-950"
|
||||
>
|
||||
<h1
|
||||
class="text-5xl font-bold bg-gradient-to-r from-amber-700 to-amber-900 dark:from-amber-400 dark:to-amber-600 bg-clip-text text-transparent"
|
||||
@@ -15,12 +15,13 @@ const startLink = getRelativeLocaleUrl("en", "start");
|
||||
Move to Linux
|
||||
</h1>
|
||||
<p>This website aims to help you learn and setup Linux.</p>
|
||||
<div>
|
||||
<div class="text-center">
|
||||
<a href="#what">What</a>
|
||||
•
|
||||
<a href="#why">Why</a>
|
||||
•
|
||||
<a href={startLink} class="font-bold">Just start!</a>
|
||||
<a href={startLink} class="font-bold">Just start!</a><br />
|
||||
<a href="/en/apps">Apps & Compatibility</a>
|
||||
</div>
|
||||
</header>
|
||||
<main>
|
||||
@@ -76,12 +77,25 @@ const startLink = getRelativeLocaleUrl("en", "start");
|
||||
>
|
||||
•
|
||||
<a href={getRelativeLocaleUrl("en", "privacy")}>Privacy Policy</a>
|
||||
•
|
||||
<a
|
||||
href="https://gitskette.dailitation.xyz/linesofcodes/movetolinux"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
Source code
|
||||
</a>
|
||||
</div>
|
||||
<p>
|
||||
Made with ♥ from <a
|
||||
href="https://github.com/lines-of-codes/"
|
||||
target="_blank"
|
||||
rel="noreferrer noopener">lines-of-codes</a>
|
||||
rel="noreferrer noopener">lines-of-codes</a
|
||||
>
|
||||
</p>
|
||||
<p class="text-gray-400">
|
||||
Site licensed under MIT license, Most text content licensed under
|
||||
CC-BY-SA 4.0
|
||||
</p>
|
||||
</footer>
|
||||
</BasicLayout>
|
||||
@@ -89,10 +103,6 @@ const startLink = getRelativeLocaleUrl("en", "start");
|
||||
<style>
|
||||
@reference "@/styles/global.css";
|
||||
|
||||
a:not(.button) {
|
||||
@apply underline;
|
||||
}
|
||||
|
||||
h2 {
|
||||
@apply text-4xl font-bold;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,74 @@
|
||||
---
|
||||
import AppList from "@/components/AppList";
|
||||
import BasicLayout from "@/layouts/BasicLayout.astro";
|
||||
---
|
||||
|
||||
<BasicLayout title="Linux Applications">
|
||||
<main class="my-8 mx-16">
|
||||
<section id="appList">
|
||||
<h1>
|
||||
ฉันจำเป็นที่จะต้องทำ... Linux มีแอพลิเคชั่นสำหรับงานนั้นรึเปล่า
|
||||
</h1>
|
||||
<p>
|
||||
ด้านล่างนี้เป็นรายการสั้นๆ ของงานทั่วไปและแอพลิเคชั่น Linux
|
||||
ที่สามารถใช้ทำงานนั้นได้
|
||||
</p>
|
||||
<div class="mb-4">
|
||||
<span class="text-amber-600 dark:text-yellow-400">คำเตือน:</span
|
||||
> นี่ไม่ใช่และจะไม่มีทางเป็นรายการที่สมบูรณ์แบบ 100%
|
||||
</div>
|
||||
<AppList lang="th" client:load />
|
||||
</section>
|
||||
<section id="compatQuestions" class="mt-4">
|
||||
<h1>ความเข้ากันได้ของซอฟต์แวร์</h1>
|
||||
<p>ส่วนสั้น ๆ เกี่ยวกับความเข้ากันได้ของซอฟต์แวร์บน Linux</p>
|
||||
<details>
|
||||
<summary
|
||||
>เว็บแอพลิเคชั่นสามารถใช้งานได้รึเปล่า (Canva, Google Docs,
|
||||
Notion, ฯลฯ)</summary
|
||||
>
|
||||
<p>
|
||||
แอพเหล่านี้มีความน่าเป็นห่วงน้อยที่สุด
|
||||
ส่วนใหญ่แล้วก็ควรที่จะไม่มีปัญหาแต่อย่างใด
|
||||
</p>
|
||||
</details>
|
||||
<details>
|
||||
<summary>แอพลิเคชั่น Adobe ใช้งานได้หรือไม่</summary>
|
||||
<p>
|
||||
เป็นที่ทราบกันดีว่าอาจใช้งานได้ไม่ดีนัก
|
||||
แต่คุณก็สามารถลองดูได้ถ้าคุณต้องการ
|
||||
</p>
|
||||
</details>
|
||||
<details>
|
||||
<summary
|
||||
>ฉันสามารถใช้แอพหรือเกม Windows ที่ไม่ได้ถูกสร้างมาเพื่อ
|
||||
Linux ได้หรือไม่</summary
|
||||
>
|
||||
<p>
|
||||
มันเป็นไปได้ แต่ทุกอย่างจะไม่สามารถทำงานได้อย่างสมบูรณ์แบบ
|
||||
ดูที่<a href="https://appdb.winehq.org/"
|
||||
>ฐานข้อมูลแอพลิเคชั่น Wine</a
|
||||
> สำหรับแอพลิเคชั่นทั่วไปและ
|
||||
<a href="https://www.protondb.com/">ProtonDB</a> สำหรับเกมบน
|
||||
Steam
|
||||
</p>
|
||||
</details>
|
||||
</section>
|
||||
</main>
|
||||
</BasicLayout>
|
||||
|
||||
<style>
|
||||
@reference "@/styles/global.css";
|
||||
|
||||
h1 {
|
||||
@apply text-4xl font-bold mb-4;
|
||||
}
|
||||
|
||||
p {
|
||||
@apply my-2;
|
||||
}
|
||||
|
||||
details {
|
||||
@apply border dark:border-slate-700 border-gray-300 px-4 py-2 rounded mb-2;
|
||||
}
|
||||
</style>
|
||||
@@ -15,12 +15,13 @@ const startLink = getRelativeLocaleUrl("th", "start");
|
||||
ย้ายไป Linux
|
||||
</h1>
|
||||
<p>เว็บไซต์นี้จะช่วยให้คุณเรียนรู้และติดตั้ง Linux</p>
|
||||
<div>
|
||||
<div class="text-center">
|
||||
<a href="#what">อะไร</a>
|
||||
•
|
||||
<a href="#why">ทำไม</a>
|
||||
•
|
||||
<a href={startLink} class="font-bold">เริ่มเลยดีกว่า</a>
|
||||
<a href={startLink} class="font-bold">เริ่มเลยดีกว่า</a><br />
|
||||
<a href="/th/apps">แอพลิเคชั่นบน Linux</a>
|
||||
</div>
|
||||
</header>
|
||||
<main>
|
||||
@@ -77,6 +78,14 @@ const startLink = getRelativeLocaleUrl("th", "start");
|
||||
<a href={getRelativeLocaleUrl("th", "privacy")}
|
||||
>นโยบายความเป็นส่วนตัว</a
|
||||
>
|
||||
•
|
||||
<a
|
||||
href="https://gitskette.dailitation.xyz/linesofcodes/movetolinux"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
โค้ด
|
||||
</a>
|
||||
</div>
|
||||
<p>
|
||||
ทำด้วย ♥ จาก <a
|
||||
@@ -84,6 +93,10 @@ const startLink = getRelativeLocaleUrl("th", "start");
|
||||
target="_blank">lines-of-codes</a
|
||||
>
|
||||
</p>
|
||||
<p class="text-gray-400">
|
||||
เว็บไซต์อยู่ภายใต้สัญญาอนุญาต MIT; เนื้อหาข้อความส่วนใหญ่อยู่ภายใต้
|
||||
CC-BY-SA 4.0
|
||||
</p>
|
||||
</footer>
|
||||
</BasicLayout>
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
@import "tailwindcss";
|
||||
|
||||
@import "./breeze-icons.css";
|
||||
|
||||
body {
|
||||
@@ -15,6 +16,10 @@ body {
|
||||
@apply border border-gray-400 dark:border-gray-600 shadow rounded px-4 py-2 hover:border-sky-500 active:bg-sky-200 dark:active:bg-sky-700 transition-colors;
|
||||
}
|
||||
|
||||
a:not(.button) {
|
||||
@apply underline hover:dark:text-sky-200 hover:text-sky-900 transition-colors;
|
||||
}
|
||||
|
||||
#archLogo {
|
||||
background-image: url("/logos/archlinux-logo-dark-scalable.svg");
|
||||
background-size: contain;
|
||||
|
||||
+4
-1
@@ -14,6 +14,9 @@
|
||||
]
|
||||
},
|
||||
"jsx": "preserve",
|
||||
"jsxImportSource": "solid-js"
|
||||
"jsxImportSource": "solid-js",
|
||||
"plugins": [
|
||||
{ "name": "typescript-plugin-toml" }
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user