Skip to content

Commit

Permalink
Add hello-nav-launcher extension
Browse files Browse the repository at this point in the history
- first publish
- feat: add raycast
- fix: modify types
- Update README.md
- Update README.md
- Update README.md
- doc: typo
- update ext version
- docs: update
- Update README.md
- Update README.md
- fix: package module index
- fix: build folder containing icons
- fix: add model type
- fix: update lock file
- feat: split model package
- Update README.md
- fix: use-effect deps add list
- fix: sidebar effect
- fix: sidebar effect
- fix: update workflows
- fix: update workflows
- fix: replace template env file
- fix: add type to effect deps
- update version
- update version
- fix: resize logo
- fix: adjust details
- feat: add go-top btn
- fix: sidebar hover effects
- fix: modify sidebar style
- feat: add sidebar
- feat: add xhs
- feat: update webext
- feat: add skypack
- Merge branch \'main\' of github.com:hello-nav/hello-nav
- feat: add apps
- chore(deps-dev): bump braces from 3.0.2 to 3.0.3 (raycast#68)
- feat: add layers
- docs: update readme
- Merge branch \'main\' of github.com:hello-nav/hello-nav
- feat: add apps
- Update README.md
- fix: app-back background transition
- refac: improved rendering performance for switching theme
- Update README.md
- Update README.md
- Update README.md
- feat: add gtag click event
- fix: title font display in safari
- doc: update banner
- update ext version
- docs: public doc
- fix: update description
- deat: build script support extesion zip
- fix: modify icon size
- style: improve UI style
- feat: add vue UIs
- fix: delete font style of cate title
- fix: revert font family
- docs: update readme
- Update README.md
- Merge branch \'main\' of github.com:hello-nav/hello-nav
- feat: add googlede
- Update README.md
- feat: support chrome extension
- fix: compressed images
- feat: autoprefixer css
- feat: add ai apps
- fix: modify title font size
- feat: favorite app supports order adjustment
- feat: add svelte-material-ui
- docs: update banner
- chore: fix footer text
- fix: encode filter key
- fix: add found app count display
- feat: add website apps
- fix: add jamstack apps
- feat: add svelte libs
- feat: add icon apps
- feat: add shiki & slidev
- fix: typo
- feat: suggest request app
- Update request-app.md
- Update issue templates
- feat: add rolldown & hone
- feat: remind to search on github if can\'t find the app
- fix: modify action bar style
- feat: support setting favorite apps (raycast#64)
- docs: update readme file of website repo
- fix: replacing empty prompts
- fix: update icons
- feat: add elysiajs raycast#63
- fix: reordering server app
- feat: add htmx
- fix: reordering of categories
- Update README.md
- Update README.md
- fix: compressed image
- feat: add Capacitor (raycast#62)
- docs: deployment in cloudflare
- fix: add darkInvert config
- feat: add ikun-ui & vue-vine
- fix: compressed image resource
- feat: add STDF
- fix: update gitlab
- feat: add iconify
- style: lint all files
- feat: add lit
- fix: adjust some logos
- fix: modify miniapp links
- update tauri link (raycast#61)
- feat: add UnoCSS
- docs: deployment in zeabur
- feat: add starlight
- update dark banner
- update banner
- feat: add mobbin
- fix: improve style
- fix: add google analytics
- feat: add baidu hm script
- fix: input clear btn
- fix: fix input status when setting value
- feat: improve theme style
- feat: add youtube
- add apps
- feat: add apps
- update readme
- feat: add UI apps
- update app logo
- feat: add openai & update app logo
- update logo
- update: next info
- feat: fix links & add app
- update angular
- fix: move design websites
- feat: add ui apps
- feat: add nuxt ui & modify nuxt logo
- feat: add design app
- feat: add ui app
- Update README.md
- Update homepage
- fix: app title font-size adaptive
- add vue-hooks-plus tabler
- build(deps-dev): bump json5 from 2.2.1 to 2.2.3 (raycast#53)
- build(deps-dev): bump vite from 2.9.13 to 2.9.16 (raycast#54)
- add react libs
- add ui libs
- Update homepage
- add icones
- fix: midify style
- fix: update pnpm lock file by pnpm@8.x
- zip image
- remove sapper
- update react icon
- update react homepage
- feat: add figma
- feat: add rspack, prisma, libuv & update icons
- style: modify cell hover style
- fix: modify app radius
- add rome
- update nuxt homepage
- add gitignore
- update app links
- fix: node homepage
- add turbo
- fix: invalid links
- add hippy
- fix: weex link
- add qwik
- add nodemon
- fix: remove text-shadow
- fix: express repo link
- opti images
- add cloud-ui & fish design & ossa
- fix: cate title display
- add weui
- add wujie
- add 花瓣 & 站酷
- add zig
- update deno logo
- add bun
- add testing-library
- add chakra
- add date-fns
- add remix
- add faker-js
- update iconfont logo
- add tinypng repository
- feat: add storybook
- udpate doc
- fix: yew icon
- fix: update CI
- feat: migration hello-nav
- init project
- init branch
  • Loading branch information
Heroor committed Aug 12, 2024
1 parent 967252c commit 69d9643
Show file tree
Hide file tree
Showing 9 changed files with 126 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extensions/hello-nav-launcher/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"root": true,
"extends": ["@raycast"]
}
10 changes: 10 additions & 0 deletions extensions/hello-nav-launcher/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules

# Raycast specific files
raycast-env.d.ts

# misc
.DS_Store
4 changes: 4 additions & 0 deletions extensions/hello-nav-launcher/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"printWidth": 120,
"singleQuote": false
}
5 changes: 5 additions & 0 deletions extensions/hello-nav-launcher/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Changelog

## [Initial release] - 2024-08-12

Publish Hello Nav
3 changes: 3 additions & 0 deletions extensions/hello-nav-launcher/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Hello Nav Launcher

Hello Nav Launcher on Raycast
Binary file added extensions/hello-nav-launcher/assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions extensions/hello-nav-launcher/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"$schema": "https://www.raycast.com/schemas/extension.json",
"name": "hello-nav-launcher",
"title": "Hello Nav",
"description": "Hello Nav Launcher",
"icon": "logo.png",
"author": "heroor",
"categories": [
"Web"
],
"license": "MIT",
"commands": [
{
"name": "index",
"title": "Hello Nav",
"subtitle": "Hello Nav Launcher",
"description": "Hello Nav Launcher",
"mode": "view"
}
],
"dependencies": {
"@hello-nav/model": "workspace:*",
"@raycast/api": "^1.55.1"
},
"devDependencies": {
"@raycast/eslint-config": "1.0.5"
},
"scripts": {
"build": "ray build -e dist",
"dev": "ray develop",
"fix-lint": "ray lint --fix",
"lint": "ray lint",
"publish": "pnpx @raycast/api@latest publish"
}
}
48 changes: 48 additions & 0 deletions extensions/hello-nav-launcher/src/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
import { useState } from "react";
import data from "@hello-nav/model";
import { ActionPanel, Action, List } from "@raycast/api";

const appList = data.reduce<AppItem[]>((res, item) => [...res, ...item.children], []);
type LinkKey = "homepage" | "repository";
type LinkType = { value: LinkKey; name: string };
const types: LinkType[] = [
{ value: "homepage", name: "Open Homepage" },
{ value: "repository", name: "Open GitHub" },
];

function Dropdown(props: { types: LinkType[]; onTypeChange: (value: LinkKey) => void }) {
return (
<List.Dropdown tooltip="Select Open Link" storeValue={true} onChange={(t) => props.onTypeChange(t as LinkKey)}>
<List.Dropdown.Section>
{props.types.map((item) => (
<List.Dropdown.Item key={item.value} title={item.name} value={item.value} />
))}
</List.Dropdown.Section>
</List.Dropdown>
);
}

export default function Command() {
const [type, setType] = useState<"homepage" | "repository">("homepage");
return (
<List
navigationTitle="Hello Nav"
searchBarPlaceholder="Search App"
searchBarAccessory={<Dropdown types={types} onTypeChange={setType} />}
>
{appList.map((item) => (
<List.Item
key={item.name}
title={item.name}
subtitle={item[type] || "None repository info"}
icon={{ source: "https://esm.sh/@hello-nav/model/dist/" + item.icon }}
actions={
<ActionPanel>
<Action.OpenInBrowser url={item[type] || item.homepage} />
</ActionPanel>
}
/>
))}
</List>
);
}
17 changes: 17 additions & 0 deletions extensions/hello-nav-launcher/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Node 16",
"include": ["src/**/*", "raycast-env.d.ts", "../../src/types/*.d.ts"],
"compilerOptions": {
"lib": ["es2022"],
"module": "es2022",
"target": "es2022",
"strict": true,
"isolatedModules": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"moduleResolution": "Node",
"jsx": "react-jsx"
}
}

0 comments on commit 69d9643

Please sign in to comment.