8000 Implement operator source minting API endpoint · Issue #30 · O1ahmad/operator · GitHub
[go: up one dir, main page]

Skip to content

Implement operator source minting API endpoint #30

Open

Description

@O1ahmad

Based on O1's open infrastructure/operations managed services framework for leveraging the collective technical expertise and insights of project communities worldwide, there is an interesting idea surrounding converting automation/Infrastructure-as-code solutions (such as community developed Ansible roles) into NFTs which not only track ownership, contributions to and usage of these solutions but also incentivize development and promote the recognition/awareness of the value they provide.

To contribute towards this idea/effort, it makes sense to experiment with different ways in which these IaC solutions can be tokenized. To start, one thought is to create a collage of the source of these solutions which dynamically updates based on modifications made. The operator service seems like a decent place to initially support this functionality and should expose an endpoint which takes a role url and returns an image representing a collage of its source.

Activity

  1. self-assigned this
    on Nov 8, 2021
  2. O1ahmad commented on Nov 8, 2021

    @O1ahmad
    OwnerAuthor

    Use PIL/pillow to combine files into a collage.

  3. transferred this issue fromO1ahmad/stackson Nov 8, 2021
  4. O1ahmad commented on Nov 10, 2021

    @O1ahmad
    OwnerAuthor

    Prior to creating the source code collage, all files need to be converted into a supported image file by PIL. Follow the steps below to handle the conversion:

    1. Install ImageMagick
    2. update ImageMagick policy to allow for read|write of all file types
    3. execute convert -size 720x720 xc:white -font FreeMono -pointsize 12 -fill black -annotate +15+15 @<input-file> <output-img>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    0