Giter Site home page Giter Site logo

arweave-hackathon's Introduction

arsync🚀
⭐️ CI/CD pipeline for arweave ⭐️

No more deployment headaches! ARSync's streamlined CI/CD pipeline makes updating your ARDrive hosted websites a walk in the park. home

About arsync

Welcome to arsync, your ultimate solution for effortless Continuous Integration and Continuous Deployment (CI/CD) of ardrive hosted websites🤯. We understand the challenges that developers face when it comes to maintaining seamless updates and deployments for their ardrive-hosted projects 🫂. With ARSync, we've revolutionized the process🤩, making it easier than ever to keep your websites up-to-date and running smoothly.😉

How to Build

Hosting site

Before you try to run the code, you have to set the environment variables in your github-login and hosting-website

VITE_GITHUB_CLIENT_ID='YOUR_CLIENT_ID'
VITE_GITHUB_CLIENT_SECRET='YOUR_CLIENT_SECRET'
VITE_GITHUB_REDIRECT_URI='http://localhost:5173/'

To run the code in your localhost, you first have to run the server in your localhost.

To run the server in your localhost run

  cd github-login
  node server.js

To run the frontend run

   cd ..
   cd hosting-website
   npm run dev

Congrats, The Application is running in your localhost.

To access the appliction go to

  localhost:5173

How to use

GitHub Login

Authenticate using your GitHub account where your project is located.

home

AddNew

You now have visibility into the projects you've deployed, along with an "Add New" button located in the upper-right corner.

To initiate the deployment process for a desired project, simply click on the "Add New" button and make your selection.

home

Import

You now have the ability to view all of your GitHub repositories within the platform.

Next, proceed to import the specific repository that you intend to deploy.

home home

ardrive login

Connect with your ardrive Account to complete your website deployment.

License

Fill the form that appears and click create

Links

Congrats 🥳🥳, You have successfully deployed your website with the help of ARSync.

You now got the link for your website.

HOW IT WORKS?

The highlevel working of arsync application is described in the below flowchart.

)

when ever the code is pushed following functions are executed

  • a new workflow is inserted into the users github
  • python script is injected into his github
  • workflow runs the python script which then connects with ardrive and pushes it

Arsync

Arsync is the managing layer that interacts with all the components to create a seamless workflow experience

  • it manages Environment variables
  • securely connects ardrive and github
  • there is no virtual server used , hence its completely decentralized ignoring the web2 github
  • managing of the licenses are also done here

python script

  • manages the build files in github actions
  • pushes the build file to ardrive
  • creates license
  • creates manifests and uploads the hosted link into the github about section🚀

What's next ?

  • We are trying to add support for environment variables.
  • We can add testing/checking the builds for vulnerabilities and security issues before deploying them directly in arweave.
  • We would like to support for more range of frameworks like VueJS, AngularJS etc. and even provide support for database.

arweave-hackathon's People

Contributors

jashwanth0712 avatar rp-ram avatar malviyahimanshu avatar m-sasank avatar manisrivas avatar

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.