GithubHelp home page GithubHelp logo

fishyspace's Introduction

Deploy to Neocities Template

This is a template for people who have no clue what they're doing. It uses Deploy to Neocities to allow you to edit your site on your desktop or anywhere else you can edit a Github repository.

How to use

  1. Make your own repository with this one as your template
  2. Name it something, I used my Neocities username
  3. Go to your project's Settings
  4. Look for the Security section on the left side
  5. Click Secrets and variables
  6. Click Actions
  7. Click the green button that says New repository secret
  8. Name it NEOCITIES_API_TOKEN
  9. Add your API token as the content of the secret (get it by going to https://neocities.org/settings/YOURUSERNAME#api_key)
  10. Upload your site's contents to your /public/ folder

Now, whenever you add or change something to your repository's "main" branch, it'll upload the changed stuff to your Neocities page!
Once it's working, if you want to be able to delete files on your site from your repository, go to your neocities.yml file at /.github/workflows/neocities.yml and change cleanup: false to cleanup: true.
Now you can edit your site through Github! You can use Github Desktop to edit it directly from your computer. If you want to use Node.js or any of that funky nonsense, check the Deploy to Neocities documentation. Remember to account for your default branch being named main or master.
If you need a working example, check my site's repository.

License

GNU GPLv3

fishyspace's People

Contributors

locklook avatar

Watchers

 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.