You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Implement operator source minting API endpoint #30
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.
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:
Activity
O1ahmad commentedon Nov 8, 2021
Use PIL/pillow to combine files into a collage.
O1ahmad commentedon Nov 10, 2021
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:
read|writeof all file typesconvert -size 720x720 xc:white -font FreeMono -pointsize 12 -fill black -annotate +15+15 @<input-file> <output-img>