►
From YouTube: Workshop: Indexed content routing - Ivan Schasny
Description
Exploring Kubo delegated routing, and using it to both publish and query network indexers. See the tutorial at https://github.com/ischasny/ipfs-camp-routing
A
So
after
this
few
presentations
he
already
probably
familiar
with
the
what
reframe
is
so
it's
a
high
level
protocol
designed
to
to
to
be
able
to
to
delegate
routing
from
ipfs
node
to
to
other
systems.
It's
simple
request
response
is
extensible
and
stress,
but
agnostic.
So
what
can
we
do
with
it?
So
in
the
indexing
context,
so
by
utilizing
reframe
kubernodes,
they
can
advertise
their
cads
to
other
external
systems
instead
of
alongside
the
DHT.
A
So
you
can
configure
multiple
routers
to
walk
alongside
each
other,
so
you
don't
have
to
choose
between
either
DHT
or
indexing
or
some
other
system
you
can
use,
publish
to
all
of
them
as
a
version.
016
could
be
natively
suppository
frame
and
you
can
configure
multiple
routers
to
work
seamlessly
alongside
each
other
and
reframe
can
already
be
used
in
your
application
by
using
go
delegated
routing
Library.
So
how
do
we
use
reframe
to
integrate
ipfs
with
indexing
so
kubernetes?
A
The
way
it
advertises
its
contents,
its
publishes,
the
snapshot
of
all
of
its
cads
into
the
configured
routers
every
X
hours
say
x
is
12.
By
default
we
have
a
small
sidecar
process
which
is
called
index
provider,
and
you
can
run
this
index
provider
alongside
your
kubernetes
and
index
provider
can
receive
snapshots
from
Kubo
can
chunk
them
up.
A
I
can
translate
them
into
the
index
advertisements
that
are
understood
by
the
indexes
and
again
so,
just
to
reiterate,
so
you
don't
have
to
choose
between
either
DHT
or
like
reframe
or
routine,
or
some
you
can
use
both
of
them
in
the
same
time,
by
utilizing
so
called
parallel
helper,
which
I'm
going
to
show
you
in
a
minute-
and
this
is
just
illustrates
how
you
all
things
work
on
a
couple.
So,
on
the
left
hand
side
you
have
the
kubernet,
the
apfs
node.
A
That
is
publishing
the
cad
snapshots,
every
12
hours
to
the
index
provider
that
is
running
on
the
same
box
so
and
then
index
provider
can
translate
those
CD
snapshots
into
index
advertisements
and
advertise
them
to
configure
indexes
which,
for
example,
CAG
dot
contacts.
So
you
can,
if
you
put
this
URL
into
your
browser,
you
can
see
like
a
simple
UI
for
finding
index
content.
A
Okay,
this,
if
you
would
like
to
follow
along
so
you
please,
please
do
that.
So
if
you
scan
this
QR
code,
it's
going
to
take
you
to
that
GitHub
repo.
A
There
is
a
script
there
of
what
you
need
to,
or
you
can
run
on
your
local
computer
to
get
things
working,
but
I
also
be
going
executing
against
the
script
and
explaining
what
I'm
doing
so.
Please,
if
you
would
like
to
follow
along
just
scan
this
QR
code,
and
hopefully
it's
going
to
take
you
to
the
page
foreign.
A
So
obviously,
to
this
is
the
page
that
QR
code
takes
us
to.
It
assumes
that
you've
got
go
set
up
on
your
environment.
So,
let's
start
with
setting
up
the
local
indexes.
So
internet
connection
is
not
very
good
here.
So
I'm
not
that
brave,
to
try
to
publish
to
online
indexes
so
probably
going
to
be
using
the
local
one,
so
I'm
gonna,
so
I
already
have
it
installed.
So
I'm
not
going
to
be
installed
again,
so
instead
it
will
just
go
straight
to
initializing
it.
So
let
me
make.
A
A
Okay,
so
a
story
index
is
index
is
developed
by
by
the
team
I'm
walking
in
so
I'm
going
to
initialize
it.
So
that's
going
to
generate
the
default
configuration
by
just
pasting
this
command.
So
basically
it
generates
a
key
pair
generated
the
default
config.
So
we
don't
need
to
change
anything.
We
can
just
like
start
it
and
and
just
let
it
run.
A
So
that's
what
I'm
going
to
do
so
here
you
go
so
on
the
in
the
top
left
window,
we've
got
now
index
arriving
it's
exactly
the
same
index
as
if
you
go
to
seed.contact
and
that's
exactly
the
same
process.
So
next
I'm
going
to
start
the
kubernet,
so
I
already
have
Kubo
installed.
So
it's
important
to.
If
you
would
like
to
practice
experiment
with
the
delegated
routing,
you
have
to
have
it
version
16
installed.
So
after
that
it
started
supporting
the
configurable
routers,
so
I'm
going
to
just
generate
default,
configuration.
A
So
done
so
next
thing
that
I
need
to
do
is
configure
routing,
and
so
there
are
a
few
things
happening
here.
So
let
me
show
you
so
you
we
need
to
add
a
special
configuration
into
the
notes.
Config,
the
routing
configuration
block
so
routing
supports
multiple
different
methods,
such
as
find
peers
to
look
a
piece
on
the
network,
find
providers
APNs,
provide
and
Etc.
A
So
what
we're
interested
in
we're
interested,
particularly
in
the
provide
method,
so
provide
method,
is
the
one
that
that
is
used
when
Snapchat
get
published
and
what
I've
done
here
is
I've
set
up
the
parallel
helper
to
be
used
when
provide
methods
calls.
So
what
is
spiral
helper?
So
if
you
see
a
parallel,
helper
is
defined
as
two
routers
say:
I'm,
going
to
use
a
router
called
seed
contact
and
router
code,
one
DHT.
In
the
same
time
so-
and
here
you
can
see
that
seat
context
is
my
local
indexer.
A
A
What
I'm
going
to
do
now
is
I'm
going
to
add
this
configuration
block
to
my
device
config,
so
just
copied
paste.
It
enter
okay
done
so
one
more
thing
that
needs
to
be
captured
before
we
start
ipfs
node,
so
I
need
to
take
a
note
of
its
pure
ID.
So
if
I
go
to
VFS
config
so
and
then
I
just
need
to
find
the
prid
and
take
a
knotted
note
of
it.
So
here
it
is
I'm
going
to
just
paste
it
here.
A
So
I
also
have
it
installed
already,
but
you
can
just
copy
and
paste
the
this
command
and
install
it
then
I'm
going
to
initialize
the
default
config
so
done,
and
then
I
need
to
edit
the
configuration
file
and
paste
the
configuration
with
this
block
of
config
into
it.
So
what
it
effectively
does
it
says
that
I
would
like
to
be
listening
for
the
reframe
protocol
on
the
port
number
50
617,
and
it
has
some
a
few
configuration
bits.
So
you
can
learn
more
about
them
on
the
index
provider
in
the
index
provider,
GitHub
repo.
A
A
Yes,
okay,
so
the
final
bits
I
need
to
just
start:
the
demon
for
the
index
provider.
A
Yeah,
so
it's
basically
started.
Okay,
now
we've
got
all
the
pieces
running
so
I
can
open
the
web
UI
for
my
locally
running,
apfs,
node
and
I
can
add
a
file,
so
I
think
that's
from
my
previous
round.
Let
me
refresh
it
Okay
cool.
So
then
we're
going
to
input
the
file
so
just
tiny
file,
so
once
it
has
imported.
So
you
see
that
the
two
processes
at
the
bottom
is
index
provider.
The
top
is
indexed
so
they
started
chatting.
A
A
So,
basically,
when
I
run
it,
so
it
shows
that
this
file
is
available
at
what
providers
is
available
at
about
the
multi-head,
SSI
and
Etc.
And
if
you
use
a
service
like
sid.contacts
it,
you
could
basically
really
quickly
find
where
each
seed
is
available
and
could
then
just
use
this
multi-head
Restless
to
reach
that
file.
So
original
seats
content
with
a
seat
and
the
other
way
to
look
up
content,
we
can
do
it
through
the
directly
through
kubernet,
so
I
just
copy
that
command
and
I'm
going
to
be
using
the
same
seeds.
A
So
what
it
does
under
the
hood,
it
would
send
query
to
the
to
the
locally
running
indexer
and
the
indexer
would
return
that
seat
as
the
that's
basically
where,
where
it's
available
as
that's
the
ID
provider
that
we
captured
that
are
captured
here.
A
Okay,
that's
basically
it
thanks
a
lot
for
listening
and,
as
you
see
like
it's,
it's
hopefully
easy
to
set
up
to
index
your
ipfs
node.
So
thank
you.