You are browsing as a guest. Sign up (or log in) to start making projects!

gos

  • 13 Devlogs
  • 18 Total hours

A better and faster way to structure your folder!

Ship #2

SHIP 2

This maybe long but read it please :)
I’ve improved gos by reading the reviews on the first ship and some little things that I’ve added my self

New features

  • I have made gos to make a .gos folder in the home directory of the user where he/she/they can store their custom templates using gosadd in the folder usr_Templates

  • I have added the gosadd command that uses -a flag with the folder name that you want to turn as a template. It simply stores the whole content of the folder and saves them under .gos/usr_Templates is the home directory

  • I have a added the gosget command that uses two flags: -p as the project name and the -e, where you give the template name that was stored in usr_Templates. It fetches the template from that folder and pastes it in the current directory with the name that you have entered i n -p

  • I have added a --list flag that shows all premade project structures

  • I have added gosdir that is a mkdir like command for making new directories. it user -m flag and the folder name of the new folder

READ THE README.md under “After Installation” section to find a way to make this commands shorter and more easy and faster to type , you’ll have to change things in .bashrc

Support

Gos works just fine on mac and linux and also wsl on windows but on windows you may lack the alias feature to make the commands shorter

Things you need to know!!

A lil knowledge about Linux and configuration script for shells like .bashrc will help you if you dont know about it.
It’ll be fine for other users(– ppl who say ‘i use arch btw’)

If your not able to figure out things or it dosen’t workout for you because it feels a little complicated then you can skip the project or use AI to help you with initialization

Things I found challenging

I’ve always felt challenging to make this simple project also simple to use for other users thats the reason we are using alias for now as it helps shorten the command( Very helpful is you downloaded the package form the AUR)

What im proud of

I’m proud of the thing that i didn’t quit while making this project or burnout because the largest part of my day goes to my intermidiate clg ( 11hrs and 30 mins , also adding the traveling time) because my parents thing a school that works for more time will teach me more things lol
I wanna work on big projects that are complex and fun but im not able to most of the times

How I wanna improve

I wanna improve my understanding about code and problem solving skills so that I’ll be able to work on those big and complex projects

THANKS FOR READING, LOVE Y”ALL = )

  • 9 devlogs
  • 13h
Try project → See source code →
Open comments for this post

2h 7m 8s logged

GOS DEVLOG 13

On the last devlog I had gos making .gos folder in the homedirectory of the user where it stores custom templates made by the user

What I have got new

I have added two new features:

  • gosadd
  • gosget

-[gosadd]

  • We use the this command to add any folder as a template that we can later use with a different command

  • We have got a -a flag to add to folder. Although we wont be using this flags because I have got a way to make it easier and faster to type in the terminal and have given the solution in README.md in [After installation]

-[goget]

  • We use this command to fetch the copied folder from .gos/usr_Templates to the current directory we are on

  • “gosget” uses two flags:
    -p –> We use this to give in the new name of the template folder that will be saved in the current directory
    -e –> We use this to get the correct template that we have stored

  • Both -p and -e default values are an empty string so passing a value in necessary for it to work

0
0
3
Open comments for this post

43m 55s logged

GOS DEVLOG 12

I’ve made it so that when you run the newest version 0.9.1 which I havent released yet. It automatically creates a .gos folder in the user’s home directory and it’ll be the place where is store custom templates made by the user

I still dont know

I’ve to figure out how do we walk through the current directory and store in the usr_Templates and somehow copy paste it when the user requests that specific template

Other

I still haven’t worked on the project properly due to my school. I currently have 9 hrs to figure out how we are going to move forward = )

0
0
63
Open comments for this post

34m 11s logged

GOS DEVLOG 11

I’ve read the reviews by you guys and have found out that:

  • Gos needs to have a way so that the user is able add their own templates

  • Few ppl also said that initializing a git repo when making a project will be very helpful

  • One review was about some bugs that he face in the tool I dont know what he had faced because the version that I had shipped was 0.6.5 and I’m currently working on 0.9.0. If anyone did face them too can you please tell me?

  • One guy asked me why did I name Gos as gos so for you:
    The name Gos can be broken down like this : D

Gos
"Go" --> The language 'Golang'
"s" --> from 'Structure'

The first name that I had thought for was Gostruc. But it felt too big to type in the terminal when compared to mkdir and tree

  • I’m also thinking about adding a tree like command in this project. Can you guys tell if I should do that ?

I really appretiate your reviews guys and I’ll be working on improving this project. Hoping that it stays a little relevant :(

– Bye

0
0
13
Open comments for this post

1h 20m 34s logged

GOS DEVLOG 10

I’ve added mkdir thingy to the project but it feels so useless lol = )

Idk where Im gonna take this project now lets see

– byeee

0
0
4
Open comments for this post

1h 4m 24s logged

GOS DEVLOG 9

Updates

  • I’ve added files support for Typescript

Now all three languages have proper boiler plates for their different Project types In the latest version of Gos0.8.5

What I want to change

  • As I’m not a pro 10x developer or something most of my code is repeated and I don’t know why but it doesn’t feel that right to me. So I’ll be thinking of a different approach for sometime

Things I wanna add

  • I’m thinking about gos should also initialize a Git repository when a user creates a project

  • I’m also thinking about adding JavaScript and C support to Gos

  • I wanna make adding new languages to the project a little easier if i don’t get too lazy to do that

  • I also wanna integrate default unix command like mkdir, tree to Gos. So that it feels more functional and less useless
    – byee :)

0
0
5
Open comments for this post

3h 14m 55s logged

GOS DEVLOG 8

Updates

  • I’ve added files to the project structure in Golang and Cpp
  • I’ve done it using Templates in templates/ dir
  • I’ve embeded the files into the binary using embed in Go
  • I’ve fixed the AUR problems and now it works perfectly

Now there is a proper boilerplate for each project type in both the
languages now

Next Plan

I’ll be adding files to Typescript project strucutres next

How to Update Gos

To update gos: -

  • yay -S gos-bin
  • Then when it asks Packages to Clean Build select All by typing A
    and Install it
  • It’ll be updated to the latest version

###Other things
Lol, when i used embed now it decreased the binary size from 2.24 mb
to 1.09 mb

I’ve also added v0.6.5.md for the voters of Ship#1 although I have
asked a reviewer if I can scrap that Ship and just make a new ship from
the new versions of Gos. Les see what happens

–Bye

0
0
5
Open comments for this post

1h 14m 4s logged

GOS DEVLOG 7

Features

  • I have finnay got the CD workflow working with the help of some research the old google way but as it was taking too much time I again tried using claude and it helped me do the work very quick!

  • I also added a --list flag to see the project structure types for all the languages supported buy gofie.

Issues I faced

  • One of the dumbest issues were that I was not updating .SRCINFO with the new PKGBUILD.
    Got that running easily

  • And other issue also happened with the url of my project as I had changed the name from [Gostruc] to [Gos] before linking it here the remote was set to the old url till now which was causing some error 128 with github actions

What I have learnt

  • I have learnt to work with github actions and goreleaser to automate the deployment of my little project Gos. Although I still get confused seeing the automation process becuase im not very well into it :

Note

  • Although Gos is available on the AUR(Arch User Repository) but I’ll never most likely recommend people using that way to install in on their systems cuz it will most of the times download the old version of gos ( Ofc it dosent happen all the time but ig there is a delay in my CD workflow)

  • I recommend using Go to download it (Atleast for now, i’m working for AUR :))

– byee

0
0
6
Open comments for this post

1h 15m 47s logged

GOS DEVLOG #6

(Lol im sorry im not good at devlogs :))

  • Yesterday I finnaly uploaded my package to the AUR (Arch User Repository)

  • You can download it by running:-

yay -S gos-bin
  • I’m now going to work on a CD for the project because man this deployment is very tiring (Im new and a noob) :)
0
0
6
Open comments for this post

1h 3m logged

GOS DEVLOG-5

  • I’ve added CI with a lil help from google and Claude

  • CD will be pretty useful when I push to a package manager

  • I’ve also wrote a proper quickstart and file and also added file strucutre to README.md

0
0
3
Ship #1

Intro

This is “gos” a CLi tool that helps you strucutre your projects.
This is still in it’s bare bones phase but feels a lil complete for a small hobby project

Challenging part

The parts I have found challenging are to understand where and how to handle errors. I’ve still not fixed some of them.

Not sure

To use and try this project you must have installed go on your system
And as i work with linux i dont think this will be able to be used in windows pc’s. Dont know about wsl tho.

Installation

Note :- Need go to be installed

go install github.com/lxsh-S/gos@latest
  • 4 devlogs
  • 6h
  • 7.56x multiplier
  • 42 Stardust
Try project → See source code →
Open comments for this post

22m 14s logged

Gos

I have worked on fixing some bugs but had managed to make it even worse so had to scrap that idea and jsut post a demo

TL;DR of [gos] as of today

A simple CLI project that can be used for project structuring

It supports project strucutres for 3 languages as of now:

Typescript
Golang
C++

byee :)

0
0
7
Open comments for this post

45m 46s logged

Finnaly!!
Fixed that annoying issue of projects with wrong types but still having standard strucutre
Nothing much
–byee :)

Ohh wait

How I fixed it

  • The issue was because i used switch cases butt never returned any error from the project blueprint
  • After returningg an error and normally handling it in create folder
  • As this type of errors can also occur in language flag too I have fixed it by making the default switch as an error
0
0
9
Open comments for this post

2h 32m 1s logged

Gos

I have been working on this project for 4 days today
But because this is a simple project I have not experienced much new things (I don’t have enough time to build large projects because of my school and exams; If I do I think I’m gonna burnout :))

Updates

  • I have added support for different languages (cpp, go, typescript)

  • Also, added project structure types in each language:

Go  -> API, Web  and Standard project types

TypeScript -> API, NextJS, Library and Standard project types

Cpp -> App/Game, Library and Standard project types

This project till now has helped me:

  • Learn how ‘go install’ works as I faced problems with how it’s cache works

  • Learn the use of tags in github

Signing out….
– lxsh-S

0
0
2
Open comments for this post

1h 54m 19s logged

Mann I lovee building CLI’s!!
Maybe because i’m too lazy to go into web dev or smtg

Anyways, This is gos whose function is build a project structure with one command. Currently it only builds a proper folder structure for Go projects.

I’m looking forward to add other type too

There’s not much to say because it’s a simple and easy project but i’m building this because i’ll be using it too

Man..it’s getting harder for me to manage my 11th, gym and coding. Hope I don’t have another burnout

0
0
7

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…