GithubHelp home page GithubHelp logo

butterfly's Introduction

Spanish

Butterfly es el motor de blogging utilizado en el blog IOKode. Código abierto.

Butterfly se compone de dos proyectos .NET, el primero de ellos, llamado IOKode.Butterfly.GitHubService es una biblioteca de clases que obtiene las entradas del repositorio iokode/blog mediante el API GraphQL de GitHub.

El segundo proyecto, llamado simplemente IOKode.Butterfly es una aplicación web ASP.NET Core que utiliza la plantilla del repositorio iokode/template y la rellena con los datos obtenidos a través de IOKode.Butterfly.GitHubService.

Tanto la plantilla como el servicio están diseñados específicamente para IOKode, con rutas y consultas hardcodeadas a los repositorios de IOKode, por lo que aunque es posible utilizarlo para otro blog, requeriría trabajo de adaptación.

Debido a que la mascota del blog es una mariposa, he decidido nombrar este proyecto como Butterfly.

English

Butterfly is the blogging engine used in IOKode blog. Open source.

Buttefly consists of two .NET projects, the first one, IOKode.Butterfly.GitHubService is a class library that get post entries from iokode/blog repository using the GitHub GraphQL API.

The second one, IOKode.Butterfly is an ASP.NET Core web application that uses the template from iokode/template repository and fill data from IOKode.Butterfly.GitHubService.

You can use the service and the template in any project, but both are designed to be used in IOKode, with some queries and routes hardcoded.

Butterfly name comes from the IOKode's pet, that is a butterfly.

butterfly's People

Contributors

montyclt avatar

Stargazers

 avatar

Watchers

 avatar

butterfly's Issues

Change publishing format

Markdown has some limitations about embedding content or making alerts. Investigate about alternatives (maybe AsciiDoc?) and update publishing format.

While GitHub Discussions only allow Markdown format, I should let GH Discussions only for comments, and publish the content inside the repository. This will allow someone to make pull requests fixing content (cc/ @JaviAibar).

Store blog in repository code instead of GitHub Discussions

Remain discussions for comments, but store post text inside repository code.

Advantages:

  • GitHub repository code will not be indexed like the entry, helping me to index the blog instead of GitHub discussions.
  • Allow pull-request to fix text in the post.
  • Allow use other formats like asciidoc instead of only markdown.

Response cache

When a blog request occurs, Butterfly queries GitHub API and wait the API response, then it composes the HTML document and it sends the blog response.

Querying GitHub API takes time, so we Butterfly should cache the response and avoid querying GitHub API multiple times to get the same data.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.