initial commit
This commit is contained in:
commit
cc37863b12
14
.SRCINFO
Normal file
14
.SRCINFO
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
pkgbase = discord-webview
|
||||||
|
pkgdesc = A simple webview application to access Discord, without having discord spyware running in the background
|
||||||
|
pkgver = 1.0.0
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://github.com/4rkal/discord-desktop
|
||||||
|
arch = x86_64
|
||||||
|
license = MIT
|
||||||
|
makedepends = go
|
||||||
|
depends = glibc
|
||||||
|
depends = webkit2gtk
|
||||||
|
source = main.go
|
||||||
|
sha256sums = d41ca58419d1ec0e668d77c521297174b463c51358a4e9d25fa40f84d251827b
|
||||||
|
|
||||||
|
pkgname = discord-webview
|
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
discord*
|
||||||
|
pkg/
|
||||||
|
src/
|
21
LICENSE
Normal file
21
LICENSE
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2024 4rkal
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
26
PKGBUILD
Normal file
26
PKGBUILD
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
# Maintainer: 4rkal <4rkal@horsefucker.org>
|
||||||
|
pkgname=discord-webview
|
||||||
|
pkgver=1.0.0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="A simple webview application to access Discord, without having discord spyware running in the background"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://github.com/4rkal/discord-desktop"
|
||||||
|
license=('MIT')
|
||||||
|
depends=('glibc' 'webkit2gtk')
|
||||||
|
makedepends=('go')
|
||||||
|
source=("main.go")
|
||||||
|
sha256sums=('d41ca58419d1ec0e668d77c521297174b463c51358a4e9d25fa40f84d251827b')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir"
|
||||||
|
|
||||||
|
export GOPATH="$srcdir"
|
||||||
|
export GO111MODULE=on
|
||||||
|
|
||||||
|
go build -o "$srcdir/$pkgname" main.go
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
install -Dm755 "$srcdir/$pkgname" "$pkgdir/usr/bin/$pkgname"
|
||||||
|
install -Dm644 main.go "$pkgdir/usr/share/$pkgname/main.go"
|
||||||
|
}
|
9
README.md
Normal file
9
README.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# discord-desktop usable
|
||||||
|
Discord desktop but actually usable. It is written in go and utilizes [webview](https://github.com/webview/webview_go).
|
||||||
|
|
||||||
|
Its a pretty simple application that just renders discord.com/app into a desktop application.
|
||||||
|
|
||||||
|
# Install
|
||||||
|
|
||||||
|
Using go:
|
||||||
|
`go install github.com/4rkal/discord-desktop@latest`
|
5
go.mod
Normal file
5
go.mod
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
module github.com/4rkal/discord-desktop
|
||||||
|
|
||||||
|
go 1.22.3
|
||||||
|
|
||||||
|
require github.com/webview/webview_go v0.0.0-20240220051247-56f456ca3a43
|
2
go.sum
Normal file
2
go.sum
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
github.com/webview/webview_go v0.0.0-20240220051247-56f456ca3a43 h1:PwbNdNumoKba+ZgrE6ZpSluJfNJfyMuqwVyUB5+iLDI=
|
||||||
|
github.com/webview/webview_go v0.0.0-20240220051247-56f456ca3a43/go.mod h1:yE65LFCeWf4kyWD5re+h4XNvOHJEXOCOuJZ4v8l5sgk=
|
Loading…
Reference in New Issue
Block a user