100
4
O
pen
S
Ource
Y
earbOOk
2015
.
.
.
O
penSOurce
.
cOm
W O R K I N G
......... .
... .. ... .
.. .. .. ....
hard, but managing passwords is certainly a unique feature.
There are no less than three apps providing this functional-
ity: Passwords [7], Secure Container [8], and Passman [9].
3. Store your files where you want
External storage allows you to hook your existing data stor-
age into ownCloud, letting you to access files stored on FTP,
WebDAV, Amazon S3, and even Dropbox and Google Drive
through one interface.
(Watch Using Federated Cloud Sharing between own-
Cloud servers on YouTube to learn how to configure external
storage in ownCloud Server 8.1. [10])
The “big boys” like to create their own little walled gar-
dens—Box user can only collaborate with other Box users;
and if you want to share your files from Google Drive, your
mate needs a Google account or they can’t do much. With
ownCloud’s external storage, you can break these barriers.
A very creative solution is adding Google Drive and Drop-
box as external storage. You can work with files on both
seamlessly and share them with others through a simple
link—no account needed to work with you!
4. Get files uploaded
Because ownCloud is open source, people contribute interest-
ing features without being limited by corporate requirements.
Our contributors have always
cared about security and pri-
vacy, so ownCloud introduced
features such as protecting a
public link with a password and
setting an expire date years
before anybody else did [11].
Today, ownCloud has the
ability to configure a shared link
as read-write, which means
visitors can seamlessly edit
the files you share with them
(protected with a password
or not) or upload new files to
ownCloud
is a self-hosted open source file
sync and share server [1]. Like “big
boys” Dropbox, Google Drive, Box, and others, ownCloud
lets you access your files, calendar, contacts, and other
data. You can synchronize everything (or part of it) between
your devices and share files with others. But ownCloud
can do much more than its proprietary, hosted-on-some-
body-else’s-computer competitors.
Let’s look at six creative things ownCloud can do. Some
of these are possible because ownCloud is open source,
whereas others are just unique features it offers.
1. A scalable ownCloud Pi cluster
Because ownCloud is open source, you can choose be-
tween self-hosting on your own server or renting space from
a provider you trust—no need to put your files at a big com-
pany that stores it who knows where. Find some ownCloud
providers [2] or grab packages or a virtual machine for your
own server from our site [3].
The most creative things we’ve seen are a Banana Pi clus-
ter [4] and a Raspberry Pi cluster [5]. Although ownCloud’s
scalability is often used to deploy to hundreds of thousands
of users, some folks out there take it in a different direction,
bringing multiple tiny systems together to make a super-fast
ownCloud. Kudos!
2. Keep your
passwords synced
To make ownCloud easier
to extend, we have made it
extremely modular and have
an ownCloud app store [6].
There you can find things like
music and video players, cal-
endars, contacts, productivi-
ty apps, games, a sketching
app, and much more.
Picking only one app from
the almost 200 available is
Installing ownCloud on a Banana Pi.
Photo by Jörn Friedrich Dreyer. CC BY-SA 4.0.
6 creative
ways to use
ownCloud
BY JOS POORTVLIET
101
O
pen
S
Ource
Y
earbOOk
2015
.
.
.
O
penSOurce
.
cOm
5
your server without be-
ing forced to sign up
to another web service
that wants their private
data. (See the Creating
a public upload folder in
ownCloud 8.1 tutorial
on YouTube. [12])
This is great for when
people want to share
a large file with you.
Rather than having to
upload it to a third-par-
ty site, send you a link,
and make you go there
and download it (often
requiring a login), they
can just upload it to a
shared folder you pro-
vide, and you can get to work right away.
5. Get free secure storage
We already talked about how many of our contributors care
about security and privacy. That’s why ownCloud has an app
that can encrypt and decrypt stored data.
Using ownCloud to store your files on Dropbox or Google
Drive defeats the whole idea of retaking control of your data
and keeping it private. The Encryption app changes that. By
encrypting data before sending it to these providers and de-
crypting it upon retrieval, your data is safe as kittens.
6. Share your files and stay in control
As an open source project, ownCloud has no stake in build-
ing walled gardens. Enter Federated Cloud Sharing [13], a
protocol developed and published by ownCloud that enables
different file sync and share servers to talk to one another
and exchange files securely. Federated Cloud Sharing has
an interesting history. Twenty-two German universities [14]
decided to build a huge cloud for their 500,000 students.
But as each university wanted to stay in control of the data
of their own students, a creative solution was needed: Fed-
erated Cloud Sharing. The solution now connects all these
universities so the students can seamlessly work together. At
the same time, the system administrators at each university
stay in control of the files their students have created and
can apply policies, such as storage restrictions, or limitations
on what, with whom, and how files can be shared.
And this awesome technology isn’t limited to German
universities: Every ownCloud user can find their Federated
Cloud ID in their user settings and share it with others.
Conclusion
So there you have it. Six ways ownCloud enables people to
do special and unique things, all made possible because it
is open source and designed to help you liberate your data.
Do you have other creative uses for ownCloud? Email your
article proposals to open@opensource.com.
Links
[1] ownCloud: https://owncloud.com/
[2] ownCloud providers: https://owncloud.org/providers/
[3] ownCloud server instructions:
https://owncloud.org/ install/#instructions-server
[4] Installing ownCloud on a Banana Pi: http://www.owncluster.de/
2015/11/11/installing-owncloud-on-a-banana-pi/
[5] Host your “ownCloud” on a Raspberry Pi cluster:
https://christopherjcoleman.wordpress.com/2013/01/05/
host-your-owncloud-on-a-raspberry-pi-cluster/
[6] ownCloud app store: https://apps.owncloud.com/
[7] Passwords: https://apps.owncloud.com/
[8] Secure Container: https://apps.owncloud.com/content/
show.php/Secure+Container?content=167268
[9] Passman: https://apps.owncloud.com/content/ show.php/
Passman?content=166285
[10] Using Federated Cloud Sharing between ownCloud servers:
https://youtu.be/9-JEmlH2DEg
[11] ownCloud’s Latest Community Edition Adds Video
Streaming, and Easy Mounting of Third-Party Storage:
https://owncloud.com/owncloud45-community/
[12] Creating a public upload folder in ownCloud 8.1:
https://youtu.be/3GSppxEhmZY
[13] Announcing the draft Federated Cloud Sharing API:
http://karlitschek.de/2015/08/announcing-the-draft-federated-
cloud-sharing-api/
[14] Sciebo: https://owncloud.com/customer/sciebo/
Author
Jos Poortvliet is a technology enthusiast and all-things-open
evangelist. He’s also community manager at ownCloud,
and a SUSE and KDE marketing veteran. Jos loves biking
through Berlin and cooking for friends and family.
68
W O R K I N G
......... .
... .. ... .
.. .. .. ....
6
O
pen
S
Ource
Y
earbOOk
2015
.
.
.
O
penSOurce
.
cOm
2. Alternative dialog Find & Replace for Writer
(AltSearch)
The AltSearch extension [4] adds many new features to
Writer’s find & replace function: searched or replaced text
can contain one or more paragraphs; multiple search and
replacement in one step; searching: Bookmarks, Notes,
Text fields, Cross-references and Reference marks to their
content, name or mark and their inserting; searching and
inserting Footnote and Endnote; searching object of Table,
Pictures and Text frames according to their name; searching
out manual page and column break and their set up or deac-
tivation; and searching similarly formatted text, according to
cursor point. It is also possible to save and load search and
replacement parameters, and execute the batch on several
opened documents at the same time.
3. Pepito Cleaner
Pepito Cleaner [5] is an extension of LibreOffice created to
quickly resolve the most common formatting mistakes of old
scans, PDF imports, and every digital text file. By clicking
the Pepito Cleaner icon on the LibreOffice toolbar, users will
open a window that will analyze the document and show the
results broken down by category. This is extremely useful
LibreOffice
is the best free office suite
around, and as such has been
adopted by all major Linux distributions. Although LibreOffice
is already packed with features, it can be extended by using
specific add-ons, called extensions.
The main LibreOffice extensions website is extensions.li-
breoffice.org [1]. Extensions are tools that can be added or
removed independently from the main installation, and may
add new functionality or make existing functionality easier
to use.
1. MultiFormatSave
MultiFormatSave [2] lets users save a document in the
OpenDocument, Microsoft Office (old and new), and/or
PDF formats simultaneously, according to user settings.
This extension is extremely useful during the migration
from Microsoft Office document formats to the Open Doc-
ument Format standard [3], because it offers the option to
save in both flavors: ODF for interoperability, and Micro-
soft Office for compatibility with all users sticking to lega-
cy formats. This makes the migration process softer, and
easier to administer.
6 useful
LibreOffice
extensions
BY
ITALO VIGNOLI
71
O
pen
S
Ource
Y
earbOOk
2015
.
.
.
O
penSOurce
.
cOm
7
6. Anaphraseus
Anaphraseus [10] is a CAT (Comput-
er-Aided Translation) tool for creating,
managing, and using bilingual Trans-
lation Memories. Anaphraseus is a
LibreOffice macro set available as an
extension or a standalone document. Orig-
inally, Anaphraseus was developed to work with
the Wordfast format, but it can also export and
import files in TMX format. Anaphraseus main
features are: text segmentation, fuzzy search
in Translation Memory, terminology recognition,
and TMX Export/Import (OmegaT translation
memory format).
Links
[1] LibreOffice extensions: http://extensions.libreoffice.org/
[2] MultiFormatSave: http://extensions.libreoffice.org/exten-
sion-center/multisave-1
[3] Open Document Format:
http://www.opendocumentformat.org/
[4] Alternative dialog Find & Replace for Writer (AltSearch):
http://extensions.libreoffice.org/extension-center/alterna-
tive-dialog-find-replace-for-writer
[5] Pepito Cleaner:
http://pepitoweb.altervista.org/pepito_cleaner/index.php
[6] ImpressRunner: http://extensions.libreoffice.org/exten-
sion-center/impressrunner
[7] Impress: https://www.libreoffice.org/discover/impress/
[8] Export as Images: http://extensions.libreoffice.org/exten-
sion-center/export-as-images
[9] Draw: https://www.libreoffice.org/discover/draw/
[10] Anaphraseus: http://anaphraseus.sourceforge.net/
Author
Italo Vignoli is a founding member of The Document Foun-
dation. He handles the organization’s PR and media rela-
tions, coordinates its certification program, and is an interna-
tional spokesman for the project. Italo has supervised some
of the largest LibreOffice migration projects in Italy, and is a
LibreOffice trainer.
when converting PDF documents to ODF, as it cleans all the
cruft left in place by the automatic process.
4. ImpressRunner
ImpressRunner [6] is a simple extension that transforms an
Impress [7] presentation into an auto-running file. The exten-
sion adds two icons, to set and remove the autostart func-
tion, which can also be added manually by editing the File |
Properties | Custom Properties menu, and adding the term
autostart in one of the first four text fields. This extension
is especially useful for booths at conferences and events,
where the slides are supposed to run unattended.
5. Export as Images
The Export as Images extension [8] adds a File menu entry
export as Images... in Impress and Draw [9], to export all
slides or pages as images in JPG, PNG, GIF, BMP, and TIFF
format, and allows users to choose a file name for exported
images, the image size, and other parameters.
94
8
O
pen
S
Ource
Y
earbOOk
2015
.
.
.
O
penSOurce
.
cOm
W O R K I N G
......... .
... .. ... .
.. .. .. ....
So, we’ve seen the entire
history of the Django project
and community, and we’ve
seen popular packages
come and go. Between the
three of us, we’ve probably
tried at least half of these
8,000 apps personally, or we know someone who has. We
have a strong understanding of what makes an app solid and
reliable, and we have a good understanding of what gives
these things staying power.
Best way to start a new Django site: Cookiecutter
Starting off a new project or app is always a bit of a pain. You
can use Django’s built in `startproject` but if you’re like us,
you’re particular in how you do things. Cookiecutter solves
this by giving you a quick and easy way to define project or
app templates that can be easily reused. A quick example,
just `pip install cookiecutter` and then run this from the
command line:
$ cookiecutter https://github.com/marcofucci/
cookiecutter-simple-django
You’ll immediately start getting prompted for quick answers,
such as the name of your project, repo, author name, email,
and a few other bits of configuration. These are used to help
fill out the project details. We picked the ever so original ’foo’
to be our repo name. So cookiecutter created a simple Djan-
go project in the subdirectory ’foo’.
If you poke around in the ’foo’ project a bit, you’ll see
the other bits of configuration you were prompted for have
been templated into the files themselves along with sub-di-
rectories as necessary. This “template” is all defined at the
GitHub repo URL we used as the only argument when we
called `cookiecutter`. This example used a remote GitHub
repo as the template; however, note that you can use local
Django
[1] is built
around the
concept of reusable apps [2]:
self-contained packages that
provide re-usable features.
You can build your site by
composing these reusable
apps, together with your own site-specific code. There’s a
rich and varied ecosystem of reusable apps available for
your use—PyPI lists more than 8,000 Django apps [3]—but
how do you know which ones are best?
To help focus your app search, we’ve put together this list
of our five favorites. They are:
• Cookiecutter: the best way to start a new Django site. [4]
• Whitenoise: the best static asset server. [5]
• Django Rest Framework: the best way to write REST
APIs with Django. [6]
• Wagtail: the best Django-based content-management
system. [7]
• django-allauth: the best way to provide “social login”
(e.g., Twitter, Facebook, GitHub, etc). [8]
We also recommend you check out Django Packages [9],
a directory of reusable Django apps. Django Packages
organizes Django apps into “grids” that allow you to com-
pare similar packages and chose between them. You can
see which features are offered by each package, as well
as usage statistics. (For example, the grid for REST tools
[10] might help you understand why we recommend Django
REST Framework.)
Why should you trust us?
We’ve been using Django for longer than almost anyone.
Two of us (Frank and Jacob) worked at the Lawrence Jour-
nal-World [11] (birthplace of Django) before Django was re-
leased (and in fact helped make the open source release
happen). We’ve all spent the past eight years running a con-
sultancy that advises companies on how best to use Django.
5 favorite open source
Django packages
BY
JEFF TRIPLETT, JACOB KAPLAN-MOSS, AND FRANK WILES
Documents you may be interested
Documents you may be interested