diff --git a/.golangci.yaml b/.golangci.yaml index a687e02..3d9984e 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -29,7 +29,7 @@ issues: linters-settings: goimports: # Put imports beginning with prefix after 3rd-party packages. - local-prefixes: github.com/boojack/slash + local-prefixes: github.com/yourselfhosted/slash revive: # Default to run all linters so that new rules in the future could automatically be added to the static check. enable-all-rules: true diff --git a/README.md b/README.md index b440f87..b2c956e 100644 --- a/README.md +++ b/README.md @@ -6,13 +6,13 @@ 🧩 Browser extension(v1.0.0) now available! - [Chrome Web Store](https://chrome.google.com/webstore/detail/slash/ebaiehmkammnacjadffpicipfckgeobg), [Firefox Add-on](https://addons.mozilla.org/firefox/addon/your-slash/) -Getting started with Slash's [Shortcuts](https://github.com/boojack/slash/blob/main/docs/getting-started/shortcuts.md) and [Collections](https://github.com/boojack/slash/blob/main/docs/getting-started/collections.md). +Getting started with Slash's [Shortcuts](https://github.com/yourselfhosted/slash/blob/main/docs/getting-started/shortcuts.md) and [Collections](https://github.com/yourselfhosted/slash/blob/main/docs/getting-started/collections.md). Live Demo • Discord
 @@ -38,7 +38,7 @@ That's why we developed Slash, a solution that transforms these links into easil docker run -d --name slash -p 5231:5231 -v ~/.slash/:/var/opt/slash yourselfhosted/slash:latest ``` -Learn more in [Self-hosting Slash with Docker](https://github.com/boojack/slash/blob/main/docs/install.md). +Learn more in [Self-hosting Slash with Docker](https://github.com/yourselfhosted/slash/blob/main/docs/install.md). ## Browser Extension @@ -46,7 +46,7 @@ Slash provides a browser extension to help you use your shortcuts in the search  -Learn more in [The Browser Extension of Slash](https://github.com/boojack/slash/blob/main/docs/install-browser-extension.md). +Learn more in [The Browser Extension of Slash](https://github.com/yourselfhosted/slash/blob/main/docs/install-browser-extension.md). ### Chromium based browsers diff --git a/api/v1/analytics.go b/api/v1/analytics.go index e366d0b..16fba55 100644 --- a/api/v1/analytics.go +++ b/api/v1/analytics.go @@ -10,8 +10,8 @@ import ( "github.com/mssola/useragent" "golang.org/x/exp/slices" - "github.com/boojack/slash/server/metric" - "github.com/boojack/slash/store" + "github.com/yourselfhosted/slash/server/metric" + "github.com/yourselfhosted/slash/store" ) type ReferenceInfo struct { diff --git a/api/v1/auth.go b/api/v1/auth.go index 3fc192e..056146f 100644 --- a/api/v1/auth.go +++ b/api/v1/auth.go @@ -11,11 +11,11 @@ import ( "github.com/pkg/errors" "golang.org/x/crypto/bcrypt" - "github.com/boojack/slash/api/auth" - storepb "github.com/boojack/slash/proto/gen/store" - "github.com/boojack/slash/server/metric" - "github.com/boojack/slash/server/service/license" - "github.com/boojack/slash/store" + "github.com/yourselfhosted/slash/api/auth" + storepb "github.com/yourselfhosted/slash/proto/gen/store" + "github.com/yourselfhosted/slash/server/metric" + "github.com/yourselfhosted/slash/server/service/license" + "github.com/yourselfhosted/slash/store" ) type SignInRequest struct { diff --git a/api/v1/jwt.go b/api/v1/jwt.go index 545e62f..6d03a6d 100644 --- a/api/v1/jwt.go +++ b/api/v1/jwt.go @@ -9,10 +9,10 @@ import ( "github.com/labstack/echo/v4" "github.com/pkg/errors" - "github.com/boojack/slash/api/auth" - "github.com/boojack/slash/internal/util" - storepb "github.com/boojack/slash/proto/gen/store" - "github.com/boojack/slash/store" + "github.com/yourselfhosted/slash/api/auth" + "github.com/yourselfhosted/slash/internal/util" + storepb "github.com/yourselfhosted/slash/proto/gen/store" + "github.com/yourselfhosted/slash/store" ) const ( diff --git a/api/v1/redirector.go b/api/v1/redirector.go index 187d715..4475ada 100644 --- a/api/v1/redirector.go +++ b/api/v1/redirector.go @@ -11,9 +11,9 @@ import ( "github.com/labstack/echo/v4" "github.com/pkg/errors" - storepb "github.com/boojack/slash/proto/gen/store" - "github.com/boojack/slash/server/metric" - "github.com/boojack/slash/store" + storepb "github.com/yourselfhosted/slash/proto/gen/store" + "github.com/yourselfhosted/slash/server/metric" + "github.com/yourselfhosted/slash/store" ) func (s *APIV1Service) registerRedirectorRoutes(g *echo.Group) { diff --git a/api/v1/shortcut.go b/api/v1/shortcut.go index 9047620..b7c2ff5 100644 --- a/api/v1/shortcut.go +++ b/api/v1/shortcut.go @@ -10,10 +10,10 @@ import ( "github.com/labstack/echo/v4" "github.com/pkg/errors" - "github.com/boojack/slash/internal/util" - storepb "github.com/boojack/slash/proto/gen/store" - "github.com/boojack/slash/server/metric" - "github.com/boojack/slash/store" + "github.com/yourselfhosted/slash/internal/util" + storepb "github.com/yourselfhosted/slash/proto/gen/store" + "github.com/yourselfhosted/slash/server/metric" + "github.com/yourselfhosted/slash/store" ) // Visibility is the type of a shortcut visibility. diff --git a/api/v1/user.go b/api/v1/user.go index c516fd4..7370199 100644 --- a/api/v1/user.go +++ b/api/v1/user.go @@ -10,10 +10,10 @@ import ( "github.com/pkg/errors" "golang.org/x/crypto/bcrypt" - "github.com/boojack/slash/internal/util" - "github.com/boojack/slash/server/metric" - "github.com/boojack/slash/server/service/license" - "github.com/boojack/slash/store" + "github.com/yourselfhosted/slash/internal/util" + "github.com/yourselfhosted/slash/server/metric" + "github.com/yourselfhosted/slash/server/service/license" + "github.com/yourselfhosted/slash/store" ) const ( diff --git a/api/v1/v1.go b/api/v1/v1.go index cd9f085..db1826b 100644 --- a/api/v1/v1.go +++ b/api/v1/v1.go @@ -3,9 +3,9 @@ package v1 import ( "github.com/labstack/echo/v4" - "github.com/boojack/slash/server/profile" - "github.com/boojack/slash/server/service/license" - "github.com/boojack/slash/store" + "github.com/yourselfhosted/slash/server/profile" + "github.com/yourselfhosted/slash/server/service/license" + "github.com/yourselfhosted/slash/store" ) type APIV1Service struct { diff --git a/api/v1/workspace.go b/api/v1/workspace.go index ef218b5..b2630ef 100644 --- a/api/v1/workspace.go +++ b/api/v1/workspace.go @@ -6,9 +6,9 @@ import ( "github.com/labstack/echo/v4" - storepb "github.com/boojack/slash/proto/gen/store" - "github.com/boojack/slash/server/profile" - "github.com/boojack/slash/store" + storepb "github.com/yourselfhosted/slash/proto/gen/store" + "github.com/yourselfhosted/slash/server/profile" + "github.com/yourselfhosted/slash/store" ) type WorkspaceProfile struct { diff --git a/api/v2/acl.go b/api/v2/acl.go index 36306b2..da4d5a5 100644 --- a/api/v2/acl.go +++ b/api/v2/acl.go @@ -12,10 +12,10 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" - "github.com/boojack/slash/api/auth" - "github.com/boojack/slash/internal/util" - storepb "github.com/boojack/slash/proto/gen/store" - "github.com/boojack/slash/store" + "github.com/yourselfhosted/slash/api/auth" + "github.com/yourselfhosted/slash/internal/util" + storepb "github.com/yourselfhosted/slash/proto/gen/store" + "github.com/yourselfhosted/slash/store" ) // ContextKey is the key type of context value. diff --git a/api/v2/auth_service.go b/api/v2/auth_service.go index fad20af..af6d006 100644 --- a/api/v2/auth_service.go +++ b/api/v2/auth_service.go @@ -12,12 +12,12 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" - "github.com/boojack/slash/api/auth" - apiv2pb "github.com/boojack/slash/proto/gen/api/v2" - storepb "github.com/boojack/slash/proto/gen/store" - "github.com/boojack/slash/server/metric" - "github.com/boojack/slash/server/service/license" - "github.com/boojack/slash/store" + "github.com/yourselfhosted/slash/api/auth" + apiv2pb "github.com/yourselfhosted/slash/proto/gen/api/v2" + storepb "github.com/yourselfhosted/slash/proto/gen/store" + "github.com/yourselfhosted/slash/server/metric" + "github.com/yourselfhosted/slash/server/service/license" + "github.com/yourselfhosted/slash/store" ) func (s *APIV2Service) SignIn(ctx context.Context, request *apiv2pb.SignInRequest) (*apiv2pb.SignInResponse, error) { diff --git a/api/v2/collection_service.go b/api/v2/collection_service.go index 5bac48f..e0294f4 100644 --- a/api/v2/collection_service.go +++ b/api/v2/collection_service.go @@ -8,11 +8,11 @@ import ( "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/timestamppb" - apiv2pb "github.com/boojack/slash/proto/gen/api/v2" - storepb "github.com/boojack/slash/proto/gen/store" - "github.com/boojack/slash/server/metric" - "github.com/boojack/slash/server/service/license" - "github.com/boojack/slash/store" + apiv2pb "github.com/yourselfhosted/slash/proto/gen/api/v2" + storepb "github.com/yourselfhosted/slash/proto/gen/store" + "github.com/yourselfhosted/slash/server/metric" + "github.com/yourselfhosted/slash/server/service/license" + "github.com/yourselfhosted/slash/store" ) func (s *APIV2Service) ListCollections(ctx context.Context, _ *apiv2pb.ListCollectionsRequest) (*apiv2pb.ListCollectionsResponse, error) { diff --git a/api/v2/common.go b/api/v2/common.go index bfbd327..7d3374c 100644 --- a/api/v2/common.go +++ b/api/v2/common.go @@ -1,8 +1,8 @@ package v2 import ( - apiv2pb "github.com/boojack/slash/proto/gen/api/v2" - "github.com/boojack/slash/store" + apiv2pb "github.com/yourselfhosted/slash/proto/gen/api/v2" + "github.com/yourselfhosted/slash/store" ) func convertRowStatusFromStore(rowStatus store.RowStatus) apiv2pb.RowStatus { diff --git a/api/v2/shortcut_service.go b/api/v2/shortcut_service.go index 00d37f2..23429c4 100644 --- a/api/v2/shortcut_service.go +++ b/api/v2/shortcut_service.go @@ -14,10 +14,10 @@ import ( "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/types/known/timestamppb" - apiv2pb "github.com/boojack/slash/proto/gen/api/v2" - storepb "github.com/boojack/slash/proto/gen/store" - "github.com/boojack/slash/server/metric" - "github.com/boojack/slash/store" + apiv2pb "github.com/yourselfhosted/slash/proto/gen/api/v2" + storepb "github.com/yourselfhosted/slash/proto/gen/store" + "github.com/yourselfhosted/slash/server/metric" + "github.com/yourselfhosted/slash/store" ) func (s *APIV2Service) ListShortcuts(ctx context.Context, _ *apiv2pb.ListShortcutsRequest) (*apiv2pb.ListShortcutsResponse, error) { diff --git a/api/v2/subscription_service.go b/api/v2/subscription_service.go index 0e67747..7c4350e 100644 --- a/api/v2/subscription_service.go +++ b/api/v2/subscription_service.go @@ -6,7 +6,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - apiv2pb "github.com/boojack/slash/proto/gen/api/v2" + apiv2pb "github.com/yourselfhosted/slash/proto/gen/api/v2" ) func (s *APIV2Service) GetSubscription(ctx context.Context, _ *apiv2pb.GetSubscriptionRequest) (*apiv2pb.GetSubscriptionResponse, error) { diff --git a/api/v2/user_service.go b/api/v2/user_service.go index a7553d1..08fd100 100644 --- a/api/v2/user_service.go +++ b/api/v2/user_service.go @@ -12,11 +12,11 @@ import ( "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/timestamppb" - "github.com/boojack/slash/api/auth" - apiv2pb "github.com/boojack/slash/proto/gen/api/v2" - storepb "github.com/boojack/slash/proto/gen/store" - "github.com/boojack/slash/server/service/license" - "github.com/boojack/slash/store" + "github.com/yourselfhosted/slash/api/auth" + apiv2pb "github.com/yourselfhosted/slash/proto/gen/api/v2" + storepb "github.com/yourselfhosted/slash/proto/gen/store" + "github.com/yourselfhosted/slash/server/service/license" + "github.com/yourselfhosted/slash/store" ) func (s *APIV2Service) ListUsers(ctx context.Context, _ *apiv2pb.ListUsersRequest) (*apiv2pb.ListUsersResponse, error) { diff --git a/api/v2/user_setting_service.go b/api/v2/user_setting_service.go index fca8dfc..143c9bb 100644 --- a/api/v2/user_setting_service.go +++ b/api/v2/user_setting_service.go @@ -7,9 +7,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - apiv2pb "github.com/boojack/slash/proto/gen/api/v2" - storepb "github.com/boojack/slash/proto/gen/store" - "github.com/boojack/slash/store" + apiv2pb "github.com/yourselfhosted/slash/proto/gen/api/v2" + storepb "github.com/yourselfhosted/slash/proto/gen/store" + "github.com/yourselfhosted/slash/store" ) func (s *APIV2Service) GetUserSetting(ctx context.Context, request *apiv2pb.GetUserSettingRequest) (*apiv2pb.GetUserSettingResponse, error) { diff --git a/api/v2/v2.go b/api/v2/v2.go index 9c6c6c4..839fdb3 100644 --- a/api/v2/v2.go +++ b/api/v2/v2.go @@ -11,10 +11,10 @@ import ( "google.golang.org/grpc/credentials/insecure" "google.golang.org/grpc/reflection" - apiv2pb "github.com/boojack/slash/proto/gen/api/v2" - "github.com/boojack/slash/server/profile" - "github.com/boojack/slash/server/service/license" - "github.com/boojack/slash/store" + apiv2pb "github.com/yourselfhosted/slash/proto/gen/api/v2" + "github.com/yourselfhosted/slash/server/profile" + "github.com/yourselfhosted/slash/server/service/license" + "github.com/yourselfhosted/slash/store" ) type APIV2Service struct { diff --git a/api/v2/workspace_service.go b/api/v2/workspace_service.go index 4ce7f10..986bc8e 100644 --- a/api/v2/workspace_service.go +++ b/api/v2/workspace_service.go @@ -6,9 +6,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - apiv2pb "github.com/boojack/slash/proto/gen/api/v2" - storepb "github.com/boojack/slash/proto/gen/store" - "github.com/boojack/slash/store" + apiv2pb "github.com/yourselfhosted/slash/proto/gen/api/v2" + storepb "github.com/yourselfhosted/slash/proto/gen/store" + "github.com/yourselfhosted/slash/store" ) func (s *APIV2Service) GetWorkspaceProfile(ctx context.Context, _ *apiv2pb.GetWorkspaceProfileRequest) (*apiv2pb.GetWorkspaceProfileResponse, error) { diff --git a/bin/slash/main.go b/bin/slash/main.go index 81a2d78..a25e84b 100644 --- a/bin/slash/main.go +++ b/bin/slash/main.go @@ -13,12 +13,12 @@ import ( "go.uber.org/zap" _ "modernc.org/sqlite" - "github.com/boojack/slash/internal/log" - "github.com/boojack/slash/server" - "github.com/boojack/slash/server/metric" - "github.com/boojack/slash/server/profile" - "github.com/boojack/slash/store" - "github.com/boojack/slash/store/db" + "github.com/yourselfhosted/slash/internal/log" + "github.com/yourselfhosted/slash/server" + "github.com/yourselfhosted/slash/server/metric" + "github.com/yourselfhosted/slash/server/profile" + "github.com/yourselfhosted/slash/store" + "github.com/yourselfhosted/slash/store/db" ) const ( @@ -134,7 +134,7 @@ func printGreetings() { fmt.Printf("Version %s has been started on port %d\n", serverProfile.Version, serverProfile.Port) println("---") println("See more in:") - fmt.Printf("👉GitHub: %s\n", "https://github.com/boojack/slash") + fmt.Printf("👉GitHub: %s\n", "https://github.com/yourselfhosted/slash") println("---") } diff --git a/docs/install.md b/docs/install.md index 1b50f0c..06f7b32 100644 --- a/docs/install.md +++ b/docs/install.md @@ -44,7 +44,7 @@ Assume that docker compose is deployed in the `/opt/slash` directory. ```bash mkdir -p /opt/slash && cd /opt/slash -curl -#LO https://github.com/boojack/slash/raw/main/docker-compose.yml +curl -#LO https://github.com/yourselfhosted/slash/raw/main/docker-compose.yml docker compose up -d ``` diff --git a/frontend/extension/src/components/CreateShortcutsButton.tsx b/frontend/extension/src/components/CreateShortcutsButton.tsx index 3dca7bf..69ff494 100644 --- a/frontend/extension/src/components/CreateShortcutsButton.tsx +++ b/frontend/extension/src/components/CreateShortcutsButton.tsx @@ -150,7 +150,7 @@ const CreateShortcutsButton = () => { diff --git a/frontend/extension/src/options.tsx b/frontend/extension/src/options.tsx index f1b7349..7aeb7d7 100644 --- a/frontend/extension/src/options.tsx +++ b/frontend/extension/src/options.tsx @@ -70,7 +70,7 @@ const IndexOptions = () => { diff --git a/frontend/web/src/components/AboutDialog.tsx b/frontend/web/src/components/AboutDialog.tsx index bcb53eb..0ae3a7e 100644 --- a/frontend/web/src/components/AboutDialog.tsx +++ b/frontend/web/src/components/AboutDialog.tsx @@ -25,7 +25,7 @@ const AboutDialog: React.FC