digital-garden-anabasis/pages/_INFORM/sdbs_selfhosting.md
sdbs Terra c0b17af09e Automatic update, changed: .gitattributes, 000_start-here.md, Pasted image 20201009004929.png, _INFORM/audio_101.md, _INFORM/avg.md, _INFORM/consumer_habits_good.md, _INFORM/docs.md, _INFORM/ffmpeg.md, _INFORM/firefox.md, _INFORM/ipfs.md, _INFORM/linux_tips.md, _INFORM/manuals.md, _INFORM/ninjam.md, _INFORM/obs.md, _INFORM/online_toolbox.md, _INFORM/prg-wt.md, _INFORM/reaper.md, _INFORM/s.m.a.r.t.md, _INFORM/sdbs_selfhosting.md, _INFORM/start.md, _INFORM/supercollider.md, _INFORM/syncthing.md, _INFORM/telegram.md, _INFORM/video_101.md, areas.Algorithmic Editing.md, areas.anarcheology.md, areas.artificial intelligence.md, areas.music notation.md, areas.self-hosting.md, areas.stream.md, atlas_mnemosyne_desc.png, bicameral_idea.png, concepts.annotation.image.md, concepts.annotation.md, concepts.annotation.media.md, concepts.backlinks.md, concepts.bookmarking.md, concepts.digital garden.md, concepts.filesystem.md, concepts.filetag.md, concepts.flat-file.md, concepts.hypertext.md, concepts.knowledge managment.md, concepts.markup.md, concepts.memory.md, concepts.parallel textface.md, concepts.playlisting.md, data_wisdom_panel.png, dg_scheme.png, discuss_sum.png, docdrop_screenshot.png, folder_scheme.png, fulldocs.Speed and Information Cyberspace Alarm.md, fulldocs.tags-tallguyjenks.md, incubation.archives in art history.md, incubation.codes.md, incubation.decentralization.md, incubation.interface.md, incubation.knowledge graph.md, incubation.map.md, incubation.mediamateriality.md, incubation.openAI.md, incubation.speednote.md, incubation.wikipedia.md, lalalala.png, mapping_language.png, opio_viewer.png, pile.md, projects.ALEADUB.md, projects.lalar.md, projects.portfolio generator.md, projects.portfolio generator.pg_backup.md, projects.portfolio generator.portfolio cms.md, projects.sermon.md, projects.upend.md, projects.upend.upend_notes_tmp.pdf, tools.EDL.md, tools.archivebox.md, tools.dendron.md, tools.fediverse.md, tools.magenta.md, tools.magnet links.md, tools.markdown.md, tools.mastodon.md, tools.mermaid.md, tools.obsidian.md, tools.syncthing.md, tools.tagspaces.md
2021-01-01 16:31:15 +01:00

1.3 KiB

sdbs_selfhosting

TMP

  1. sdbs backups syncthing
  2. ipfs
  3. torrent
  4. pile
  5. klastr

Structure proposal

===== Intro =====
==== Project list ====
===== Essential =====
==== Tool list ====
===== Advanced =====

CHAOS

IPFS

The script for autopinning:

set -ex
cd
pwd
mkdir -p ipfs
cd ipfs

echo '
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

cd "${DIR}"

for url in "https://pile.sdbs.cz/api/ipfs_cids" "https://inform.sdbs.cz/ipfs_cids.php";do
        echo "Loading ${url}..."
        for cid in $(curl -s $url|sort -R);do
                ipfs get "${cid}" && ipfs pin add --progress "${cid}"
        done
done
' > update_pins.sh
chmod +x update_pins.sh

echo "30 */6 * * *  $(whoami)   ipfs name publish --key=gunk Qmb6WJzMereTNCMh1drjepq3wEn9r6HkBZKadc7CFwf98V" |sudo tee /etc/cron.d/ipfs

set +x
echo "Set-up complete. To update ipfs pins now, run ./update_pins.sh"

Copy and paste this into some file, then run it with bash. It will set up periodic autopinning.