Add files
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
BBaoVanC 2021-04-24 21:37:42 -05:00
parent 2b33845cb0
commit 3478074c3b
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
15 changed files with 226 additions and 0 deletions

42
.drone.yml Normal file
View File

@ -0,0 +1,42 @@
---
kind: pipeline
type: docker
name: Deploy to boba.best
trigger:
branch:
- master
event:
exclude:
- pull_request
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: build
image: mapitman/docker-hugo
commands:
- hugo version
- hugo --minify
- name: tree
image: alpine:latest
commands:
- apk add tree
- tree -a public/
- name: upload
image: appleboy/drone-scp
settings:
host: boba.best
port: 22
username: droneci
key:
from_secret: SSH_KEY
target: /var/www/boba.best/public/
rm: true
source: public/
strip_components: 1

11
.editorconfig Normal file
View File

@ -0,0 +1,11 @@
root = true
[*.{md,toml}]
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
[*.md]
max_line_length = 80

16
.gitignore vendored Normal file
View File

@ -0,0 +1,16 @@
# Created by https://www.toptal.com/developers/gitignore/api/hugo
# Edit at https://www.toptal.com/developers/gitignore?templates=hugo
### Hugo ###
# Generated files by hugo
/public/
/resources/_gen/
hugo_stats.json
# Executable may be added to repository
hugo.exe
hugo.darwin
hugo.linux
# End of https://www.toptal.com/developers/gitignore/api/hugo

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "themes/hugo-bearblog"]
path = themes/hugo-bearblog
url = https://github.com/janraasch/hugo-bearblog.git

13
archetypes/blog.md Normal file
View File

@ -0,0 +1,13 @@
+++
title = "{{ replace .Name "-" " " | title }}"
date = "{{ .Date }}"
# Format date like 2006-01-02 (it gives an error if I use .Format)
description = """
Lorem ipsum
"""
tags = [
"",
]
+++

4
archetypes/default.md Normal file
View File

@ -0,0 +1,4 @@
+++
title = "{{ replace .Name "-" " " | title }}"
menu = "main"
+++

64
config.toml Normal file
View File

@ -0,0 +1,64 @@
baseURL = "https://boba.best"
# The name of this wonderful theme ;-).
theme = 'hugo-bearblog'
# Basic metadata configuration for your blog.
title = "boba.best"
author = "bbaovanc"
copyright = "Copyright © 2021, bbaovanc."
languageCode = "en-US"
# Generate a nice robots.txt for SEO
enableRobotsTXT = true
# Generate "Bearblog"-like URLs !only!, see https://bearblog.dev/.
disableKinds = ["taxonomy"]
ignoreErrors = ["error-disable-taxonomy"]
[permalinks]
#blog = "/:slug/"
tags = "/blog/:slug"
[params]
# The "description" of your website. This is used in the meta data of your generated html.
description = "Be your boba best"
# The path to your "favicon". This should be a square (at least 32px x 32px) png-file.
# Hint: It's good practise to also put a "favicon.ico"-file into your "static"-folder.
favicon = "img/boba_mochi.png"
# These "images" are used for the structured data templates. This will show up, when
# services like Twitter or Slack want to generate a preview of a link to your site.
# See https://gohugo.io/templates/internal#twitter-cards and
# https://gohugo.io/templates/internal#open-graph.
images = ["img/boba_mochi.gif"]
# Another "title" :-). This one is used as the site_name on the Hugo's internal
# opengraph structured data template.
# See https://ogp.me/ and https://gohugo.io/templates/internal#open-graph.
title = "boba.best"
# This theme will, by default, inject a made-with-line at the bottom of the page.
# You can turn it off, but we would really appreciate if you dont :-).
# hideMadeWithLine = true
# By default, this theme displays dates with a format like "02 Jan, 2006", but
# you can customize it by setting the `dateFormat` param in your site's config
# file. See [Hugo's Format function docs](https://gohugo.io/functions/format/)
# for details. An example TOML config that uses [ISO
# 8601](https://en.wikipedia.org/wiki/ISO_8601) format:
# dateFormat = "2006-01-02"
#[menu]
#
# [[menu.main]]
# identifier = "pleroma"
# name = "Pleroma"
# url = "/pleroma/"
# weight = 0
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true

6
content/_index.md Normal file
View File

@ -0,0 +1,6 @@
Full list of the services hosted by boba.best:
- [PeerTube](https://peertube.boba.best)
- [Pleroma](https://pleroma.boba.best)
See the navigation bar on top for more information about each service.

3
content/blog/_index.md Normal file
View File

@ -0,0 +1,3 @@
+++
title = "Blog"
+++

36
content/peertube.md Normal file
View File

@ -0,0 +1,36 @@
+++
title = "PeerTube"
menu = "main"
+++
## What is PeerTube?
From JoinPeerTube[^1]
> PeerTube aspires to be a **decentralized and free/libre alternative** to
> video broadcasting services.
>
> Our aim is not to replace them, but rather to simultaneously offer something
> else, with different values.
> PeerTube uses [**ActivityPub**](https://activitypub.rocks/), a federating
> protocol that **allows you to interact with other software**, provided they
> also use this protocol. For example, PeerTube and Mastodon -a Twitter
> alternative- are connected: **you can follow a PeerTube user from Mastodon**
> (the latest videos from the PeerTube account you follow will appear in your
> feed), **and even comment on a PeerTube-hosted video directly from your
> Mastodon's account**.
> With PeerTube, choose **your hosting company and the rules you believe in**.
> Direct contact with a human-scale hoster allows for two things: you no longer
> are the client of a huge tech company, and **you can nurture a special
> relationship with your hoster, who distributes your data**.
> The PeerTube software can, whenever necessary, use a peer-to-peer protocol
> (P2P) to broadcast viral videos, **lowering the load of their hosts**.
## peertube.boba.best
Instance URL: https://peertube.boba.best
[^1]: https://joinpeertube.org/

27
content/pleroma.md Normal file
View File

@ -0,0 +1,27 @@
+++
title = "Pleroma"
menu = "main"
+++
## What is Pleroma?
From *What Is Pleroma?*[^1]
> Pleroma is a microblogging server software that can federate (= exchange
> messages with) other servers that support the same federation standards
> (OStatus and ActivityPub). What that means is that you can host a server for
> yourself or your friends and stay in control of your online identity, but
> still exchange messages with people on larger servers. Pleroma will federate
> with all servers that implement either OStatus or ActivityPub, like GNU
> Social, Friendica, Hubzilla and Mastodon.
Since it all uses ActivityPub in the background, that means that, for example,
you can comment on a video from [PeerTube](https://joinpeertube.org/) using an
existing account on an ActivityPub-compatible service such as
[Pleroma](https://pleroma.social/) or [Mastodon](https://joinmastodon.org/).[^2]
## pleroma.boba.best
Instance URL: https://pleroma.boba.best
[^1]: [https://blog.soykaf.com/post/what-is-pleroma/](https://web.archive.org/web/20210409094551/https://blog.soykaf.com/post/what-is-pleroma/)
[^2]: [https://pleroma.social/blog/2021/01/13/the-big-pleroma-and-fediverse-faq/](https://web.archive.org/web/20210321192935/https://pleroma.social/blog/2021/01/13/the-big-pleroma-and-fediverse-faq/)

BIN
static/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
static/img/boba_mochi.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

BIN
static/img/boba_mochi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

1
themes/hugo-bearblog Submodule

@ -0,0 +1 @@
Subproject commit 11d7e54cb9467ecc27df791a9db9153fbc9b0c7f