From 968c54505dc53a787967a87b4a6bcc2e2475cd47 Mon Sep 17 00:00:00 2001 From: Bobby <30593201+luciferreeves@users.noreply.github.com> Date: Fri, 27 Feb 2026 13:38:06 +0530 Subject: fresh start: archive old astro site, add nekoweb deploy pipeline --- .gitattributes | 1 - .github/workflows/deploy.yml | 40 - .gitignore | 27 +- README.md | 48 - astro.config.mjs | 13 - garden/index.html | 83 + integrations/neocities.mjs | 25 - package-lock.json | 5527 -------------------- package.json | 16 - public/images/districts/internal/arcadia.png | Bin 799 -> 0 bytes public/images/districts/internal/arles.png | Bin 649 -> 0 bytes public/images/districts/internal/hollywood.png | Bin 742 -> 0 bytes public/images/districts/internal/oxford.png | Bin 766 -> 0 bytes public/images/districts/internal/petsburg.png | Bin 1031 -> 0 bytes public/images/districts/internal/purgatory.png | Bin 1832 -> 0 bytes public/images/districts/internal/silicon.png | Bin 806 -> 0 bytes public/images/districts/internal/silver.png | Bin 720 -> 0 bytes public/images/districts/internal/stratford.png | Bin 662 -> 0 bytes public/images/districts/internal/tokyo.png | Bin 1413 -> 0 bytes public/images/internal/announcement.gif | Bin 962 -> 0 bytes public/images/internal/background.webp | Bin 940 -> 0 bytes public/images/internal/banner_backdrop.webp | Bin 97774 -> 0 bytes public/images/internal/divider.gif | Bin 1118 -> 0 bytes public/images/internal/favicon.png | Bin 3198 -> 0 bytes public/images/internal/new_announcement.gif | Bin 863 -> 0 bytes public/images/internal/pagoda.webp | Bin 17786 -> 0 bytes public/images/internal/search.webp | Bin 9530 -> 0 bytes public/images/internal/sidebar/2.gif | Bin 1834925 -> 0 bytes public/images/internal/sidebar/3.gif | Bin 779016 -> 0 bytes public/images/internal/sidebar/5.gif | Bin 1551783 -> 0 bytes public/images/internal/sidebar/7.gif | Bin 687975 -> 0 bytes public/images/internal/sidebar/default.gif | Bin 467622 -> 0 bytes public/images/internal/updates.gif | Bin 5660 -> 0 bytes scripts/deploy.sh | 128 + src/components/AnnouncementsMarqueeComponent.astro | 13 - src/components/DistrictCardComponent.astro | 12 - src/components/DistrictSiteComponent.astro | 54 - src/components/DistrictSiteResultComponent.astro | 53 - src/components/LeftSidebarComponent.astro | 31 - src/components/NavigationComponent.astro | 29 - src/components/NavigationComponentLink.astro | 8 - src/components/RightNavigationComponent.astro | 29 - src/components/RightNavigationComponentLink.astro | 7 - src/components/RightSidebarComponent.astro | 19 - src/components/SearchComponent.astro | 31 - src/components/SingleAnnouncementComponent.astro | 15 - src/data/announcements.ts | 24 - src/data/districts/arcadia.ts | 15 - src/data/districts/arles.ts | 3 - src/data/districts/districts.ts | 64 - src/data/districts/functions.ts | 58 - src/data/districts/hollywood.ts | 3 - src/data/districts/oxford.ts | 3 - src/data/districts/petsburg.ts | 3 - src/data/districts/purgatory.ts | 3 - src/data/districts/siliconValley.ts | 3 - src/data/districts/silverLake.ts | 3 - src/data/districts/stratfordUponAvon.ts | 3 - src/data/districts/tokyo.ts | 15 - src/data/districts/types.ts | 16 - src/layouts/Layout.astro | 39 - src/pages/_dynamicClasses.astro | 12 - src/pages/districts/[district].astro | 41 - src/pages/districts/[district]/[page].astro | 57 - src/pages/districts/index.astro | 18 - src/pages/index.astro | 22 - src/pages/not_found.astro | 7 - src/scripts/sidebarImage.ts | 30 - src/styles/global.css | 46 - tsconfig.json | 10 - 70 files changed, 215 insertions(+), 6492 deletions(-) delete mode 100644 .gitattributes delete mode 100644 .github/workflows/deploy.yml delete mode 100644 README.md delete mode 100644 astro.config.mjs create mode 100644 garden/index.html delete mode 100644 integrations/neocities.mjs delete mode 100644 package-lock.json delete mode 100644 package.json delete mode 100644 public/images/districts/internal/arcadia.png delete mode 100644 public/images/districts/internal/arles.png delete mode 100644 public/images/districts/internal/hollywood.png delete mode 100644 public/images/districts/internal/oxford.png delete mode 100644 public/images/districts/internal/petsburg.png delete mode 100644 public/images/districts/internal/purgatory.png delete mode 100644 public/images/districts/internal/silicon.png delete mode 100644 public/images/districts/internal/silver.png delete mode 100644 public/images/districts/internal/stratford.png delete mode 100644 public/images/districts/internal/tokyo.png delete mode 100644 public/images/internal/announcement.gif delete mode 100644 public/images/internal/background.webp delete mode 100644 public/images/internal/banner_backdrop.webp delete mode 100644 public/images/internal/divider.gif delete mode 100644 public/images/internal/favicon.png delete mode 100644 public/images/internal/new_announcement.gif delete mode 100644 public/images/internal/pagoda.webp delete mode 100644 public/images/internal/search.webp delete mode 100644 public/images/internal/sidebar/2.gif delete mode 100644 public/images/internal/sidebar/3.gif delete mode 100644 public/images/internal/sidebar/5.gif delete mode 100644 public/images/internal/sidebar/7.gif delete mode 100644 public/images/internal/sidebar/default.gif delete mode 100644 public/images/internal/updates.gif create mode 100755 scripts/deploy.sh delete mode 100644 src/components/AnnouncementsMarqueeComponent.astro delete mode 100644 src/components/DistrictCardComponent.astro delete mode 100644 src/components/DistrictSiteComponent.astro delete mode 100644 src/components/DistrictSiteResultComponent.astro delete mode 100644 src/components/LeftSidebarComponent.astro delete mode 100644 src/components/NavigationComponent.astro delete mode 100644 src/components/NavigationComponentLink.astro delete mode 100644 src/components/RightNavigationComponent.astro delete mode 100644 src/components/RightNavigationComponentLink.astro delete mode 100644 src/components/RightSidebarComponent.astro delete mode 100644 src/components/SearchComponent.astro delete mode 100644 src/components/SingleAnnouncementComponent.astro delete mode 100644 src/data/announcements.ts delete mode 100644 src/data/districts/arcadia.ts delete mode 100644 src/data/districts/arles.ts delete mode 100644 src/data/districts/districts.ts delete mode 100644 src/data/districts/functions.ts delete mode 100644 src/data/districts/hollywood.ts delete mode 100644 src/data/districts/oxford.ts delete mode 100644 src/data/districts/petsburg.ts delete mode 100644 src/data/districts/purgatory.ts delete mode 100644 src/data/districts/siliconValley.ts delete mode 100644 src/data/districts/silverLake.ts delete mode 100644 src/data/districts/stratfordUponAvon.ts delete mode 100644 src/data/districts/tokyo.ts delete mode 100644 src/data/districts/types.ts delete mode 100644 src/layouts/Layout.astro delete mode 100644 src/pages/_dynamicClasses.astro delete mode 100644 src/pages/districts/[district].astro delete mode 100644 src/pages/districts/[district]/[page].astro delete mode 100644 src/pages/districts/index.astro delete mode 100644 src/pages/index.astro delete mode 100644 src/pages/not_found.astro delete mode 100644 src/scripts/sidebarImage.ts delete mode 100644 src/styles/global.css delete mode 100644 tsconfig.json diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index 176a458..0000000 --- a/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -* text=auto diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 1bf71df..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Deploy to neocities - -# only run on changes to main. Use main or master depending on whatever your default branch is called. -on: - push: - branches: - - main - -concurrency: # prevent concurrent deploys doing strange things - group: deploy-to-neocities - cancel-in-progress: true - -jobs: - deploy: - runs-on: ubuntu-latest - - steps: - # The checkout step copies your repo into the action runner. Important! - - uses: actions/checkout@v4 - # Set up any tools and build steps here - # This example uses a Node.js toolchain to build a site - # If you don't need Node.js to build your site, you can omit this. - - name: Use Node.js - uses: actions/setup-node@v4 - with: - node-version: lts/* - # If you have a different build process, replace this with your own build steps - - name: Install deps and build - run: | - npm i - npm run build - # When the dist_dir is ready, deploy it to neocities - # Here we deploy the folder named `public` - - name: Deploy to neocities - uses: bcomnes/deploy-to-neocities@v3 - with: - api_key: ${{ secrets.NEOCITIES_API_TOKEN }} - cleanup: true - preview_before_deploy: true # print a deployment plan prior to waiting for files to upload. - dist_dir: dist diff --git a/.gitignore b/.gitignore index 00e79b6..ff5e349 100644 --- a/.gitignore +++ b/.gitignore @@ -1,27 +1,8 @@ -# build output -dist/ - -# generated types -.astro/ - -# dependencies node_modules/ - -# logs -npm-debug.log* -yarn-debug.log* -yarn-error.log* -pnpm-debug.log* - -# environment variables +dist/ .env -.env.production - -# macOS-specific files +.env.* .DS_Store - -# jetbrains setting folder .idea/ - -# vscode setting folder -.vscode/ \ No newline at end of file +.vscode/ +pagoda.*/ diff --git a/README.md b/README.md deleted file mode 100644 index ff19a3e..0000000 --- a/README.md +++ /dev/null @@ -1,48 +0,0 @@ -# Astro Starter Kit: Basics - -```sh -npm create astro@latest -- --template basics -``` - -[](https://stackblitz.com/github/withastro/astro/tree/latest/examples/basics) -[](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/basics) -[](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/basics/devcontainer.json) - -> π§βπ **Seasoned astronaut?** Delete this file. Have fun! - - - -## π Project Structure - -Inside of your Astro project, you'll see the following folders and files: - -```text -/ -βββ public/ -β βββ favicon.svg -βββ src/ -β βββ layouts/ -β β βββ Layout.astro -β βββ pages/ -β βββ index.astro -βββ package.json -``` - -To learn more about the folder structure of an Astro project, refer to [our guide on project structure](https://docs.astro.build/en/basics/project-structure/). - -## π§ Commands - -All commands are run from the root of the project, from a terminal: - -| Command | Action | -| :------------------------ | :----------------------------------------------- | -| `npm install` | Installs dependencies | -| `npm run dev` | Starts local dev server at `localhost:4321` | -| `npm run build` | Build your production site to `./dist/` | -| `npm run preview` | Preview your build locally, before deploying | -| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` | -| `npm run astro -- --help` | Get help using the Astro CLI | - -## π Want to learn more? - -Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat). diff --git a/astro.config.mjs b/astro.config.mjs deleted file mode 100644 index 4b450ff..0000000 --- a/astro.config.mjs +++ /dev/null @@ -1,13 +0,0 @@ -// @ts-check -import { defineConfig } from 'astro/config'; - -import tailwindcss from '@tailwindcss/vite'; -import neocitiesIntegration from './integrations/neocities.mjs'; - -// https://astro.build/config -export default defineConfig({ - integrations: [neocitiesIntegration()], - vite: { - plugins: [tailwindcss()] - } -}); \ No newline at end of file diff --git a/garden/index.html b/garden/index.html new file mode 100644 index 0000000..9d619ef --- /dev/null +++ b/garden/index.html @@ -0,0 +1,83 @@ + + +
+ + +-- under construction --
+a community for the small web
+[ check back soon ]
+{district.description}
-- Showing {currentPage} of {totalPages} pages. (Max {sitesPerPage} sites - per page, Showing {sites.length} sites) -
- {sites.map((site: Site) => ( -No sites found in this district yet.
- ) - } -Districts are collections of Neocities sites that share a common theme or interest. Each district has its own unique style and personality, and you can find a variety of sites to explore within each one. You can also find districts that are dedicated to specific topics, such as art, music, or gaming.
-Each district contains a curated list of sites that are related to the district's theme. You can explore these sites and discover new content that you may not have found otherwise. Districts are a great way to connect with other Neocities users who share your interests, and to find new sites to explore.
-Districts are constantly evolving, and new districts are being added all the time. If you have a site that you think would be a good fit for a district, check out the FAQ for more information on how to get your site added to a district.
-Welcome to Pagoda on Neocities! This is a project dedicated to provide a collection of resources and tools for the Neocities community. Pagoda is a hub for all things Neocities, where you can find avatars, backgrounds, blinkies, flags, stamps, and more. Pagoda also offers a variety of services to enhance your own Neocities site, like guestbooks, comments, and webrings. Whether you're a new user or a seasoned veteran, Pagoda has something for everyone.
-Additionally, you can also find guides to help you with efficiently running and maintaining your Neocities site. These guides cover a wide range of topics, from basic HTML and CSS to more advanced techniques. We also have Districts that you can explore, which are collections of Neocities sites that share a common theme or interest. Each district has its own unique style and personality, and you can find a variety of sites to explore within each one.
-Pagoda is constantly evolving, and always looking for new ways to improve and expand the project and its offerings. Any feedback or suggestions are always welcome! If you would like to contribute to Pagoda, or want to get your own site added or a district, or if you have any questions or concerns, please check out the FAQ for more information. -
-
-