Trying to build a server for ActivityPub that can handle all objects defined in the standard. I work on this project when I have free time and am motivated. This has not happened in a while, but maybe the code is useful for people interested in ActivityPub and in particular the go-fed/activity library.
What I Would Like
Current services like Mastodon or
Pleroma do a bit too much for my liking and
are difficult to install. I would like
fed to be easy to deploy and
self-host. The core service should be with only a minimal user interface,
leaving it up to the user how to interact with it.
I'm not sure if I will ever create something working. I do know that I want this kind of software; hosting a private ActivityPub instance for your own needs to way easier than it is right now.
Even this small prototype wouldn't work with the help of many open source projects. Some are directly included in this repository.
The code in this repository contains comments copied from the go-fed/activity project licensed under the following terms.
BSD 3-Clause License Copyright (c) 2018, go-fed All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The affected files are in the
This code contains icons from the Feather icon set licensed under the following terms.
The MIT License (MIT) Copyright (c) 2013-2017 Cole Bemis Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
The affected files, some of which were modified, are
like-active.svg like.svg repeat-active.svg repeat.svg reply-active.svg reply.svg external.svg send.svg inbox.svg warning.svg error.svg check.svg
There is no documentation for this package.
Source Files ¶
Implement something close to what the very cool package github.com/pkg/errors does, but also support embedding HTTP error codes in the returned errors.
|Implement something close to what the very cool package github.com/pkg/errors does, but also support embedding HTTP error codes in the returned errors.|