modulepackage
0.2.0-alpha
Repository: https://github.com/openglamtools/artsparts.git
Documentation: pkg.go.dev
# README
ArtsParts
ArtsParts is a funny way to share your favorite part of an artwork.
The app uses twitter for login or sharing picture. All the picture parts are not stored localy. Everything will be uploaded to twitter and stored there. All the results are then just availiable over the tweets of the user.
Not only the user needs a own account also the running app needs to be registered at twitter.
Also every artwork is going to be tweeted by the app over the connected twitter account. At this point it is important to check that the license of the uploaded pictures allow it to share them over the twitter account.
Test picture
The test picture is provided by Stabi Hamburg under a open source license.
# Functions
No description provided by the author
NewApp creates a new app by a given filepath.
NewArtwork loads an artwork configuration and return a pointer.
NewCollection loads the configuration and creates a pointer to the new collection.
NewInstitution takes a filepath and loads the configuration.
# Constants
ConfFileName is the static value for all yaml conf files.
DataFileName defines the filename where data is stored.
TimeStampLayout defines the time layout string for the timestampconst TimeStampLayout = "200601021504 -0700 MST".
# Structs
App wraps the whole logic for a simple communication from the http handlers.
Artwork is one element like for example a picture.
Collection represents a group of artworks, which are presented together.
Institution defines a museum or another partner of the site, which offers collections of digital art images.
Part represents a part, which is tweeted from artsparts all coordinates are relative to get the pixel the values have to be multiplied with the image size.
No description provided by the author
User of the artsparts page.
# Type aliases
Institutions holds the complete logic of the artsparts site.
No description provided by the author