You've already forked hotpocket
This commit is contained in:
3
services/dotcom/invoke.yaml
Normal file
3
services/dotcom/invoke.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
run:
|
||||
echo: true
|
||||
pty: true
|
||||
14
services/dotcom/tasks.py
Normal file
14
services/dotcom/tasks.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import annotations
|
||||
|
||||
from invoke import task
|
||||
|
||||
|
||||
@task
|
||||
def publish(ctx):
|
||||
ctx.run((
|
||||
'rsync '
|
||||
'-rv '
|
||||
'webroot/ '
|
||||
'snakeweb.net:/srv/sites/bilbo/hotpocket.app/dotcom/'
|
||||
))
|
||||
26
services/dotcom/webroot/bot.txt
Normal file
26
services/dotcom/webroot/bot.txt
Normal file
@@ -0,0 +1,26 @@
|
||||
BTHLabsHotPocketBot
|
||||
===================
|
||||
|
||||
BTHLabsHotPocketBot is the metadata bot software that BTHLabs HotPocket uses to
|
||||
discover and collect metadata of links saved by its users.
|
||||
|
||||
BTHLabsHotPocketBot collects the following data from HTML documents:
|
||||
|
||||
* Page title extracted from ``meta`` and ``title`` tags.
|
||||
* Description extract from ``meta`` tags.
|
||||
|
||||
Metadata collected by BTHLabsHotPocketBot is stored in HotPocket database and
|
||||
displayed to users who saved the link.
|
||||
|
||||
How BTHLabsHotPocketBot accesses your site
|
||||
------------------------------------------
|
||||
|
||||
BTHLabsHotPocketBot makes an HTTP request to the site when the link is saved
|
||||
or a user requests metadata refresh through the UI. The response content is
|
||||
then processed. The response content **is not** stored in any database.
|
||||
|
||||
Getting Support
|
||||
----------------
|
||||
|
||||
If you have any questions about BTHLabsHotPocketBot, please contact us at
|
||||
contact@bthlabs.pl and we will respond as soon as possible.
|
||||
12
services/dotcom/webroot/index.html
Normal file
12
services/dotcom/webroot/index.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>hotpocket.app</title>
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
</head>
|
||||
<body>
|
||||
<h1>SOON</h1>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user