= IPFS Component (deprecated)
:doctitle: IPFS
:shortname: ipfs
:artifactid: camel-ipfs
:description: Access the Interplanetary File System (IPFS).
:since: 2.23
:supportlevel: Stable-deprecated
:deprecated: *deprecated*
:component-header: Only producer is supported
//Manually maintained attributes
:camel-spring-boot-name: ipfs

*Since Camel {since}*

*{component-header}*

The IPFS component provides access to the Interplanetary File System https://ipfs.io/[(IPFS)].

Maven users will need to add the following dependency to their `pom.xml`
for this component:

[source,xml]
------------------------------------------------------------
<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-ipfs</artifactId>
    <version>x.x.x</version>
    <!-- use the same version as your Camel core version -->
</dependency>
------------------------------------------------------------

== URI format

---------------------------------
ipfs://cmd?options
---------------------------------

// component-configure options: START

// component-configure options: END

// component options: START
include::partial$component-configure-options.adoc[]
include::partial$component-endpoint-options.adoc[]
// component options: END

// endpoint options: START

// endpoint options: END

== Samples

In this sample we add a file to IPFS, get a file from IPFS and finally access the content of an IPFS file. 

[source,java]
---------------------------------------------------------------------------------------------
from("direct:start").to("ipfs:add")
from("direct:start").to("ipfs:get?outdir=target")
from("direct:start").to("ipfs:cat");
---------------------------------------------------------------------------------------------


include::spring-boot:partial$starter.adoc[]
