GithubHelp home page GithubHelp logo

anajsana / front-end-miniprojects Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 155 KB

a repo to store projects created for my front-end master

License: MIT License

CSS 35.36% JavaScript 32.37% HTML 32.26%

front-end-miniprojects's Introduction

WHOAMI ๐Ÿ‘‹

  • ๐Ÿ‘ฉโ€๐Ÿ’ป Project Manager at Linux Foundation's @todogroup Project | MSc in Data Science (2019 - 2020) and Front-End Development (2023 - 2024)
  • ๐Ÿ“ˆ Formerly at Bitergia ๐Ÿฆ‰ Software Development Analytics Firm
  • ๐ŸŒฑ Always learning Python, JavaScript, Website Development Digital Illustration and Japanese.
  • ๐Ÿ’ฌ Ask me about #DevRel, #OpenSource, #OSPO, #DataScience & #InnerSource
  • ๐Ÿ˜„ Pronouns: she/her
  • ๐Ÿ“ The DevRel Report
  • ๐Ÿ“ข Twitter | Dev.to | LinkedIn | [email protected]

Ana's GitHub stats

front-end-miniprojects's People

Contributors

anajsana avatar cpswan avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

cpswan xee5ch

front-end-miniprojects's Issues

Take repo name from GET parameter

Rather than fill in the form and press the button it's possible to pass the repo name as a GET parameter:

e.g. https://chris.swanz.net/front-end-miniprojects/security-api/?repo=github.com/atsign-foundation/at_server

This will allow projects to link to (and perhaps even embed) their own charts.

The example above has this additional JavaScript in index.html:

    <script type="text/javascript">
        function getURLParameter(e) {
            return decodeURI((new RegExp(e + "=(.+?)(&|$)").exec(location.search) || [, ""])[1]);
        }
        
        if (getURLParameter("repo") === "") {
            console.log("No URL param value found.");
        } else {
            document.getElementById('repoInput').value = getURLParameter("repo");
            document.getElementById('fetchButton').click();
        }
    </script>

Deploy this repo to GitHub pages

This will save folk from having to clone the repo and run it in their IDE or a web server.

Just deploying the main branch provides an OK experience, as GitHub pages uses the README from the main branch root. With a simple link from the section header to the security-api directory it's then possible to get into app (PR to follow).

Take a look at the pages generated from my fork at:

https://chris.swanz.net/front-end-miniprojects/
https://chris.swanz.net/front-end-miniprojects/security-api/

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.